Obtained from:
Submitted by:
Reviewed by:
fix bug seen on win32 with netscape client where output filter is run
triggered by lingering_close after ssl_hook_CloseConnection has been called
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94170
13f79535-47bb-0310-9956-
ffa450edef68
apr_bucket_brigade *bb)
{
apr_status_t status = APR_SUCCESS;
+ SSLFilterRec *ctx = f->ctx;
+
+ if (!ctx->pssl) {
+ /* ssl_hook_CloseConnection has already been called */
+ return ap_pass_brigade(f->next, bb);
+ }
while (!APR_BRIGADE_EMPTY(bb)) {
apr_bucket *bucket = APR_BRIGADE_FIRST(bb);
* These types do not require translation by OpenSSL.
*/
if (APR_BUCKET_IS_EOS(bucket) || APR_BUCKET_IS_FLUSH(bucket)) {
- SSLFilterRec *ctx = f->ctx;
-
if ((status = BIO_bucket_flush(ctx->pbioWrite)) != APR_SUCCESS) {
return status;
}