Skip to content

Commit ca966c8

Browse files
authored
Merge pull request #24 from an-tao/dev
Reduce the occupation of stack space
2 parents 76faefd + 1cda623 commit ca966c8

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)