mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-09-22 13:23:39 +08:00
Fix SSL clients logic bug
This commit is contained in:
@@ -203,6 +203,11 @@ bad:
|
||||
}
|
||||
fwrite(buf, 1, len, stdout);
|
||||
fflush(stdout);
|
||||
|
||||
// 应该调整tls_recv 逻辑、API或者其他方式
|
||||
if (conn.datalen == 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user