skip empty buffers

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1272 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.12
Jan Kneschke 16 years ago
parent f3c92b12e8
commit 28f6aa9ba8
  1. 2
      src/network_openssl.c

@ -67,7 +67,7 @@ int network_write_chunkqueue_openssl(server *srv, connection *con, SSL *ssl, chu
size_t toSend;
ssize_t r;
if (c->mem->used == 0) {
if (c->mem->used == 0 || c->mem->used == 1) {
chunk_finished = 1;
break;
}

Loading…
Cancel
Save