From ad267c2a616da844fc042f93efff4a31c3a2818d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 29 Aug 2015 10:40:59 +0000 Subject: Add logging to S3Client about connection reuse --- lib/httpserver/S3Client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/httpserver') 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; } -- cgit v1.2.3