relay_read_http: strip out Content-Length if we strip the body too
authormillert <millert@openbsd.org>
Fri, 1 Dec 2023 16:48:40 +0000 (16:48 +0000)
committermillert <millert@openbsd.org>
Fri, 1 Dec 2023 16:48:40 +0000 (16:48 +0000)
commitf537694384c3e3ea254eafa0a11f77c5c3e9c1a2
treeed3d6c630b511a950f27f122762f4c6769aa4387
parenta5839ef2707f19a3efacc1c1f67632da49dbea90
relay_read_http: strip out Content-Length if we strip the body too

We should not forward Content-Length if the body is not also forwarded.
usr.sbin/relayd/relay_http.c