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 );
|
start_timer ( &tcp->timer );
|
||||||
|
|
||||||
/* Estimate window size */
|
/* Estimate window size */
|
||||||
window = freemem;
|
window = ( ( freemem * 3 ) / 4 );
|
||||||
if ( window > TCP_MAX_WINDOW_SIZE )
|
if ( window > TCP_MAX_WINDOW_SIZE )
|
||||||
window = TCP_MAX_WINDOW_SIZE;
|
window = TCP_MAX_WINDOW_SIZE;
|
||||||
window &= ~0x03; /* Keep everything dword-aligned */
|
window &= ~0x03; /* Keep everything dword-aligned */
|
||||||
|
Reference in New Issue
Block a user