mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 507370 - ssltunnel may hang with 100% CPU load, breaking the tests execution, r=ted.mielczarek, a=beltzner
This commit is contained in:
parent
7eba41474e
commit
9e312a2957
@ -479,8 +479,12 @@ void HandleConnection(void* data)
|
||||
|
||||
if (bytesWrite < 0)
|
||||
{
|
||||
if (PR_GetError() != PR_WOULD_BLOCK_ERROR)
|
||||
if (PR_GetError() != PR_WOULD_BLOCK_ERROR) {
|
||||
client_error = true;
|
||||
// We got a fatal error while writting the buffer. Clear it to break
|
||||
// the main loop, we will never more be able to send it.
|
||||
buffers[s2].bufferhead = buffers[s2].buffertail = buffers[s2].buffer;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user