mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-07-06 21:11:15 +08:00
Update TCP timeouts
This commit is contained in:
parent
dfeb9e5006
commit
892599ce22
@ -24,11 +24,10 @@
|
||||
#include "common/utils.h"
|
||||
#include "third_party/uthash.h"
|
||||
|
||||
// Keep in sync with zdtun.c
|
||||
#define ICMP_TIMEOUT_SEC 5
|
||||
#define UDP_TIMEOUT_SEC 30
|
||||
#define TCP_CLOSED_TIMEOUT_SEC 15
|
||||
#define TCP_TIMEOUT_SEC 60
|
||||
#define TCP_CLOSED_TIMEOUT_SEC 20
|
||||
#define TCP_TIMEOUT_SEC 300 // needs to be large as TCP connections may stay active for a long time
|
||||
|
||||
/* ******************************************************* */
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user