delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/08/15:45:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=xku3Iv1N+RD6453B
fWWdW6CA9xnBJ2I/nOQOKpO7e3/gifov18w7tB7Sw+7TzbI38XTHD84Ka3/n8FOE
+P8+O23eMT/wlLjsNOi1Rh1lhSHL51fNb39yBbEUjISi6UVwvptEloFAxRJUePh+
pEj5bkUYiviFGqlTuhUN9Y/cNcg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=y3UAS1ybHJH8XwS6vSMEU+
UJ+Ws=; b=QlS36on5uunxVgGtGS5tZkVp+Bauf+NQcll/0/NJdJ9gQ43llnSrwZ
a4E0P2a3fShDmsR2SjEL4OxI02qzLEpleAr+r6cVPE9iMiWJ0RIt/CgG2CzsCZ/S
NK9FoNfb9zhV00qG3e+kGfBeJV5tcWj0lEP1y/wojINJnXCVAJXyY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=ver, Problem, disturbing, H*RU:sk:smtp-ou
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: problem with curl-7.64.1-1 not returning any data
To: cygwin AT cygwin DOT com
References: <DM6PR17MB23006D95155BC61A4BFAA46FD8320 AT DM6PR17MB2300 DOT namprd17 DOT prod DOT outlook DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <624e7238-c05f-f739-640d-6e08d2548c9e@SystematicSw.ab.ca>
Date: Wed, 8 May 2019 13:45:00 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <DM6PR17MB23006D95155BC61A4BFAA46FD8320@DM6PR17MB2300.namprd17.prod.outlook.com>
X-IsSubscribed: yes

On 2019-05-08 12:33, Barris, Wes wrote:
> Some time during the past couple months curl stopped working in my cygwin 
> installation.  The only changes I am aware of are periodic updates to
> cygwin.

What about Windows 10 to 1809? Please run:
$ cmd /c ver
and post the output, to show your Windows release.

> Here is an example:
> curl -v www.google.com
> * STATE: INIT => CONNECT handle 0x600077108; line 1361 (connection #-5000)
> * Added connection 0. The cache now contains 1 members
> No data is returned.
> The same command when run under CentOS or Windows PowerShell (Invoke-WebRequest) works.
> I am running:
> Curl 7.64.1-1
> uname -a
> CYGWIN_NT-10.0 CVI-5501L 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin

Please run:
$ which -a curl
and post the output, to see if there are any aliases, functions, or other
executables on your PATH which could change what's run.

For better help, please do what it says under Problem reports at the bottom,
summarized as run "cygcheck -s -v -r > cygcheck.out" and *ATTACH* the output
file as *PLAIN TEXT* - see your email client help for how to do this.

Even running Windows curl, I get:
$ /proc/cygdrive/c/Windows/System32/curl -v www.google.com
* Rebuilt URL to: www.google.com/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*
  Trying 172.217.14.196...
* TCP_NODELAY set
* Connected to www.google.com (172.217.14.196) port 80 (#0)
> GET / HTTP/1.1
> Host: www.google.com
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 08 May 2019 19:12:35 GMT
< Expires: -1
< Cache-Control: private, max-age=0
< Content-Type: text/html; charset=ISO-8859-1
< P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
< Server: gws
< X-XSS-Protection: 0
< X-Frame-Options: SAMEORIGIN
< Set-Cookie: 1P_JAR=2019-05-08-19; expires=Fri, 07-Jun-2019 19:12:35 GMT;
path=/; domain=.google.com
< Set-Cookie:
NID=183=Qyo1isOaHFjc34Am4ltQNlc6oyQLxvYgIcK_MSUVGlEgsNN7MYX8ki0q4kO-UL9UzBFhIYFEnRLGdnmB6R4wO7H0PpLkHG82DMmME73uvnYCVhlEuMwCbbjVd1ESCXjUJUhh3jciMhnWlGJyjHciQQmb7kkoLkOXU2lILFhO58Q;
expires=Thu, 07-Nov-2019 19:12:35 GMT; path=/; domain=.google.com; HttpOnly
< Accept-Ranges: none
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
<
{ [706 bytes data]
...

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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