in reply to Re: Sniffer::HTTP problem with timeout
in thread Sniffer::HTTP problem with timeout
and all I get is a blank line following the Stale Connection text. After reading your response I went into Sniffer/Connection/HTTP.pm and addedstale_connection => sub { my ($s,$conn,$key) = @_; print "Stale Connection\n".${$conn->recv_buffer}."\n"; $conn->log->("$key is stale."); $s->remove_connection($key); },
which does print the data. So somehow I seem to be losing the data on the way back to my code. What am I doing wrong?print ${$self->recv_buffer};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sniffer::HTTP problem with timeout
by Corion (Patriarch) on Mar 20, 2011 at 10:04 UTC | |
by ponley (Novice) on Mar 20, 2011 at 21:15 UTC | |
by Corion (Patriarch) on Mar 20, 2011 at 21:24 UTC | |
by ponley (Novice) on Mar 20, 2011 at 22:35 UTC | |
by ponley (Novice) on Mar 22, 2011 at 04:08 UTC | |
|