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)
- No verbose output for DoH server HOT 6
- libcurl: unexpected url-decoding for CURLOPT_PROXYPASSWORD & CURLOPT_PROXYUSERNAME values
- Regression: CURLINFO_REQUEST_SIZE returns 0 when the response is aborted HOT 5
- Extra Output in WebSocket Responses HOT 3
- mysterious failures and IPv6 problems for macOS GitHub actions jobs HOT 6
- websocket.c example: curl_ws_recv returns "Socket not ready for send/recv" (errno 81) HOT 1
- http/3: transfer closed with n bytes remaining to read HOT 7
- clang-cl warnings in 'vtls/bearssl.c'
- NTLM authentication failing on Linux unless --http2 is specified HOT 3
- HTTP/2 libcurl regression HOT 5
- clang-cl warning in 'http/clients/ws-data.c' HOT 4
- Change in behavior for --remote-header-name HOT 2
- HAVE_STRUCT_TIMEVAL fails on Ubuntu 22.04 when it shouldn't HOT 3
- Bad order of linker arguments HOT 6
- curl 7.88.1-10+deb12u5 fails to download with tftp HOT 5
- mbedtls: trace with double-lines HOT 3
- About "add_custom_target(man ALL DEPENDS ${man_MANS})" HOT 10
- Write function callback is called twice after resume transfer and return CURL_WRITEFUNC_ERROR HOT 19
- File descriptor leakage HOT 10
- File descriptor leakage with multi handle and c-ares HOT 14
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.