Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 6751:696dbfb0490a stable-1.10
HTTP/2: unbreak build on MSVC.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 24 May 2016 21:54:32 +0300 |
parents | cb330cd39030 |
children | d45845a6c96a |
comparison
equal
deleted
inserted
replaced
6750:cb330cd39030 | 6751:696dbfb0490a |
---|---|
3542 return rc; | 3542 return rc; |
3543 } | 3543 } |
3544 } | 3544 } |
3545 | 3545 |
3546 if (r->request_body_no_buffering) { | 3546 if (r->request_body_no_buffering) { |
3547 size = len - h2scf->preread_size; | 3547 size = (size_t) len - h2scf->preread_size; |
3548 | 3548 |
3549 } else { | 3549 } else { |
3550 stream->no_flow_control = 1; | 3550 stream->no_flow_control = 1; |
3551 size = NGX_HTTP_V2_MAX_WINDOW - stream->recv_window; | 3551 size = NGX_HTTP_V2_MAX_WINDOW - stream->recv_window; |
3552 } | 3552 } |