summaryrefslogtreecommitdiff
path: root/src/request.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-08-09 16:50:37 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-10-11 11:43:02 -0400
commit6eca864c5ecc8aa092208720189ccf56984a1fd8 (patch)
tree431ce4e43b4d13da649deecfffef81a083e05f79 /src/request.h
parent2c8f1b462130c2055597df9c0c95492e4343ab8e (diff)
downloadlighttpd-git-6eca864c5ecc8aa092208720189ccf56984a1fd8.tar.gz
[core] h2.[ch] with stub funcs (incomplete)
(subsequently incrementally updated using git rebase) huge props and many thank yous to writers of testing tools used while developing HTTP/2 support in lighttpd: h2spec - conformance testing tool for HTTP/2 implementation https://github.com/summerwind/h2spec h2load - HTTP/2 benchmarking tool https://nghttp2.org/documentation/h2load-howto.html curl - command line tool and library for transferring data with URLs https://curl.haxx.se/
Diffstat (limited to 'src/request.h')
-rw-r--r--src/request.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/request.h b/src/request.h
index f512d1f3..25bc1346 100644
--- a/src/request.h
+++ b/src/request.h
@@ -122,6 +122,10 @@ typedef enum {
struct request_st {
request_state_t state; /*(modules should not modify request state)*/
int http_status;
+ uint32_t h2state; /*(modules should not modify request h2state)*/
+ uint32_t h2id;
+ int32_t h2_rwin;
+ int32_t h2_swin;
http_method_t http_method;
http_version_t http_version;