http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01aadd
)
SSL needs quite a lot of spare memory
author
Michael Brown
<mcb30@etherboot.org>
Thu, 1 Feb 2007 09:38:16 +0000
(09:38 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 1 Feb 2007 09:38:16 +0000
(09:38 +0000)
src/net/tcp.c
patch
|
blob
|
history
diff --git
a/src/net/tcp.c
b/src/net/tcp.c
index
056c3e3
..
96cac77
100644
(file)
--- 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 */