Web lists-archives.com

Re: problem with curl-7.64.1-1 not returning any data




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