Skip to content

Commit

Permalink
lwipopts.h: lower tcp close timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
someburner committed Sep 6, 2019
1 parent 1372a35 commit 893a240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glue-lwip/arduino/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@
* By default, TCP socket/netconn close waits 20 seconds max to send the FIN
*/
#if !defined LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT || defined __DOXYGEN__
#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 20000
#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 10000 // 20000
#endif

/**
Expand Down
2 changes: 1 addition & 1 deletion glue-lwip/open/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@
* By default, TCP socket/netconn close waits 20 seconds max to send the FIN
*/
#if !defined LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT || defined __DOXYGEN__
#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 20000
#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 10000 // 20000
#endif

/**
Expand Down

0 comments on commit 893a240

Please sign in to comment.