Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4927 - trunk/src/http

Anonymous User
November 20, 2012 08:04PM
Author: mdounin
Date: 2012-11-21 01:02:56 +0000 (Wed, 21 Nov 2012)
New Revision: 4927
URL: http://trac.nginx.org/nginx/changeset/4927/nginx

Log:
Request body: adjust b->pos when chunked parsing done.

This is a nop for the current code, though will allow to correctly parse
pipelined requests.


Modified:
trunk/src/http/ngx_http_parse.c

Modified: trunk/src/http/ngx_http_parse.c
===================================================================
--- trunk/src/http/ngx_http_parse.c 2012-11-21 00:59:16 UTC (rev 4926)
+++ trunk/src/http/ngx_http_parse.c 2012-11-21 01:02:56 UTC (rev 4927)
@@ -2065,6 +2065,9 @@

done:

+ ctx->state = 0;
+ b->pos = pos + 1;
+
return NGX_DONE;

invalid:

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4927 - trunk/src/http

Anonymous User 921 November 20, 2012 08:04PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready