I'm trying to watch some network traffic using Sniffer::HTTP. for the most part it is working well for me however on some of the larger connections I will see the message
Need more response body data (some%)
It will count up to 98%-100% and then timeout and the connection is deleted and all the data lost. My guess from looking at the code is that a packet somewhere in the middle got lost so length ($$buffer) is never going to be > $len. Problem is I can't for the life of me find a way to access the data that was captured and write it out so that I can look at it compared to what should have been captured and track down the which is the errant packet and figure out why it is being missed.
Can anyone help me to access the data that was captured upto the time of the stale_connection callback?
Thank youIn reply to Sniffer::HTTP problem with timeout by ponley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |