ropey has asked for the wisdom of the Perl Monks concerning the following question:
Hell fellow monks
Got a strange problem, can't seem to work out how to manage, am using LWP::Parallel::UserAgent to query a webservice in pseudo parallel, I also use the callback feature so that when a request is completed, the specifed callback sub is called. This is all standard UserAgent stuff, however the problem is that the request coming back is coming back in Chunked parts.
So what I would like to see is this Send off a request - when FULL request comes back (no chunks) then the callback sub is called and the complete request processed. However the problem is that its coming back in Chunks, and for every chunk of the data the callback sub is called. According to the documentation you can specify a chunk size, have tried to specify a high chunk size so that it all comes back in one chunk... but to no avail - has any other monk come across this and has a fix... or is my explaination of the problem too ropey....
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: LWP::Parallel::userAgent Disable Chunks
by merlyn (Sage) on Jul 19, 2005 at 11:42 UTC |