Re: Segmentation fault в DAV модуле
Dmitry Petrov
dmitry.petroff at gmail.com
Wed Nov 21 10:23:31 UTC 2012
On Wed, Nov 21, 2012 at 5:31 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
> [...]
> Please try the following patch:
>
> --- a/src/http/ngx_http_request_body.c
> +++ b/src/http/ngx_http_request_body.c
> @@ -174,6 +174,7 @@ ngx_http_read_client_request_body(ngx_ht
> rb->to_write = rb->bufs;
>
> r->read_event_handler =
> ngx_http_read_client_request_body_handler;
> + r->write_event_handler = ngx_http_request_empty_handler;
>
> return ngx_http_do_read_client_request_body(r);
> }
> @@ -234,6 +235,7 @@ ngx_http_read_client_request_body(ngx_ht
> }
>
> r->read_event_handler = ngx_http_read_client_request_body_handler;
> + r->write_event_handler = ngx_http_request_empty_handler;
>
> return ngx_http_do_read_client_request_body(r);
> }
>
Hi Maxim,
Your patch solved the problem for me. Now files are uploaded correctly in
both synthetic tests and from real Iphone application.
Thank you!
--
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121121/65cf5a05/attachment.html>
More information about the nginx-devel
mailing list