Fix SSL clients logic bug

This commit is contained in:
Zhi Guan
2022-07-29 23:02:02 +08:00
parent 801d896d5a
commit b7f8c5113d
4 changed files with 27 additions and 1 deletions

View File

@@ -203,6 +203,11 @@ bad:
}
fwrite(buf, 1, len, stdout);
fflush(stdout);
// 应该调整tls_recv 逻辑、API或者其他方式
if (conn.datalen == 0) {
break;
}
}
}