Changeset 908 for box/chris/merge/lib/server/SocketStreamTLS.cpp
- Timestamp:
- 01/09/2006 00:40:18 (6 years ago)
- File:
-
- 1 edited
-
box/chris/merge/lib/server/SocketStreamTLS.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/merge/lib/server/SocketStreamTLS.cpp
r907 r908 138 138 } 139 139 140 #ifndef WIN32141 140 // Make the socket non-blocking so timeouts on Read work 141 142 #ifdef WIN32 143 u_long nonblocking = 1; 144 ioctlsocket(socket, FIONBIO, &nonblocking); 145 #else // !WIN32 142 146 // This is more portable than using ioctl with FIONBIO 143 147 int statusFlags = 0; … … 310 314 case SSL_ERROR_WANT_READ: 311 315 case SSL_ERROR_WANT_WRITE: 312 // wait for the requ ried data316 // wait for the required data 313 317 // Will only get once around this loop, so don't need to calculate timeout values 314 318 if(WaitWhenRetryRequired(se, Timeout) == false)
Note: See TracChangeset
for help on using the changeset viewer.
