Changeset 1209
- Timestamp:
- 04/07/07 15:41:44 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/trunk/modules/submit-mwserv/TransferSession.cpp
r1200 r1209 377 377 378 378 } 379 380 381 bool TransferSession::checkTimeout() 382 { 383 // if the connection is bad, give curl a chance to take care, so we can get rid of the connection 384 if (getSocket() == -1) 385 doRecv(); 386 387 return false; 388 } nepenthes/trunk/modules/submit-mwserv/TransferSession.hpp
r1173 r1209 99 99 int32_t getsockOpt(int32_t level, int32_t optname, 100 100 void *optval, socklen_t *optlen); 101 bool checkTimeout(); 101 102 102 103 protected:
