Streaming connection

"Sylvain Thibault" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <3B5149483A8B42C2B58AEC04B4983FE7@Trading>
Greetings,

I am using a UserAgent with a callback to handle a streaming connection.  How does one terminate the connection client-side ?  How do you close the connection other than exiting the program ?

my $browser = LWP::UserAgent->new();

$response = $browser->get($surl, ':content_cb' => \&read_stream);

sub read_stream {...}

Thanks,

Sylvain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.