This is directed mainly towards Kirill Shuykin since his webmail form wasn't 
responding when I tried to mail him through his page, but if anyone else has 
any ideas, that's great too.

....

I'm using PoCoCi:UA 0.03 and I encountered a problem while using regular 
LWP::UserAgent style callbacks.  From PoCoUA's POD:

'""callback"" "callback" is an optional subroutine reference. If it is 
specified, the subroutine will be called as chunks of the response are 
received.'

However, as far as I could tell the callback is blocking.  I had actually 
tracked it down to LWP somewhere where a while() would call the callback with 
data chunks as they came in, but I can't find it now.

The result was my callback only received the first data chunk and then the 
rest mysteriously vanished.  I would get an HTTP::Response back from UA 
indicating success, but the data was missing in action.

I wish I had more details, but I switched to calling LWP::UA natively with 
Wheel::Run and that solved most my problems, so I stopped fiddling with 
PoCoUA.

Just thought I'd report that behavior, though.  If I'm in error let me know.

Thanks.

Reply via email to