Comments (8)
The original fixed bug http://sourceforge.net/p/curl/bugs/1479/
from curl.
Can you please help us and describe the issue more? That stack trace isn't helping us a whole lot without more info. The best case would be if you can provide source code and a scenario on how to repeat it!
from curl.
Hi Daniel,
The reproduce steps is below:
1.Enable proxy in client host
2 Input an invalid server address in our client to connect
Result:
The process will be hanging until an error message is prompted
Thanks!
On Tuesday, April 14, 2015 4:16 PM, Daniel Stenberg <[email protected]> wrote:
Can you please help us and describe the issue more? That stack trace isn't helping us a whole lot without more info. The best case would be if you can provide source code and a scenario on how to repeat it!—
Reply to this email directly or view it on GitHub.
from curl.
Something like this?
curl -p -x localhost:80 non-existing.haxx.se -v
In your case, what does the proxy respond? I could not repeat the problem, I need more details.
from curl.
Hi Daniel,
Do you have applied the patch for http://sourceforge.net/p/curl/bugs/1479/ in your curl executable file? It should be only repro after the patch checked in.
I have not the curl executable file in hand, Could you please provide the build to me so that I can try it in my host? Thanks.
from curl.
I use the current git master. You can build your own from git or from a daily snapshot: http://curl.haxx.se/snapshots/ - I don't have any suitable executable to share.
from curl.
Hi Daniel,
I tried curl 7.42 executable from http://www.paehl.com/open_source/downloads/curl_X64_ssl.7z
The main thread will be hang for a while after Proxy-Connection: Keep-Alive below, please let me know if there is a way to collect the curl executable logs or need additional information, thanks.
C:\curl_X64_ssl\openssl>curl -x proxy.xx.xx:3128 -v https://
- Rebuilt URL to: https://10.117.46.1/
- Trying x.x.x.x...
- Connected to x.x.x.x port 3128 (#0)
- Establish HTTP proxy tunnel to 10.117.46.1:443
CONNECT 10.117.46.1:443 HTTP/1.1
Host: 10.117.46.1:443
User-Agent: curl/7.42.0
Proxy-Connection: Keep-Alive
The main thread will be hang for a while in here
< HTTP/1.0 503 Service Unavailable
< Server: squid/2.6.STABLE21
< Date: Thu, 23 Apr 2015 06:03:52 GMT
< Content-Type: text/html
< Content-Length: 1074
< Expires: Thu, 23 Apr 2015 06:03:52 GMT
< X-Squid-Error: ERR_CONNECT_FAIL 110
<
- Received HTTP code 503 from proxy after CONNECT
- Closing connection 0
curl: (56) Received HTTP code 503 from proxy after CONNECT
from curl.
On Wed, Apr 22, 2015 at 11:12:31PM -0700, peterlaser wrote:
Hi Daniel,
I tried curl 7.42 executable from http://www.paehl.com/open_source/downloads/
curl_X64_ssl.7z
The main thread will be hang for a while after Proxy-Connection: Keep-Alive
below, please let me know if there is a way to collect the curl executable logs
or need additional information, thanks.C:\curl_X64_ssl\openssl>curl -x proxy.xx.xx:3128 -v https://
• Rebuilt URL to: https://10.117.46.1/
• Trying x.x.x.x...
• Connected to x.x.x.x port 3128 (#0)
• Establish HTTP proxy tunnel to 10.117.46.1:443 > CONNECT 10.117.46.1:443
HTTP/1.1 > Host: 10.117.46.1:443 > User-Agent: curl/7.42.0 >
Proxy-Connection: Keep-Alive >The main thread will be hang for a while in here
< HTTP/1.0 503 Service Unavailable < Server: squid/2.6.STABLE21 < Date: Thu, 23 Apr 2015 06:03:52 GMT < Content-Type: text/html < Content-Length: 1074 < Expires: Thu, 23 Apr 2015 06:03:52 GMT < X-Squid-Error: ERR_CONNECT_FAIL 110 < □ Received HTTP code 503 from proxy after CONNECT □ Closing connection 0 curl: (56) Received HTTP code 503 from proxy after CONNECT
This sounds like perfectly normal behaviour if the proxy is unable to reach the
server. Once the proxy times out trying, it will return the error code that
curl reports.
Dan
from curl.
Related Issues (20)
- Version 8.7.1 only in repo tag and tarball name, not in code HOT 4
- HTTP/2 + CURLOPT_FAILONERROR returns incorrect error code CURLE_RECV_ERROR HOT 2
- HTTP/2 + TLS spends a lot of time in recv (buffering issue) HOT 9
- File name not be transformed HOT 2
- domain name with trailing dot fails the certificate check when using gnutls HOT 4
- Circle CI openssl breakage on macos HOT 10
- Quiche CI job occasionally fails during a download abort test HOT 5
- version 8.7.1 fails to compile for IOS SDK 17.2 HOT 5
- Version 8.6.0 and 8.7.1 fails to compile for CentOS 7 HOT 2
- Please consider --ca-native for OpenSSL by default on Windows HOT 2
- version 8.7.0 and 8.7.1 don't compile against OpenSSL 1.1.0h on Linux HOT 3
- Change in behaviour for duplicate "Transfer-Encoding = chunked" headers HOT 3
- Please update tiny-curl HOT 1
- SOCKS problem with 8.7.0+ HOT 21
- test 345 fails on AppVeyor HOT 2
- Unable to upload file with curl when --limit-rate is set to specific value HOT 3
- GitHub actions major outage/problem HOT 2
- `git clone` hangs with curl-8.7.1 HOT 7
- wolfSSL HTTP/3 peer verification is lacking HOT 4
- Ambiguous error message when decompressing brotli stream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curl.