<div dir="ltr">Hi all,<div>with two colleagues (Camille Oudot and Giacomo Vacca) we have been working to an asynchronous HTTP module. </div><div>The module uses libevent  (<a href="http://libevent.org/">http://libevent.org/</a>) and cURL's multi inteface (<a href="http://curl.haxx.se/libcurl/c/libcurl-multi.html">http://curl.haxx.se/libcurl/c/libcurl-multi.html</a>). It instantiates N workers at startup, each able to generate multiple requests in parallel and to resume the execution of the routing script upon reception of the HTTP reply (or on error); if the query is executed in a transaction context, the transaction itself will be suspended and resumed before continuing the routing logic execution.</div><div>The module, apart from implementing non blocking HTTP queries, also provides the ability to specify some HTTPS options per request, to customize HTTP headers and to use several HTTP methods (GET,POST,PUT,DELETE) making it very suitable for interacting with RESTful APIs.</div><div>We hope that this module can be useful to many.</div><div>As usual any feedback and improvement proposals are more than welcome!</div><div><br></div><div>Regards,</div><div><br></div><div>Federico</div></div>