diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-08-15 22:47:52 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-08-15 22:47:52 +0000 |
commit | 6ff44743d8ffc21aa2a496042b9e7de422b8d035 (patch) | |
tree | a8c6a301cee697823ff54aa8a3c5c73f781f6798 /lib/server/SocketStreamTLS.cpp | |
parent | af691669750dca30af3700ec4e913b0ef7269cda (diff) |
Add missing timeouts for network operations.
Diffstat (limited to 'lib/server/SocketStreamTLS.cpp')
-rw-r--r-- | lib/server/SocketStreamTLS.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/server/SocketStreamTLS.cpp b/lib/server/SocketStreamTLS.cpp index 6ca172f6..e31ac13f 100644 --- a/lib/server/SocketStreamTLS.cpp +++ b/lib/server/SocketStreamTLS.cpp @@ -356,12 +356,12 @@ void SocketStreamTLS::Write(const void *pBuffer, int NBytes, int Timeout) case SSL_ERROR_WANT_READ: case SSL_ERROR_WANT_WRITE: - // wait for the requried data + // wait for the required data { #ifndef BOX_RELEASE_BUILD - bool conditionmet = + bool conditionmet = #endif - WaitWhenRetryRequired(se, IOStream::TimeOutInfinite); + WaitWhenRetryRequired(se, Timeout); ASSERT(conditionmet); } break; |