Mercurial > hg > nginx-quic
diff src/core/ngx_file.c @ 4918:e7467ae41626
Dav: fixed segfault on PUT if body was already read (ticket #238).
If request body reading happens with different options it's possible
that there will be no r->request_body->temp_file available (or even
no r->request_body available if body was discarded). Return internal
server error in this case instead of committing suicide by dereferencing
a null pointer.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 21 Nov 2012 00:51:37 +0000 |
parents | 8a9b7b4e9f2d |
children | c821975c9068 |