+25 January 2018: Wouter
+ - Fix that tcp for auth zone and outgoing does not remove and
+ then gets the ssl read again applied to the deleted commpoint.
+
24 January 2018: Wouter
- Newer aclocal and libtoolize used for generating configure scripts,
aclocal 1.16.1 and libtoolize 2.4.6.
#endif
if(event&UB_EV_READ) {
+ int has_tcpq = (c->tcp_req_info != NULL);
if(!comm_point_tcp_handle_read(fd, c, 0)) {
reclaim_tcp_handler(c);
if(!c->tcp_do_close) {
NETEVENT_CLOSED, NULL);
}
}
- if(c->tcp_req_info && c->tcp_req_info->read_again)
+ if(has_tcpq && c->tcp_req_info && c->tcp_req_info->read_again)
tcp_req_info_read_again(fd, c);
return;
}
if(event&UB_EV_WRITE) {
+ int has_tcpq = (c->tcp_req_info != NULL);
if(!comm_point_tcp_handle_write(fd, c)) {
reclaim_tcp_handler(c);
if(!c->tcp_do_close) {
NETEVENT_CLOSED, NULL);
}
}
- if(c->tcp_req_info && c->tcp_req_info->read_again)
+ if(has_tcpq && c->tcp_req_info && c->tcp_req_info->read_again)
tcp_req_info_read_again(fd, c);
return;
}