THRIFT-1335: Add accept timeout to TServerSocket
authorRoger Meier <roger@apache.org>
Fri, 4 Nov 2011 11:55:49 +0000 (11:55 +0000)
committerRoger Meier <roger@apache.org>
Fri, 4 Nov 2011 11:55:49 +0000 (11:55 +0000)
Client: cpp
Patch: Dave Watson

FIX: add accTimout_ Initialization to DomainSocket Constructor

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197523 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/transport/TServerSocket.cpp

index dfa55b4..c4a7f7c 100644 (file)
@@ -110,6 +110,7 @@ TServerSocket::TServerSocket(string path) :
   acceptBacklog_(1024),
   sendTimeout_(0),
   recvTimeout_(0),
+  accTimeout_(-1),
   retryLimit_(0),
   retryDelay_(0),
   tcpSendBuffer_(0),