curl-library
RE: [PATCH] POP3: Expanded the supported commands
Date: Sat, 10 Mar 2012 16:42:28 +0100 (CET)
On Sun, 26 Feb 2012, Steve Holme wrote:
> I tested this with "curl -k --url pop3://pop3.domain.com --user username
> --head" and "curl -k --url pop3://pop3.domain.com/1 --user username --head"
>
> It seems that because pp->cache has some content in pop3_state_retr_resp()
> and pop3_state_list_resp() that the body is transferred to the application.
> Do these functions need to do:
>
> If(pp->cache && !data->set.opt_no_body)
>
> For example or would you expect the cache to be empty if CURLOPT_NOBODY was
> set?
(sorry for the long delay for my response, I had missed this question)
I haven't really considered that before. I figure NOBODY for POP3 would
basically mean that it should do everything except the actual request for the
mail so it would skip that transfer - basically skipping the RETR operation.
The 'cache' is used for all responses so it will of course be used even in
NOBODY uses.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-03-10