danwrong/restler — pull request #82 by 8bitDesigner (2012-05-04 06:53:25+00:00)
Title: Adding option to supply a custom http(s) agent

This scratches the particular itch I have here: https://github.com/danwrong/restler/issues/81

Long story short, Facebook's servers aren't handling SSL connections on from newer versions of OpenSSL correctly, and the workaround at the moment is to force SSL connections to Facebook into SSL v3 mode.

NodeJS has a way of doing this via custom HTTP agents which allow finer control over how assets are fetched over HTTP(S), but, alas, I cannot specify an agent as part of the Restler request options.

This pull request adds that option - would love to hear your thoughts on this.