From 54a200291b345abddd24f1417b62845157aa347c Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Fri, 21 Jan 2022 00:09:24 +0000 Subject: event: Add support for non blocking behaviour in the CONN_STATE_READ_REQUEST_LINE phase, in addition to the existing CONN_STATE_WRITE_COMPLETION phase. Update mod_ssl to perform non blocking TLS handshakes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897281 13f79535-47bb-0310-9956-ffa450edef68 --- include/ap_mmn.h | 3 ++- include/scoreboard.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ap_mmn.h b/include/ap_mmn.h index 33cd91e5a7..6dbbe5e27c 100644 --- a/include/ap_mmn.h +++ b/include/ap_mmn.h @@ -698,6 +698,7 @@ * 20210926.2 (2.5.1-dev) Add ap_post_read_request() * 20211221.0 (2.5.1-dev) Bump PROXY_WORKER_MAX_NAME_SIZE from 256 to 384, * add PROXY_WORKER_UDS_PATH_SIZE. + * 20211221.1 (2.5.1-dev) Add read_line to scoreboard. * */ @@ -706,7 +707,7 @@ #ifndef MODULE_MAGIC_NUMBER_MAJOR #define MODULE_MAGIC_NUMBER_MAJOR 20211221 #endif -#define MODULE_MAGIC_NUMBER_MINOR 0 /* 0...n */ +#define MODULE_MAGIC_NUMBER_MINOR 1 /* 0...n */ /** * Determine if the server's current MODULE_MAGIC_NUMBER is at least a diff --git a/include/scoreboard.h b/include/scoreboard.h index 321b32778a..b0bdc6f13b 100644 --- a/include/scoreboard.h +++ b/include/scoreboard.h @@ -148,6 +148,7 @@ struct process_score { apr_uint32_t lingering_close; /* async connections in lingering close */ apr_uint32_t keep_alive; /* async connections in keep alive */ apr_uint32_t suspended; /* connections suspended by some module */ + apr_uint32_t read_line; /* async connections doing read line */ }; /* Scoreboard is now in 'local' memory, since it isn't updated once created, -- cgit v1.2.1