ygrek / ocurl

OCaml bindings to libcurl
https://ygrek.org/p/ocurl
MIT License
59 stars 32 forks source link

Use the event-based API when integrating with LWT #19

Closed DemiMarie closed 7 years ago

DemiMarie commented 7 years ago

LWT uses a very efficient polling mechanism (libev), whereas libcurl uses poll and/or select, which are less efficient. These bindings should let LWT to handle the polling.

ygrek commented 7 years ago

this is already the case