diff src/core/ngx_inet.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 c070fa19511e
children 2efa05bbbc1e 032f71d771e6
line wrap: on
line diff