diff options
author | Stefan Eissing <icing@apache.org> | 2016-02-08 17:53:45 +0100 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2016-02-08 17:53:45 +0100 |
commit | 3567f9f7c669c7b82e69484dc099a375250eff0d (patch) | |
tree | 4b45ef808cdabe2aec0d845ec3b5110dac2a0932 /modules/http2/h2_session.h | |
parent | let proxy handler forward ALPN protocol strings for ssl proxy connections (diff) | |
download | apache2-3567f9f7c669c7b82e69484dc099a375250eff0d.tar.xz apache2-3567f9f7c669c7b82e69484dc099a375250eff0d.zip |
new experimental http2 proxy module for h2: and h2c: proxy urls
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729209 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_session.h')
-rw-r--r-- | modules/http2/h2_session.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/http2/h2_session.h b/modules/http2/h2_session.h index 354b837e17..5bc1d937bd 100644 --- a/modules/http2/h2_session.h +++ b/modules/http2/h2_session.h @@ -37,6 +37,8 @@ * */ +#include "h2.h" + struct apr_thread_mutext_t; struct apr_thread_cond_t; struct h2_ctx; @@ -55,16 +57,6 @@ struct h2_workers; struct nghttp2_session; typedef enum { - H2_SESSION_ST_INIT, /* send initial SETTINGS, etc. */ - H2_SESSION_ST_DONE, /* finished, connection close */ - H2_SESSION_ST_IDLE, /* nothing to write, expecting data inc */ - H2_SESSION_ST_BUSY, /* read/write without stop */ - H2_SESSION_ST_WAIT, /* waiting for tasks reporting back */ - H2_SESSION_ST_LOCAL_SHUTDOWN, /* we announced GOAWAY */ - H2_SESSION_ST_REMOTE_SHUTDOWN, /* client announced GOAWAY */ -} h2_session_state; - -typedef enum { H2_SESSION_EV_INIT, /* session was initialized */ H2_SESSION_EV_LOCAL_GOAWAY, /* we send a GOAWAY */ H2_SESSION_EV_REMOTE_GOAWAY, /* remote send us a GOAWAY */ |