Commit 637bdca0 authored by Nils Goroll's avatar Nils Goroll

document that timeout_idle has no effect unless SO_RCVTIMEO works

parent e216e02c
...@@ -1355,6 +1355,15 @@ PARAM( ...@@ -1355,6 +1355,15 @@ PARAM(
) )
#endif #endif
#if defined(XYZZY)
#error "Temporary macro XYZZY already defined"
#endif
#if defined(SO_RCVTIMEO_WORKS)
#define XYZZY 0
#else
#define XYZZY NOT_IMPLEMENTED
#endif
PARAM( PARAM(
/* name */ timeout_idle, /* name */ timeout_idle,
/* typ */ timeout, /* typ */ timeout,
...@@ -1362,7 +1371,7 @@ PARAM( ...@@ -1362,7 +1371,7 @@ PARAM(
/* max */ NULL, /* max */ NULL,
/* default */ "5.000", /* default */ "5.000",
/* units */ "seconds", /* units */ "seconds",
/* flags */ 0, /* flags */ XYZZY,
/* s-text */ /* s-text */
"Idle timeout for client connections.\n" "Idle timeout for client connections.\n"
"A connection is considered idle, until we have received the full " "A connection is considered idle, until we have received the full "
...@@ -1370,6 +1379,7 @@ PARAM( ...@@ -1370,6 +1379,7 @@ PARAM(
/* l-text */ "", /* l-text */ "",
/* func */ NULL /* func */ NULL
) )
#undef XYZZY
PARAM( PARAM(
/* name */ timeout_linger, /* name */ timeout_linger,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment