Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 18:33:10 +0100
From:      Marc van Kempen <marc@bowtie.nl>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        java@freebsd.org
Subject:   Re: Mozilla plugin and native JDK 1.3.1p6.
Message-ID:  <3C6FE956.1BE2E200@bowtie.nl>
References:  <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us>  <20020217003431.E60480@shale.csir.co.za> <1013903067.59818.12.camel@zircon.zircon.seattle.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Kelsey wrote:
> 
> On Sat, 2002-02-16 at 14:34, Jeremy Lea wrote:
> > On Sat, Feb 16, 2002 at 01:23:20PM -0800, Joe Kelsey wrote:
> > > Did you compile Mozilla with debugging enabled?  I have seen this
> > > error occur consistently whenever I tried compileing Mozilla with
> > > debugging enabled, but disappear whenever I turn off debugging.  It is
> > > very frustrating, as I was trying to track down a plugin error on the
> > > Mozilla side, but this error prevented the oji plugin from loading, so
> > > I was never able to debug it.
> >
> > Yes, because I was trying to debug it too...  Oh well, it looks like
> > this has all taken me down a long path, involving lots of compiling, and
> > it appears at the moment that my problem is simple.  Java isn't using a
> > proxy server...  Anyone know how to tell the plugin about my proxy?
> 
> The proxy bug in the plugin is the last bug we fixed before releasing
> patchset 6.  The problem, if you want to know, is that
> nsProxyHostImpl::FindProxyForURL returns a bad error code for *direct*
> connections, but returns the correct code for *proxy* connections.  Greg
> Lewis specifically tested with proxies set up in Mozilla to verify that
> the code works.  I wanted to trace the erring function to find out why
> it returned the error code for direct connections, but could not get the
> debugging mozilla to get past the loading of the oji plugin.
> 
> Anyway, if anyone out there knows how to fix this stupid error, it would
> really help us with the debugging of some sticky bugs here.  The way
> that we worked around the bug is that if FindProxyForURL returns an
> error, we treat the connection as direct.  That means that if you have
> valid proxies set up in mozilla, it should still use them correctly.
> The manifestation of the bug we were trying to fix is the inability to
> load applet code for direct connections.
> 

My problem with the plugin is that when I use an authenticated proxy the
browser just hangs while loading the applet. It might be that in this
case the function also returns an errorcode (when you're not yet
authenticated), but then fails because it gets treated as a direct
connection.

Marc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C6FE956.1BE2E200>