[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-ssl
Subject:    [apache-ssl] Not the FAQ: apache-ssl hang w/ MSIE
From:       "Wade L. Scholine" <wades () cybg ! com>
Date:       2002-09-19 20:20:37
[Download RAW message or body]

I'm having a problem with Apache 1.3.26+SSL 1.48 and MSIE. When I try to
connect on an HTTPS port with this browser the connection hangs. Works fine
with Mozilla, NS 4.7x.

The SSL handshake appears to be happening (I get a "accept this
certificate?" dialog from MSIE) but the desired page never loads and MSIE
eventually shows the "Page cannot be displayed" page.

I turned on LogLevel debug, and httpsd_error_log says 

[Thu Sep 19 06:12:26 2002] [notice] Accept mutex: fcntl (Default: fcntl)
[Thu Sep 19 06:12:49 2002] [debug] apache_ssl.c(1926): CIPHER is
EXP1024-DES-CBC-SHA
[Thu Sep 19 06:12:49 2002] [debug] buff.c(313): before read: foo == 0
[Thu Sep 19 06:12:49 2002] [debug] buff.c(316): read returned 0 rwstate=3
state=3 rstate=240 cren=0 aren=0 accept=1
[Thu Sep 19 06:12:49 2002] [debug] buff.c(324): after read: foo == 0
[Thu Sep 19 06:12:52 2002] [debug] apache_ssl.c(1926): CIPHER is
EXP1024-DES-CBC-SHA
[Thu Sep 19 06:12:52 2002] [debug] buff.c(313): before read: foo == 0
[Thu Sep 19 06:12:52 2002] [debug] buff.c(316): read returned 406 rwstate=1
state=3 rstate=240 cren=0 aren=0 accept=1
[Thu Sep 19 06:12:52 2002] [debug] buff.c(324): after read: foo == 0
[Thu Sep 19 06:12:52 2002] [debug] buff.c(313): before read: foo == 0

The lines about foo are ap_log_error() calls that I put into ap_read(),
around line 314. foo is a counter that would increment each time thru the
loop. As you can see, I'm apparently hanging in SSL_read().

This is pretty much stock Apache 1.3.26+SSL 1.48 with OpenSSL 0.9.7e, except
that I #defined CACHE_SESSIONS to FALSE in src/modules/ssl/apache_ssl.c.

Anyone have a clue as to what might be going on?

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>Not the FAQ: apache-ssl hang w/ MSIE</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I'm having a problem with Apache 1.3.26+SSL 1.48 and MSIE. When I try \
to connect on an HTTPS port with this browser the connection hangs. Works fine with \
Mozilla, NS 4.7x.</FONT></P>

<P><FONT SIZE=2>The SSL handshake appears to be happening (I get a &quot;accept this \
certificate?&quot; dialog from MSIE) but the desired page never loads and MSIE \
eventually shows the &quot;Page cannot be displayed&quot; page.</FONT></P>

<P><FONT SIZE=2>I turned on LogLevel debug, and httpsd_error_log says </FONT>
</P>

<P><FONT SIZE=2>[Thu Sep 19 06:12:26 2002] [notice] Accept mutex: fcntl (Default: \
fcntl)</FONT> <BR><FONT SIZE=2>[Thu Sep 19 06:12:49 2002] [debug] apache_ssl.c(1926): \
CIPHER is EXP1024-DES-CBC-SHA</FONT> <BR><FONT SIZE=2>[Thu Sep 19 06:12:49 2002] \
[debug] buff.c(313): before read: foo == 0</FONT> <BR><FONT SIZE=2>[Thu Sep 19 \
06:12:49 2002] [debug] buff.c(316): read returned 0 rwstate=3 state=3 rstate=240 \
cren=0 aren=0 accept=1</FONT> <BR><FONT SIZE=2>[Thu Sep 19 06:12:49 2002] [debug] \
buff.c(324): after read: foo == 0</FONT> <BR><FONT SIZE=2>[Thu Sep 19 06:12:52 2002] \
[debug] apache_ssl.c(1926): CIPHER is EXP1024-DES-CBC-SHA</FONT> <BR><FONT \
SIZE=2>[Thu Sep 19 06:12:52 2002] [debug] buff.c(313): before read: foo == 0</FONT> \
<BR><FONT SIZE=2>[Thu Sep 19 06:12:52 2002] [debug] buff.c(316): read returned 406 \
rwstate=1 state=3 rstate=240 cren=0 aren=0 accept=1</FONT> <BR><FONT SIZE=2>[Thu Sep \
19 06:12:52 2002] [debug] buff.c(324): after read: foo == 0</FONT> <BR><FONT \
SIZE=2>[Thu Sep 19 06:12:52 2002] [debug] buff.c(313): before read: foo == 0</FONT> \
</P>

<P><FONT SIZE=2>The lines about foo are ap_log_error() calls that I put into \
ap_read(), around line 314. foo is a counter that would increment each time thru the \
loop. As you can see, I'm apparently hanging in SSL_read().</FONT></P>

<P><FONT SIZE=2>This is pretty much stock Apache 1.3.26+SSL 1.48 with OpenSSL 0.9.7e, \
except that I #defined CACHE_SESSIONS to FALSE in \
src/modules/ssl/apache_ssl.c.</FONT></P>

<P><FONT SIZE=2>Anyone have a clue as to what might be going on?</FONT>
</P>

</BODY>
</HTML>



-----------------------------------------------------------------------------------
to unsubscribe, send a blank email to: apache-ssl-unsubscribe@lists.aldigital.co.uk

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic