Mercurial > hg > nginx-quic
comparison src/core/ngx_open_file_cache.c @ 4005:e56c1e9873cb
Correctly set body if it's preread and there are extra data.
Previously all available data was used as body, resulting in garbage after
real body e.g. in case of pipelined requests. Make sure to use only as many
bytes as request's Content-Length specifies.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 18 Aug 2011 15:27:57 +0000 |
parents | e7cd13b7f759 |
children | 37da005a5808 010a0907bc95 |
comparison
equal
deleted
inserted
replaced
4004:84bd993b8cd3 | 4005:e56c1e9873cb |
---|