Skip to content
Snippets Groups Projects
Commit 80007c5b authored by alex's avatar alex
Browse files

- enable tcp keepalive back

parent f0983fb2
No related merge requests found
......@@ -59,12 +59,7 @@
#define SOCKNAL_BUFFER_SIZE (8<<20) /* default socket buffer size */
#define SOCKNAL_NAGLE 0 /* enable/disable NAGLE? */
#define SOCKNAL_IRQ_AFFINITY 1 /* enable/disable IRQ affinity? */
/* FIXME: for debugging purpose only, remove asap! -bzzz */
#if 0
#define SOCKNAL_KEEPALIVE_IDLE 30 /* # seconds idle before 1st probe */
#endif
#define SOCKNAL_KEEPALIVE_IDLE 0 /* # seconds idle before 1st probe */
#define SOCKNAL_KEEPALIVE_COUNT 10 /* # unanswered probes to determine peer death */
#define SOCKNAL_KEEPALIVE_INTVL 2 /* seconds between probes */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment