cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Re: Close callback

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Fri, 7 Mar 2008 09:24:45 -0600

On Fri, Mar 7, 2008 at 8:51 AM, Ingo Krabbe <ikrabbe.ask_at_web.de> wrote:

> could you please send me an example output of the ghiper socket_cb functions ?
>
> MSG_OUT("socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]);
> MSG_OUT("Adding data: %s%s\n",
> MSG_OUT(
> "Changing action from %d to %d\n", fdp->action, what);
>
> ??

% ./ghiper
Now, pipe some URL's into > hiper.fifo
Adding easy 0x805eae8 to multi 0x804d680 (http://www.cnn.com/)
*** update_timeout_cb 0 => 0:0 ***
socket callback: s=4 e=0x805eae8 what=IN Adding data: READ
*** update_timeout_cb 4979 => 4:979000 ***
Adding easy 0x8070f88 to multi 0x804d680 (http://www.foxnews.com/)
*** update_timeout_cb 0 => 0:0 ***
*** update_timeout_cb 4972 => 4:972000 ***
socket callback: s=5 e=0x8070f88 what=IN Adding data: READ
socket callback: s=4 e=0x805eae8 what=OUT Changing action from 1 to 2
socket callback: s=5 e=0x8070f88 what=OUT Changing action from 1 to 2
*** update_timeout_cb 29806 => 29:806000 ***
socket callback: s=4 e=0x805eae8 what=REMOVE
socket callback: s=4 e=0x805eae8 what=IN Adding data: READ
socket callback: s=5 e=0x8070f88 what=REMOVE
socket callback: s=5 e=0x8070f88 what=IN Adding data: READ
*** update_timeout_cb 321 => 0:321000 ***
*** update_timeout_cb 29000 => 29:0 ***
*** update_timeout_cb 823 => 0:823000 ***
*** update_timeout_cb 28997 => 28:997000 ***
socket callback: s=5 e=0x8070f88 what=REMOVE
*** update_timeout_cb 24928 => 24:928000 ***
REMAINING: 1
DONE: http://www.foxnews.com/ => (0)
Requested: 2 Completed:1
socket callback: s=4 e=0x805eae8 what=REMOVE
REMAINING: 0
DONE: http://www.cnn.com/ => (0)
Requested: 2 Completed:2
last transfer done, kill timeout

 - Jeff
Received on 2008-03-07