diff options
author | Stefan Eissing <icing@apache.org> | 2022-06-17 11:24:57 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2022-06-17 11:24:57 +0200 |
commit | ff2ed5d73957148453b0b5bfd9ec4c311101473f (patch) | |
tree | 31803642a264b4edc33de579a4fe9eb843c60b1e /modules/http2/h2_config.h | |
parent | *) mod_http2: fix an edge case in h2_fifo_remove, (diff) | |
download | apache2-ff2ed5d73957148453b0b5bfd9ec4c311101473f.tar.xz apache2-ff2ed5d73957148453b0b5bfd9ec4c311101473f.zip |
*) mod_http2: new implementation of h2 worker pool.
- O(1) cost at registration of connection processing producers
- no limit on registered producers
- join of ongoing work on unregister
- callbacks to unlink dependencies into other h2 code
- memory cleanup on workers deactivation (on idle timeouts)
- idle_limit as apr_time_t instead of seconds
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_config.h')
-rw-r--r-- | modules/http2/h2_config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/http2/h2_config.h b/modules/http2/h2_config.h index c150fe21d8..6d2e65f926 100644 --- a/modules/http2/h2_config.h +++ b/modules/http2/h2_config.h @@ -28,7 +28,7 @@ typedef enum { H2_CONF_WIN_SIZE, H2_CONF_MIN_WORKERS, H2_CONF_MAX_WORKERS, - H2_CONF_MAX_WORKER_IDLE_SECS, + H2_CONF_MAX_WORKER_IDLE_LIMIT, H2_CONF_STREAM_MAX_MEM, H2_CONF_DIRECT, H2_CONF_MODERN_TLS_ONLY, @@ -88,7 +88,8 @@ apr_int64_t h2_config_rgeti64(request_rec *r, h2_config_var_t var); apr_array_header_t *h2_config_push_list(request_rec *r); -void h2_get_num_workers(server_rec *s, int *minw, int *maxw); +void h2_get_workers_config(server_rec *s, int *pminw, int *pmaxw, + apr_time_t *pidle_limit); void h2_config_init(apr_pool_t *pool); const struct h2_priority *h2_cconfig_get_priority(conn_rec *c, const char *content_type); |