diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2006-06-22 09:13:56 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2006-06-22 09:13:56 +0200 |
commit | ab12f700e29834a6baec13f08821fd65372eddaf (patch) | |
tree | 5e22eef047fac44f977a2e9998584388077dee09 /modules/arch/win32 | |
parent | We need to pay alot more attention here to ap_pass_brigade. (diff) | |
download | apache2-ab12f700e29834a6baec13f08821fd65372eddaf.tar.xz apache2-ab12f700e29834a6baec13f08821fd65372eddaf.zip |
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>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@416288 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch/win32')
-rw-r--r-- | modules/arch/win32/mod_isapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c index 224047e668..e4ec5d004e 100644 --- a/modules/arch/win32/mod_isapi.c +++ b/modules/arch/win32/mod_isapi.c @@ -682,7 +682,7 @@ static apr_ssize_t send_response_header(isapi_cid *cid, * or the http/x.x xxx message format */ if (toklen && apr_isdigit(*stattok)) { - statlen -= toklen; + statlen = toklen; stat = stattok; } } |