2
0
Fork 0

[mod_openssl] make sure we get notified for EV_WRITE again

personal/stbuehler/wip
Stefan Bühler 2010-11-26 14:04:28 +01:00
parent 7a414338da
commit 58bc3f8276
1 changed files with 3 additions and 0 deletions

View File

@ -233,6 +233,9 @@ static liNetworkStatus openssl_con_write(liConnection *con, goffset write_max) {
write_max -= r;
} while (r == block_len && write_max > 0);
if (0 != cq->length) {
li_ev_io_add_events(con->wrk->loop, &con->sock_watcher, EV_WRITE);
}
return LI_NETWORK_STATUS_SUCCESS;
}