ygrek / ocurl

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

curlDebugType not up-to-date, may lead to segfault #25

Closed nojb closed 7 years ago

nojb commented 7 years ago

It is missing the cases CURLINFO_SSL_DATA_IN and CURLINFO_SSL_DATA_OUT and the conversion in curl-helper.c (function cb_DEBUGFUNCTION) assumes the OCaml constructors correspond exactly with the C enum (see here in current master).

ygrek commented 7 years ago

Thanks, there was another potential segfaul in same function %)