[Box Backup-commit] COMMIT r3646 - box/trunk/lib/httpserver

subversion at boxbackup.org subversion at boxbackup.org
Sat Aug 29 11:40:59 BST 2015


Author: chris
Date: 2015-08-29 10:40:59 +0000 (Sat, 29 Aug 2015)
New Revision: 3646

Modified:
   box/trunk/lib/httpserver/S3Client.cpp
Log:
Add logging to S3Client about connection reuse

Modified: box/trunk/lib/httpserver/S3Client.cpp
===================================================================
--- box/trunk/lib/httpserver/S3Client.cpp	2015-08-29 10:40:51 UTC (rev 3645)
+++ box/trunk/lib/httpserver/S3Client.cpp	2015-08-29 10:40:59 UTC (rev 3646)
@@ -258,8 +258,13 @@
 
 	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;
 }




More information about the Boxbackup-commit mailing list