diff options
author | Stefan Eissing <icing@apache.org> | 2016-02-26 14:53:51 +0100 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2016-02-26 14:53:51 +0100 |
commit | 29dc941ab0bcd889568d52ba2dea9087e131a219 (patch) | |
tree | 647963a5cd074a49f5578e5c05ba47818030b0c0 /modules | |
parent | mod_proxy_http2: start of some sort of flow control, mod_http2: keeping spare... (diff) | |
download | apache2-29dc941ab0bcd889568d52ba2dea9087e131a219.tar.xz apache2-29dc941ab0bcd889568d52ba2dea9087e131a219.zip |
fixing compile errors+warnings in gcc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/http2/h2_proxy_session.c | 4 | ||||
-rw-r--r-- | modules/http2/h2_session.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/http2/h2_proxy_session.c b/modules/http2/h2_proxy_session.c index 598de3e393..c65cdbdc3d 100644 --- a/modules/http2/h2_proxy_session.c +++ b/modules/http2/h2_proxy_session.c @@ -13,6 +13,7 @@ * limitations under the License. */ +#include <stddef.h> #include <apr_strings.h> #include <nghttp2/nghttp2.h> @@ -139,7 +140,6 @@ static int on_frame_recv(nghttp2_session *ngh2, const nghttp2_frame *frame, void *user_data) { h2_proxy_session *session = user_data; - h2_proxy_stream *stream; if (APLOGcdebug(session->c)) { char buffer[256]; @@ -152,7 +152,6 @@ static int on_frame_recv(nghttp2_session *ngh2, const nghttp2_frame *frame, switch (frame->hd.type) { case NGHTTP2_HEADERS: - stream = nghttp2_session_get_stream_user_data(ngh2, frame->hd.stream_id); break; case NGHTTP2_PUSH_PROMISE: break; @@ -163,7 +162,6 @@ static int on_frame_recv(nghttp2_session *ngh2, const nghttp2_frame *frame, break; case NGHTTP2_GOAWAY: dispatch_event(session, H2_PROXYS_EV_REMOTE_GOAWAY, 0, NULL); - /* TODO: close handling */ if (APLOGcinfo(session->c)) { char buffer[256]; diff --git a/modules/http2/h2_session.c b/modules/http2/h2_session.c index 0be64b8cd7..4019bd4d35 100644 --- a/modules/http2/h2_session.c +++ b/modules/http2/h2_session.c @@ -14,6 +14,7 @@ */ #include <assert.h> +#include <stddef.h> #include <apr_thread_cond.h> #include <apr_base64.h> #include <apr_strings.h> |