Hi All,
I'm testing libcurl sample code in my ubuntu. This code is as listed in 
https://curl.haxx.se/libcurl/c/sendrecv.html. I copied it from above webpage 
and compiled in my ubuntu. I enabled VERBOS option and changed the URL to 
https://www.baidu.com to test customized send and recv under https protocol. I 
find the sample code worked sometimes I run it while failed to work in other 
times. The sample code will not display any https reply or can only display 
part of the reply. If I only use curl_easy_perform to test this website without 
using recv and send function, it worked every time.


Is there any bugs in the sample in https://curl.haxx.se/libcurl/c/sendrecv.html?


Thanks

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

Reply via email to