summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-08-29 10:40:59 +0000
committerChris Wilson <chris+github@qwirx.com>2015-08-29 10:40:59 +0000
commitad267c2a616da844fc042f93efff4a31c3a2818d (patch)
treee890d4bb34a1cf310ccd9f8a6ca61e87249edda0
parentf7403ff92f6e3dd4464ddca5b305163ef93d862d (diff)
Add logging to S3Client about connection reuse
-rw-r--r--lib/httpserver/S3Client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/httpserver/S3Client.cpp b/lib/httpserver/S3Client.cpp
index 6124cc02..21814066 100644
--- a/lib/httpserver/S3Client.cpp
+++ b/lib/httpserver/S3Client.cpp
@@ -258,8 +258,13 @@ HTTPResponse S3Client::SendRequest(HTTPRequest& rRequest,
if(!response.IsKeepAlive())
{
+ BOX_TRACE("Server will close the connection, closing our end too.");
mapClientSocket.reset();
}
+ else
+ {
+ BOX_TRACE("Server will keep the connection open for more requests.");
+ }
return response;
}