<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 31, 2017 at 5:01 PM Max Lapshin <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">I've looked into your katipo and I do not understand what for is it.</div></div></blockquote><div><br></div><div>It's a way to use libcurl from Erlang. You can find more information about libcurl here <a href="https://curl.haxx.se/libcurl/">https://curl.haxx.se/libcurl/</a>.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">You launch curl as a separate program and communicate with it from erlang. What for?</div></div></blockquote><div><br></div><div>HTTP compatibility (curl) and safety (port program).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">Erlang has excellent network communication system and you have selected most inefficient way to fetch http.</div></div></blockquote><div><br></div><div>As mentioned in my earlier email, the httpc_benchmark ranks katipo fairly well so any inefficiency of using an external port doesn't seem to be taking too much of a toll. I've considered using some sort of NIF but haven't found the need. Pull requests welcome though.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">We in Flussonic use lhttpc and it works for us.  Some fixes like adding timing and internal protocol support and it works for us.</div></div></blockquote><div><br></div><div><br></div></div></div>