On Fri, 7 Nov 2014, Tural Ismayilzade wrote: Please don't top post - I appreciate you may be new to the mailing list but please see the mailing list etiquette link at the bottom of this email.
> yes QUIT command is sent. Weird - Are you able to debug your libcurl as something isn't quite right? I would point a break point in pop3_disconnect() and see what happens in pop3_perform_quit() and pop3_block_statemach(), and whether Curl_pp_disconnect() gets called afterwards. > command line version works good. Before you do that you might like to run "curl -v pop3://host/1 --libcurl" to generate sample source code and compare that against yours. > libcurl is version 7.35.0. I take it your libcurl version matches that of your curl command line? I'm running libcurl 7.26.0 (One of the earliest versions that I got all my POP3 changes and fix ups into) and 7.38.0 at work and don't have any issues with either. Are you in a position where you are able to use a later version of libcurl to see whether there are any issues there too? Kind Regards Steve ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html