On Thu, 28 Apr 2016, lyx wrote:

 /* Send the request. Real applications should check the iolen
  * to see if all the request has been sent */

I think you need to read this comment above an extra time.

       res = curl_easy_send(curl, request, strlen(request), &iolen);

See, there's no checking 'iolen' here. How much of the request was sent?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to