Mercurial > hg > nginx-quic
diff src/os/win32/ngx_service.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 | 778ef9c3fd2d |
children | c5ec6944de98 |