We seem to be having a problem with Netscpae 6.1 and 6.2 when interacting
with mod_ssl.  We're running Apache 1.3.20 (Win32) ApacheJServ/1.1.2
mod_ssl/2.8.4 on a Windows 2000 Server.  We're compiling it using VC++ 6.0.

The problem manifests itself like this.  We're doing an HTTPS post to a Java
Servlet.  In IE versions we've tested, everything goes along just fine.
When using Netscape 6.1 or 6.2 (6.0 is fine), the HTTPS post hangs.

I've been running Apache through the debugger and this is what I'm
observing:

I set Netscape 6.1 or 6.2 to do the HTTPS post request.  mod_ssl cycles
through SSL_recvwithtimeout in ssl_engine_io.c a few times.

The first time it picks up half the HTTP headers, the second time it picks
up the other half of the HTTP headers and a smidgeon of POST data.

On the third cycle through that code, it reaches the following snippet at
the very top of the SSL_recvwithtimeout function:

    if (!(tv.tv_sec = ap_check_alarm()))
       return (SSL_read(ssl, buf, len));

ap_check_alarm() is returning a 0 into tv.tv_sec.  This causes the code to
do the SSL_read, but it blocks on the read and never comes back unless I
kill the browser process.

When I use IE and go through the same procedure, the ap_check_alarm() call
returns a variety of numbers all in the upper 200's--it never returns a 0.

I've read through the mod_ssl archives and the Mozilla bugs and noticed that
there was a point in the Mozilla builds where it was having problems with
HTTP posts.  I can't tell if that's related to this or not.  I do know that
if I use Mozilla .9.8 everything works fine.

I have a few questions.  Why does mod_ssl execute ap_check_alarm?--I read
through the code, but I'm not seeing the 50' view of what's going on.  And
why would it return a 0, but only with Netscape 6.1 and 6.2?

Any help is greatly appreciated--

/will
[EMAIL PROTECTED]

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to