[485143] Futher fix for broken win32 connections.

pull/145/head
Roger A. Light 10 years ago
parent 11b70d0a95
commit af96c0b8fa

@ -449,7 +449,7 @@ static void loop_handle_reads_writes(struct mosquitto_db *db, struct pollfd *pol
}
assert(pollfds[context->pollfd_index].fd == context->sock);
if(pollfds[context->pollfd_index].revents & (POLLERR | POLLNVAL)){
if(pollfds[context->pollfd_index].revents & (POLLERR | POLLNVAL | POLLHUP)){
do_disconnect(db, context);
continue;
}

Loading…
Cancel
Save