>-----Original Message----- >From: Geoff Thorpe [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 04, 2004 5:56 PM >To: [EMAIL PROTECTED] >Cc: Mathihalli, Madhusudan >Subject: Re: mod_ssl not sending Alert upon close ? > > >On February 4, 2004 04:39 pm, Mathihalli, Madhusudan wrote: >> Hi, >> I was playing with ssldump for the data transferred b/w >browser and >> Apache (2.0.48) - and realized that the Apache2 (+ mod_ssl) does not >> send the Alert message to the client before closing the connection. > >Funnily enough, I was just stewing on a similar problem with openssl's >builtin "s_server" application - in that case, the braindamage is in >s_server.c's use of "SSL_CTX_set_quiet_shutdown(ctx,1)". >Perhaps apache2 >is doing the same thing? >
I don't think thatz the case - apache2 is NOT doing quiet_shutdown. When I enabled logging of wbio, it appears that it's sending the close notify - but the client doesn't see it. I'm suspecting if we have to flush manually after doing a SSL_set_shutdown(), because there's some special logic in bio_filter_out_write(). -Madhu
