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:
parent
47f5fa4983
commit
5a4f3ae7d0
1 changed files with 2 additions and 4 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue