2013-01-21から1日間の記事一覧

OCurl or ocaml-curl 0.5.3 has a bug around set_postfields

A personal memo. Probably useful for the others met the same problem.Symptom: POST data set by set_postfields are often sent with garbages at the end.Cause: a typical bug of forgetting copying \0 in C codeWorkaround: In 0.5.3, set_postfiel…