Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_proxy_module.c @ 4009:3183165283cc
Fixing proxy_set_body and proxy_pass_request_body with SSL.
Flush flag wasn't set in constructed buffer and this prevented any data
from being actually sent to upstream due to SSL buffering. Make sure
we always set flush in the last buffer we are going to sent.
See here for report:
http://nginx.org/pipermail/nginx-ru/2011-June/041552.html
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 18 Aug 2011 16:34:24 +0000 |
parents | 2527cdb8d31f |
children | e5df04b05e75 |
comparison
equal
deleted
inserted
replaced
4008:debb2f235aa3 | 4009:3183165283cc |
---|---|
1130 cl->buf = b; | 1130 cl->buf = b; |
1131 | 1131 |
1132 body = body->next; | 1132 body = body->next; |
1133 } | 1133 } |
1134 | 1134 |
1135 b->flush = 1; | |
1136 | |
1137 } else { | 1135 } else { |
1138 u->request_bufs = cl; | 1136 u->request_bufs = cl; |
1139 } | 1137 } |
1140 | 1138 |
1139 b->flush = 1; | |
1141 cl->next = NULL; | 1140 cl->next = NULL; |
1142 | 1141 |
1143 return NGX_OK; | 1142 return NGX_OK; |
1144 } | 1143 } |
1145 | 1144 |