ryddler has asked for the wisdom of the Perl Monks concerning the following question:
I have a small proxy script that occasionally runs into a server-push stream that doesn't end. I'd like to be able to do something like:
$response = $useragent->simple_request($request, \&callback, 2048); ... time passes ... $useragent->killstream;
Except that I haven't been able to find any reference anywhere in the docs, searching on perlmonks, or even the lwp mailing list, that such a function or method exists.
I have tried setting the useragent to undef, but the stream continues to flow in. Unless I explicitly kill the script altogether, nothing seems to work.
Fellow monks, has anyone a solution for my woes?
ryddler
|
---|
Replies are listed 'Best First'. | |
---|---|
(jeffa) Re: Killing a server-push stream in LWP?
by jeffa (Bishop) on Oct 16, 2001 at 19:55 UTC | |
by ryddler (Monk) on Oct 16, 2001 at 20:16 UTC | |
Re: Killing a server-push stream in LWP?
by grinder (Bishop) on Oct 17, 2001 at 00:05 UTC |