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:
Oliver Schmidt 2015-06-21 17:53:19 +02:00
parent 8c346dd762
commit fc9d38caba
6 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
DEFINES = WITH_LOGGING,WITH_BOOST,CONNECTIONS=5
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST

View file

@ -1 +1 @@
DEFINES = WITH_LOGGING,WITH_BOOST
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST

View file

@ -1 +1 @@
DEFINES = WITH_LOGGING,WITH_BOOST,WITH_PFS,CONNECTIONS=5
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST,WITH_PFS

View file

@ -1 +1 @@
DEFINES = WITH_LOGGING,WITH_BOOST,WITH_PFS
DEFINES = CONNECTIONS=4,WITH_LOGGING,WITH_BOOST,WITH_PFS