commit | 4641497e9c85f6e182c3f134da3f79f324c85e12 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Mar 14 12:30:26 2013 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Mar 14 12:30:26 2013 +0000 |
tree | 0c399f21918c5b6d26f4cf7d4bed82ebe3c23e02 | |
parent | 545cfd1fd391041706fab96d9835c4c82eda31d7 [diff] |
Request body: avoid linking rb->buf to r->header_in. Code to reuse of r->request_body->buf in upstream module assumes it's dedicated buffer, hence after 1.3.9 (r4931) it might reuse r->header_in if client_body_in_file_only was set, resulting in original request corruption. It is considered to be safer to always create a dedicated buffer for rb->bufs to avoid such problems.