diff options
-rw-r--r-- | client.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -553,6 +553,12 @@ void uh_client_notify_state(struct client *cl) if (!s->eof || s->w.data_bytes) return; + + if (cl->tls && cl->ssl.conn && cl->ssl.conn->w.data_bytes) { + cl->ssl.conn->eof = s->eof; + if (!ustream_write_pending(cl->ssl.conn)) + return; + } } return client_close(cl); |