diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-08-08 18:38:15 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-08-08 18:38:15 +0000 |
commit | f6272c5a3d725570eff9f9521f9195d416c7d29c (patch) | |
tree | 6160b5b44c81adbcb68ac721d512069d975b06cb /usr.sbin/sensorsd | |
parent | 898ec46e77f1c453fdbddad5336aa791f2d7d248 (diff) |
Support HTTP responses that neither specify a Content-Length header
nor chunked encoding. We don't know the length of the HTTP body in
this case, so it only works for single-pass HTTP responses without
subsequent HTTP response headers in the stream. You can still enforce
the Content-Length header with an "expect" rule.
For example, this fixes response handling from undeadly.org (thttpd)
if relayd is running as a transparent HTTP proxy.
Diffstat (limited to 'usr.sbin/sensorsd')
0 files changed, 0 insertions, 0 deletions