toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 73 forks source link

Explain the SSL segfaults on OSX and propose a solution #121

Closed julik closed 8 years ago

julik commented 8 years ago

There is an issue with libCURL on OSX currently related to a bug (or a subtle behavior quirk) when forking is involved. This documents the issue, adds a test to see if it is present, and adds a compile-time flag to link curl from homebrew explicitly (because Homebrew does not put it in the default $PATH, for reasons).

I am afraid this is the best we can do at the moment. The problem is under investigation upstream.

toland commented 8 years ago

Nice catch and excellent work documenting the issue and workaround. Thanks!