]> granicus.if.org Git - apache/commitdiff
mod_http2: version bump, fixing max connection workers when max workers not configured
authorStefan Eissing <icing@apache.org>
Wed, 2 Mar 2016 12:51:53 +0000 (12:51 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 2 Mar 2016 12:51:53 +0000 (12:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1733275 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_mplx.c
modules/http2/h2_session.c
modules/http2/h2_version.h

index b40a137ebddf66f55be8e4b02227061528295bee..86451ecb56775202ded48f78ae8b9f755acb1406 100644 (file)
@@ -209,7 +209,7 @@ h2_mplx *h2_mplx_create(conn_rec *c, apr_pool_t *parent,
         m->stream_max_mem = h2_config_geti(conf, H2_CONF_STREAM_MAX_MEM);
         m->stream_timeout = stream_timeout;
         m->workers = workers;
-        m->workers_max = h2_config_geti(conf, H2_CONF_MAX_WORKERS);
+        m->workers_max = workers->max_workers;
         m->workers_def_limit = 4;
         m->workers_limit = m->workers_def_limit;
         m->last_limit_change = m->last_idle_block = apr_time_now();
index 33f82fad9ce068b4e973df0f210ef8d5968cba58..855e8b9c8554d94ce86aefbf77818e82c65ca337 100644 (file)
@@ -885,9 +885,15 @@ static h2_session *h2_session_create_int(conn_rec *c,
         
         if (APLOGcdebug(c)) {
             ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, c, APLOGNO(03200)
-                          "session(%ld) created, max_streams=%d, stream_mem=%d, push_diary(type=%d,N=%d)",
-                          session->id, (int)session->max_stream_count, (int)session->max_stream_mem,
-                          session->push_diary->dtype, (int)session->push_diary->N);
+                          "h2_session(%ld) created, max_streams=%d, "
+                          "stream_mem=%d, workers_limit=%d, workers_max=%d, "
+                          "push_diary(type=%d,N=%d)",
+                          session->id, (int)session->max_stream_count, 
+                          (int)session->max_stream_mem,
+                          session->mplx->workers_limit, 
+                          session->mplx->workers_max, 
+                          session->push_diary->dtype, 
+                          (int)session->push_diary->N);
         }
     }
     return session;
index b828cf784dc53efa95dd589ed190cef3ad56a37c..0cc90f9ed133bdfc18fca1f2f3e2fce80cf7a4c3 100644 (file)
@@ -26,7 +26,7 @@
  * @macro
  * Version number of the http2 module as c string
  */
-#define MOD_HTTP2_VERSION "1.3.2-DEV"
+#define MOD_HTTP2_VERSION "1.3.3-DEV"
 
 /**
  * @macro
@@ -34,7 +34,7 @@
  * release. This is a 24 bit number with 8 bits for major number, 8 bits
  * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
  */
-#define MOD_HTTP2_VERSION_NUM 0x010302
+#define MOD_HTTP2_VERSION_NUM 0x010303
 
 
 #endif /* mod_h2_h2_version_h */