Skip to content

Commit 1cda623

Browse files
committed
Reduce the occupation of stack space
1 parent 76faefd commit 1cda623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/net/ssl/SSLConnection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void SSLConnection::readCallback()
6060
else if (_status == SSLStatus::Connected)
6161
{
6262
int rd;
63-
char buf[65536];
63+
char buf[4096];
6464
bool newDataFlag = false;
6565
do
6666
{

0 commit comments

Comments
 (0)