delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/06/08:58:01

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C6DA38708AC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1591448234;
bh=JfbxXRTF6NUcCG8BDw7Hsi+W4xEm5CSmMw0iyrWiMLE=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=v8v5YHAOQGectBNWWZoTndy613KS3G11IJJOKp0tBw9RmXdkpfsH8Y+ebT7bXYF5k
okMRrDnti0ce8g4Mur/Jbk8Iu1goHeG1lvbCsUFeExCaTZE/IBbO5vji46zFqknikd
l9jfSAy8n4d2cH8QhUOPgV2ynxVWwwStcHEHBcQ8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C6E5C3851C05
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
Date: Sat, 6 Jun 2020 08:56:58 -0400
Message-ID: <CAEF1h+XtJZ2q=q5BPDwWcCeZg00ZK49y2i8d55JpZpT2hDEWXw@mail.gmail.com>
Subject: curl not sending keep-alive packets
To: cygwin AT cygwin DOT 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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Cary Lewis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cary Lewis <cary DOT lewis AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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?
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019