Given the final paragraph:<p>> I still haven't answered a very important question. Why is libcUrl so much slower?<p>I'd assume it's likely a result of misuse of libcUrl, or cUrl properly implementing some part of the spec that this hand-rolled implementation ignores.<p>On top of this, the author's C code isn't very well written. There's use of `sprintf` without arithmetic bounds checks (really he should use `snprintf`), unnecessary construction of a one-character array (that's what a dereference is for), inconsistent whitespace, `malloc` when a stack allocation would make more sense, use of `unsigned char` instead of `char` for strings, etc.<p>From what I can tell, the libcUrl guys are serious about performance, and I have trouble believing such a wild allegation without any further analysis.