Reduced default for number of connections.
Save some memory by reducing the the default for number of connections from 10 to 2.
This commit is contained in:
parent
8c346dd762
commit
fc9d38caba
@ -84,7 +84,7 @@ typedef unsigned short uip_stats_t;
|
||||
#if CONNECTIONS
|
||||
#define UIP_CONF_MAX_CONNECTIONS CONNECTIONS
|
||||
#else /* CONNECTIONS */
|
||||
#define UIP_CONF_MAX_CONNECTIONS 10
|
||||
#define UIP_CONF_MAX_CONNECTIONS 2
|
||||
#endif /* CONNECTIONS */
|
||||
|
||||
#if WITH_LOGGING
|
||||
|
@ -37,7 +37,7 @@ high-level configuration macros may be set:
|
||||
- Purpose: Set the Maximum Transfer Unit size.
|
||||
|
||||
- CONNECTIONS
|
||||
- Default: 10
|
||||
- Default: 2
|
||||
- Purpose: Set the maximum number of concurrent TCP connections.
|
||||
|
||||
- ETHERNET
|
||||
|
@ -1 +1 @@
|
||||
DEFINES = WITH_LOGGING,WITH_BOOST,CONNECTIONS=5
|
||||
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST
|
||||
|
@ -1 +1 @@
|
||||
DEFINES = WITH_LOGGING,WITH_BOOST
|
||||
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST
|
||||
|
@ -1 +1 @@
|
||||
DEFINES = WITH_LOGGING,WITH_BOOST,WITH_PFS,CONNECTIONS=5
|
||||
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST,WITH_PFS
|
||||
|
@ -1 +1 @@
|
||||
DEFINES = WITH_LOGGING,WITH_BOOST,WITH_PFS
|
||||
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST,WITH_PFS
|
||||
|
Loading…
Reference in New Issue
Block a user