1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

POLLOUT during wait for server response not an error

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2013-03-09 09:09:46 +08:00
parent 47f5fa4983
commit 5a4f3ae7d0

View file

@ -261,10 +261,8 @@ int lws_client_socket_service(struct libwebsocket_context *context,
goto bail3;
}
if (!(pollfd->revents & POLLIN)) {
lwsl_warn("server reply no POLLIN\n");
goto bail3;
}
if (!(pollfd->revents & POLLIN))
break;
/* interpret the server response */