david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

SSL needs quite a lot of spare memory

This commit is contained in:
Michael Brown 2007-02-01 09:38:16 +00:00
parent e01aadd5a7
commit 3fd10074d8
1 changed files with 1 additions and 1 deletions

View File

@ -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 */