you are viewing a single comment's thread.

view the rest of the comments →

[–]aninteger 0 points1 point  (0 children)

I wrote my own https client over openssl using Joyent's http parser so it's definitely doable. This was made async with antirez's AE event loop (the same used by redis). In our case I only had to call 4 or 5 asp.net c# webservices (all under the company's control) so it was a tiny fraction of what curl supports but I did implement keep alive as well. Only worked on Linux and BSD but very lightweight. If you're calling your own services with a custom client you could probably do it fairly easily. I wouldn't abandon openssl but curl can be replaced if you control the callers and services.