summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2007-02-01 10:38:16 +0100
committerMichael Brown2007-02-01 10:38:16 +0100
commit3fd10074d81e22ccc6d1c6e777adfb3b47ba613e (patch)
treeeafe480f3022f612170eedf64022e408f02bd588 /src
parentRequired for public key extraction (diff)
downloadipxe-3fd10074d81e22ccc6d1c6e777adfb3b47ba613e.tar.gz
ipxe-3fd10074d81e22ccc6d1c6e777adfb3b47ba613e.tar.xz
ipxe-3fd10074d81e22ccc6d1c6e777adfb3b47ba613e.zip
SSL needs quite a lot of spare memory
Diffstat (limited to 'src')
-rw-r--r--src/net/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 056c3e3c..96cac772 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -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 */