Fix waitforsocket usage when receiving from socket (#453)
This commit is contained in:
parent
069e359562
commit
311902fe25
@ -538,7 +538,7 @@ int64_t CurlSession::ReadSocketToBuffer(uint8_t* buffer, int64_t bufferSize)
|
||||
switch (readResult)
|
||||
{
|
||||
case CURLE_AGAIN:
|
||||
if (!WaitForSocketReady(this->m_curlSocket, 0, 60000L))
|
||||
if (!WaitForSocketReady(this->m_curlSocket, 1, 60000L))
|
||||
{
|
||||
// TODO: Change this to somehing more relevant
|
||||
throw Azure::Core::Http::TransportException(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user