Glenn Strauss
903024d711
[core] track Content-Length from backend ( fixes #3046 )
...
track Content-Length from backend in r->resp_body_scratchpad
x-ref:
"Failure on second request in http proxy backend"
https://redmine.lighttpd.net/issues/3046
2020-12-16 02:00:17 -05:00
Glenn Strauss
81029b8b51
[multiple] inline chunkqueue where always alloc'd
...
inline struct chunkqueue where always allocated in other structs
(memory locality)
2020-10-11 12:19:27 -04:00
Glenn Strauss
878073d1c9
[core] keep pool of (request_st *) for HTTP/2
2020-10-11 11:43:06 -04:00
Glenn Strauss
550609c8ae
[core] request_acquire(), request_release()
...
continue code abstraction for (request_st *)
2020-10-11 11:43:06 -04:00
Glenn Strauss
8d7e9439b5
[core] connection transition to HTTP/2; incomplete
...
(experimental)
(basic framework with some stub functions; incomplete)
(subsequently incrementally updated using git rebase)
HTTP/2 via TLS ALPN extension (TLS)
HTTP/2 via Upgrade: h2c (cleartext)
HTTP/2 via Prior Knowledge (cleartext)
server.feature-flags += ("server.h2proto" => "enable")
to enable HTTP/2
server.feature-flags += ("server.h2c" => "enable")
to enable upgrade to HTTP/2 over cleartext http
2020-10-11 11:43:06 -04:00
Glenn Strauss
2f2eec18fb
[multiple] isolate more con code in connections.c
...
move code from connections-glue.c back into connections.c
move code from connections-glue.c to http-header-glue.c
rename connection_response_reset()
to http_response_reset()
rename connection_handle_read_post_error()
to http_response_reqbody_read_error()
2020-10-03 09:05:38 -04:00
Glenn Strauss
4e4026703d
[core] reqpool.[ch] for (request_st *)
...
move request_init() request_reset() request_free() from connections.c
2020-10-03 09:05:38 -04:00