[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-427
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-427-gc8d18e1 |
Date: |
Wed, 02 Feb 2011 17:07:54 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".
The branch, master has been updated
via c8d18e19efa794a66c603d6db206d887b626756b (commit)
from 3c5d6408cf9b619c9dfdfb94ff52e141eb8a42f2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c8d18e19efa794a66c603d6db206d887b626756b
Author: Giuseppe Scrivano <address@hidden>
Date: Wed Feb 2 17:54:42 2011 +0100
FastCGI: don't send the final chunk if a HEAD request was done.
diff --git a/myserver/src/http_handler/fastcgi/fastcgi.cpp
b/myserver/src/http_handler/fastcgi/fastcgi.cpp
index 2301480..d834782 100644
--- a/myserver/src/http_handler/fastcgi/fastcgi.cpp
+++ b/myserver/src/http_handler/fastcgi/fastcgi.cpp
@@ -288,8 +288,7 @@ int FastCgi::send (HttpThreadContext* td, const char*
scriptpath,
while (! exit);
/* Send the last null chunk if needed. */
- if (!responseCompleted && con.useChunks &&
- (td->response.getStatusType () == HttpResponseHeader::SUCCESSFUL))
+ if (!responseCompleted && con.useChunks && !onlyHeader)
chain.getStream ()->write ("0\r\n\r\n", 5, &nbw);
chain.clearAllFilters ();
-----------------------------------------------------------------------
Summary of changes:
myserver/src/http_handler/fastcgi/fastcgi.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU MyServer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-427-gc8d18e1,
Giuseppe Scrivano <=