read continue only for SSL
@@ -316,9 +316,12 @@ read:
io->readbuf.tail += nread;
__read_cb(io, buf, nread);
if (nread == len && !io->closed) {
+ // NOTE: ssl may have own cache
+ if (io->io_type == HIO_TYPE_SSL) {
// read continue
goto read;
}
+ }
return;
read_error:
disconnect:
