summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_proxy_session.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2016-02-26 14:53:51 +0100
committerStefan Eissing <icing@apache.org>2016-02-26 14:53:51 +0100
commit29dc941ab0bcd889568d52ba2dea9087e131a219 (patch)
tree647963a5cd074a49f5578e5c05ba47818030b0c0 /modules/http2/h2_proxy_session.c
parentmod_proxy_http2: start of some sort of flow control, mod_http2: keeping spare... (diff)
downloadapache2-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/http2/h2_proxy_session.c')
-rw-r--r--modules/http2/h2_proxy_session.c4
1 files changed, 1 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];