Threadsafe Libcurl HTTPS Post

Just starting out? Need help? Post your questions and find answers here.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: Threadsafe Libcurl HTTPS Post

Post by djes »

This procedure goal is to get from Unicode an ASCII string to give parameters to curl (a string is actually a pointer), and fully handled by pb. If it works without bugs or memory leaks in multithreaded it's ok for me...

Kenmo> the first example was only to show that some code could have problems with peeks() if the double 0 are not aligned on two bytes boundaries. When you're hacking around with data convert, it's good to know, as good it was for me (thanks to you) to see that peeks() doesn't need only one zero to stop when using -1 as length parameter.
Post Reply