Giter Club home page Giter Club logo

Comments (4)

toland avatar toland commented on July 29, 2024

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.

camilo avatar camilo commented on July 29, 2024

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.

toland avatar toland commented on July 29, 2024

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.

camilo avatar camilo commented on July 29, 2024

Sensible choice I did update my curl after all anyway.

from patron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.