File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -439,15 +439,15 @@ int HttpClient::responseStatusCode()
439
439
delay (kHttpWaitForDataDelay );
440
440
}
441
441
}
442
- if ( (c == ' \n ' ) && (iStatusCode < 200 ) )
442
+ if ( (c == ' \n ' ) && (iStatusCode < 200 && iStatusCode != 101 ) )
443
443
{
444
444
// We've reached the end of an informational status line
445
445
c = ' \0 ' ; // Clear c so we'll go back into the data reading loop
446
446
}
447
447
}
448
448
// If we've read a status code successfully but it's informational (1xx)
449
449
// loop back to the start
450
- while ( (iState == eStatusCodeRead) && (iStatusCode < 200 ) );
450
+ while ( (iState == eStatusCodeRead) && (iStatusCode < 200 && iStatusCode != 101 ) );
451
451
452
452
if ( (c == ' \n ' ) && (iState == eStatusCodeRead) )
453
453
{
You can’t perform that action at this time.
0 commit comments