From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id C6E5C3851C05 for ; Sat, 6 Jun 2020 12:57:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C6E5C3851C05 Received: by mail-lj1-x235.google.com with SMTP id n24so15014803lji.10 for ; Sat, 06 Jun 2020 05:57:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=++rsmZQXs8sDqkY96BSs4rlFNYytHOcU10JAjCPQVfs=; b=fkAmWdzkmOfDma3//ylprozUZxEmsAt6vnHVsB1Vv3tnDwYozJ3g6PNBgHSa0fEEea NkTd2oA/LJN5kybM2E+GbDzgTsrr8Oycdh/7wntlBYT5Yx8Dm7aPKAYq68cBY3/FlDhX KaNibMowHDp3zWCvmDmTWQ5waNUth3QzRKKaCWNp284v9JC8UK/ZG2vg8vZZXSGMuQKX 1X0KoPsMmdn+p+Gv1WfPjyY/tRlvwDeTTlM7Rd7R3mwoeuKP2gdLxgj4feIdl/X/ThTU JQki6jN9XEIRBGd+h+D4A6PeYg4mKfuCJyWlDjpPTQMN2mmZ9ivtBmzcznYWM2CZqktH Fzgg== X-Gm-Message-State: AOAM531yQSTDahoqNBT35AdeJyXJBEYMLasRlOurmLwqmaiR1b2hjxqH wFHCk+en1dYJexGd7AH+WQ0XYXpUYj4xzqWSm0kWjheE+jPTkrQ= X-Google-Smtp-Source: ABdhPJwIwY53BaY4AIuGBD4i5a/t3RMxcCQwFQL0/tgd62oglQVSW1FXvuvg7n3XDrl22Euuyv6n6y887K70noK4Iq4= X-Received: by 2002:a2e:b892:: with SMTP id r18mr7365692ljp.319.1591448229276; Sat, 06 Jun 2020 05:57:09 -0700 (PDT) MIME-Version: 1.0 From: Cary Lewis Date: Sat, 6 Jun 2020 08:56:58 -0400 Message-ID: Subject: curl not sending keep-alive packets To: cygwin@cygwin.com X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2020 12:57:13 -0000 I downloaded and compiled curl on cygwin, version 3.1.5-1 using: ./configure --disable-shared --enable-debug --prefix=/usr The build completed correctly. When I attempt to use curl to access an https:// REST endpoint that takes up to 5 minutes to respond with the: --keepalive-time 5 command line option, and I watch the TCP traffic via wireshark, I do not see any TCP Keep-Alive packets. Without the keep-alive packets the request fails. curl/libcurl version curl 7.71.0-DEV (x86_64-pc-cygwin) libcurl/7.71.0-DEV OpenSSL/1.1.1f zlib/1.2.11 Release-Date: [unreleased] operating system CYGWIN_NT-10.0 IT008 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64 Cygwin Running the win32 version of curl does work as expected, and I see the Keep-Alive packets being sent every 5 seconds, and the REST call does complete correctly. The official curl build does not work any better, that's why I tried to download and rebuild the code. Does anyone know why the --keepalive-time option is not working with cygwin?