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

- disable tcp keepalive for debugging purpose

parent 33cc142e
No related merge requests found
......@@ -59,7 +59,13 @@
#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