You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2006/06/22 09:13:57 UTC
svn commit: r416288 - in /httpd/httpd/trunk: CHANGES
modules/arch/win32/mod_isapi.c
Author: wrowe
Date: Thu Jun 22 00:13:56 2006
New Revision: 416288
URL: http://svn.apache.org/viewvc?rev=416288&view=rev
Log:
mod_isapi: Handle "HTTP/1.1 200 OK" style status lines correctly, the
token parser worked while the resulting length was misinterpreted.
We were also off by one in apr_cpystrn which demands room for the
trailing null be counted.
PR: 29098
Submitted by: Brock Bland <bbland serena.com>
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/arch/win32/mod_isapi.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=416288&r1=416287&r2=416288&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Thu Jun 22 00:13:56 2006
@@ -2,6 +2,10 @@
Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_isapi: Handle "HTTP/1.1 200 OK" style status lines correctly, the
+ token parser worked while the resulting length was misinterpreted.
+ PR 29098 [Brock Bland <bbland serena.com>]
+
*) mod_isapi: Return 0 (failure) for more of the various ap_pass_brigade
attempts to stream the response at the client. PR 30022 [William Rowe]
Modified: httpd/httpd/trunk/modules/arch/win32/mod_isapi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/arch/win32/mod_isapi.c?rev=416288&r1=416287&r2=416288&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/arch/win32/mod_isapi.c (original)
+++ httpd/httpd/trunk/modules/arch/win32/mod_isapi.c Thu Jun 22 00:13:56 2006
@@ -682,7 +682,7 @@
* or the http/x.x xxx message format
*/
if (toklen && apr_isdigit(*stattok)) {
- statlen -= toklen;
+ statlen = toklen;
stat = stattok;
}
}