Results 14 issues of pluknet

Inspired mostly by a bogus requirement to enable ngx_http_v2_module in order to configure "proxy_http_version 2;". This becomes noticeable with a generic HTTP/2 upstream support, which unlike gRPC is not bound...

enhancement

this adds a preparatory change to reduce diff, where appropriate, and therefore deduplicate the main change

feature

Empty request body buffering is specially handled to avoid extra write+seek syscalls as initially introduced in 4c7f51136 (0.4.4). This was later broken in chunked body filter in 5fc85439d (1.3.9) where...

bug

The function expects to operate on aligned memory allocation. The fix is store encoded output in an aligned buffer passed via HTTP/3 encoder functions, similar to ngx_http_v2_filter_module.c. Tested with UndefinedBehaviorSanitizer.