myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-497


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-497-g3854aeb
Date: Wed, 18 May 2011 19:48:00 +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  3854aeb2e017e042f210ba7a5aa1be62bd690499 (commit)
      from  c17497cb447405b55b75c940a2aafeed97a2e115 (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 3854aeb2e017e042f210ba7a5aa1be62bd690499
Author: Giuseppe Scrivano <address@hidden>
Date:   Wed May 18 21:47:54 2011 +0200

    HttpFile: ignore fast copy if throttling is used.

diff --git a/myserver/src/http_handler/http_file/http_file.cpp 
b/myserver/src/http_handler/http_file/http_file.cpp
index 5370841..bfd32b6 100644
--- a/myserver/src/http_handler/http_file/http_file.cpp
+++ b/myserver/src/http_handler/http_file/http_file.cpp
@@ -303,6 +303,7 @@ int HttpFile::send (HttpThreadContext* td, const char 
*filenamePath,
                           td->mime, memStream);
 
     fastCopyAllowed = chain.isEmpty ()
+      && td->connection->socket->getThrottling () == 0
       && !(td->http->getProtocolOptions () & Protocol::SSL);
 
     if (! chain.hasModifiersFilters ())

-----------------------------------------------------------------------

Summary of changes:
 myserver/src/http_handler/http_file/http_file.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU MyServer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]