httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathihalli, Madhusudan" <>
Subject RE: [PATCH] SSL not sending close alert message
Date Tue, 24 Feb 2004 23:34:23 GMT
Argh.. stupid e-mail client..

>>-----Original Message-----
>>From: Joe Orton []
>>I wasn't sure whether or not this EOC bucket type should go 
>in APR-util
>>or httpd.  Filtering gurus, what say ye?  That bit looks OK to me
>>otherwise with a licence header added to the new file.
>Since the EOC bucket is generic (and not limited to SSL type 
>filters), I thought the best place is in apr-util along with 
>other bucket types !
>>mod_ssl-side I'd just use the changes in the most recent 
>patch I posted
>>with the CLOSE bucket test replaced with the EOC bucket test in the
>>output filter: in my testing you needed to turn off buffering in
>>bio_filter_out_write to get the shutdown logic working correctly.
>Well.. I'll try that out - but it appeared that if I release 
>the SSL buffer upon getting a EOC bucket - the shutdown data 
>(alert message) doesn't get flushed. That was the reason I'd 
>to use the shutdown_flag logic.

If the SSL context is released, the flush fails. Buffering is good - especially if we have
huge amount data to be processed. I thought it's better not to disturb it.


View raw message