Comments (4)
That version of curl is quite old (released in January of 2008). Patron should work with curl 7.19.4 or later. I could probably create a patch that would work around this issue but it might be at the expense of some features that rely on later versions of libcurl.
from patron.
Yes, that version is oldish, I'm kinda stuck with it for a while.
I just realized that, the "problem" is caused by the support of SOCKS family of protocols 12d55f9#diff-0 . Maybe an #ifdef CURLPROXY_HTTP_1_0 directive will solve the compiling problems.
FYI 0.4.9 does work just fine with the old version, so maybe people (aka me) should just update their curl versions to use patron 4.0.10 ;-).
from patron.
I am cleaning out the issue queue and ran into this one. After contemplating for a while I have decided not to add an #ifdef for this case. libcurl is constantly adding constants, and 7.18 is an extremely old version of curl. AFAICT Patron will work with version 7.19 and above, and I am willing to establish that as the minimum version of curl required. The problem is that trying to work out which constants need to be #ifdefed to work with old versions of curl would be huge and the resulting code would be significantly cluttered up. If someone can point out a place where 7.18 is common and make a good argument that Patron should support 7.18 then I am willing to reconsider.
from patron.
Sensible choice I did update my curl after all anyway.
from patron.
Related Issues (20)
- Release 0.8 HOT 1
- Automate the Patron release process HOT 5
- Idea: Connection pooling using curl_multi HOT 4
- Add streaming upload/download support HOT 1
- Release new version HOT 2
- The Hive copyright comment HOT 1
- Respond to signals when outside the GIL HOT 3
- Headers aren't parsed correctly for first request when connection is proxied HOT 1
- Redirect handling inconsistency HOT 3
- VCR issues after upgrading patron 0.10.0 -> 0.11.1 HOT 6
- RFC: Streaming response bodies HOT 8
- PATCH method doesn't send body HOT 4
- Gem not installed to ruby 2.1.2 HOT 1
- how to set ssl client_key / client_cert ? HOT 6
- Request: Render full server response as a string HOT 1
- Figure out the actual set of supported HTTP verbs
- --http1.1 option please HOT 1
- "checking for ruby/thread.h... *** extconf.rb failed ***" when installing on google/cloud-sdk:alpine docker image HOT 1
- one rspec test fails on Arch Linux
- Basic Auth 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 patron.