The official NGINX Open Source repository.
Go to file
Maxim Dounin 11477fb633 gRPC: fixed handling of padding on DATA frames.
The response size check introduced in 39501ce97e29 did not take into
account possible padding on DATA frames, resulting in incorrect
"upstream sent response body larger than indicated content length" errors
if upstream server used padding in responses with known length.

Fix is to check the actual size of response buffers produced by the code,
similarly to how it is done in other protocols, instead of checking
the size of DATA frames.

Reported at:
http://mailman.nginx.org/pipermail/nginx-devel/2021-March/013907.html
2021-03-23 16:52:23 +03:00
auto Mail: realip module. 2021-03-05 17:16:29 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, default highlighting (ticket #2141). 2021-02-25 23:42:25 +03:00
docs nginx-1.19.8-RELEASE 2021-03-09 18:27:50 +03:00
misc Updated OpenSSL used for win32 builds. 2021-03-09 16:38:55 +03:00
src gRPC: fixed handling of padding on DATA frames. 2021-03-23 16:52:23 +03:00
.hgtags release-1.19.8 tag 2021-03-09 18:27:51 +03:00