mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
lwip: enable SO_RCVBUF socket option
In issue #313 the SO_RCVBUF was intended to be enabled, however the current lwip port looks for another define LWIP_SO_RCVBUF instead of LWIP_RCVBUF. Fixes #716
This commit is contained in:
parent
86e428cd64
commit
2349cd2dc3
@ -51,7 +51,7 @@
|
||||
|
||||
#define TCP_MSS 1460
|
||||
#define TCP_WND (32 * TCP_MSS)
|
||||
#define TCP_SND_BUF (128 * TCP_MSS)
|
||||
#define TCP_SND_BUF (128 * TCP_MSS > 65535 ? 65535 : 128 * TCP_MSS)
|
||||
#define TCP_SND_QUEUELEN ((32 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
|
||||
|
||||
#define RECV_BUFSIZE_DEFAULT 2147483647 /* this is actually INT_MAX, default value */
|
||||
|
Loading…
Reference in New Issue
Block a user