Commit fdb0bf7f authored by Joe Orton's avatar Joe Orton
Browse files

Fix mod_ssl to issue SSL close_notify alerts before the connection is

closed by adding an EOC bucket type:

* include/http_connection.h: Declare eoc bucket interface.

* server/eoc_bucket.c: New file.

* server/Makefile.in, libhttpd.dsp: Build eoc_bucket.c.

* server/core.c (core_output_filter): Delete EOC bucket.

* server/connection.c (ap_flush_conn): Send an EOC bucket.

* modules/ssl/ssl_engine_io.c (ssl_io_filter_output): Shutdown
the SSL connection for an EOC bucket.
(bio_filter_out_write): Conditionally disable buffering.

PR: 27428
Submitted by: Madhusudan Mathihalli
Reviewed by: Madhusudan Mathihalli, Justin Erenkrantz, Joe Orton

(sneaking in fixes for libhttpd.dsp and NWGNUMakefile)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102885 13f79535-47bb-0310-9956-ffa450edef68
parent e8da6bcf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment