aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 66ab0fabb..d5177d92b 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1262,10 +1262,6 @@ static CURLcode operate_do(struct GlobalConfig *global,
if(!config->nokeepalive) {
my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L);
if(config->alivetime != 0) {
-#if !defined(TCP_KEEPIDLE) || !defined(TCP_KEEPINTVL)
- warnf(config->global, "Keep-alive functionality somewhat crippled "
- "due to missing support in your operating system!\n");
-#endif
my_setopt(curl, CURLOPT_TCP_KEEPIDLE, config->alivetime);
my_setopt(curl, CURLOPT_TCP_KEEPINTVL, config->alivetime);
}