mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-23 19:51:46 +00:00
SSL needs quite a lot of spare memory
This commit is contained in:
parent
e01aadd5a7
commit
3fd10074d8
@ -288,7 +288,7 @@ static int tcp_senddata_conn ( struct tcp_connection *tcp, int force_send ) {
|
||||
start_timer ( &tcp->timer );
|
||||
|
||||
/* Estimate window size */
|
||||
window = freemem;
|
||||
window = ( ( freemem * 3 ) / 4 );
|
||||
if ( window > TCP_MAX_WINDOW_SIZE )
|
||||
window = TCP_MAX_WINDOW_SIZE;
|
||||
window &= ~0x03; /* Keep everything dword-aligned */
|
||||
|
Loading…
Reference in New Issue
Block a user