mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 23:15:37 +00:00
fixed default value of TCP_SND_BUF to not violate the sanity checks in init.c
This commit is contained in:
parent
c951ab8cee
commit
223307fa38
@ -41,6 +41,10 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2011-09-21: Simon Goldschmidt
|
||||
* opt.h: fixed default value of TCP_SND_BUF to not violate the sanity checks
|
||||
in init.c
|
||||
|
||||
2011-09-20: Simon Goldschmidt
|
||||
* timers.c: fixed bug #34337 (possible NULL pointer in sys_check_timeouts)
|
||||
|
||||
|
@ -957,10 +957,11 @@
|
||||
|
||||
|
||||
/**
|
||||
* TCP_SND_BUF: TCP sender buffer space (bytes).
|
||||
* TCP_SND_BUF: TCP sender buffer space (bytes).
|
||||
* To achieve good performance, this should be at least 2 * TCP_MSS.
|
||||
*/
|
||||
#ifndef TCP_SND_BUF
|
||||
#define TCP_SND_BUF 256
|
||||
#define TCP_SND_BUF (2 * TCP_MSS)
|
||||
#endif
|
||||
|
||||
/**
|
||||
@ -1423,7 +1424,8 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_SO_RCVTIMEO==1: Enable SO_RCVTIMEO processing.
|
||||
* LWIP_SO_RCVTIMEO==1: Enable receive timeout for sockets/netconns and
|
||||
* SO_RCVTIMEO processing.
|
||||
*/
|
||||
#ifndef LWIP_SO_RCVTIMEO
|
||||
#define LWIP_SO_RCVTIMEO 0
|
||||
|
Loading…
Reference in New Issue
Block a user