Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4295 - trunk/src/http/modules

Anonymous User
November 16, 2011 07:52AM
Author: vbart
Date: 2011-11-16 12:51:27 +0000 (Wed, 16 Nov 2011)
New Revision: 4295

Modified:
trunk/src/http/modules/ngx_http_scgi_module.c
Log:
Fixed incorrect counting the length of headers in a SCGI request.


Modified: trunk/src/http/modules/ngx_http_scgi_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_scgi_module.c 2011-11-15 20:35:41 UTC (rev 4294)
+++ trunk/src/http/modules/ngx_http_scgi_module.c 2011-11-16 12:51:27 UTC (rev 4295)
@@ -558,8 +558,10 @@

while (*(uintptr_t *) le.ip) {
lcode = *(ngx_http_script_len_code_pt *) le.ip;
- len += lcode(&le) + 1;
+ len += lcode(&le);
}
+ len++;
+
le.ip += sizeof(uintptr_t);
}
}

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

[nginx] svn commit: r4295 - trunk/src/http/modules

Anonymous User 1278 November 16, 2011 07:52AM



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

Online Users

Guests: 176
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