I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 00d1b751 authored by zzz's avatar zzz
Browse files

* Streaming: Flush debug pcap stream after closing connection

parent faadbf70
No related branches found
No related tags found
No related merge requests found
...@@ -525,6 +525,8 @@ class ConnectionManager { ...@@ -525,6 +525,8 @@ class ConnectionManager {
_context.statManager().addRateData("stream.con.lifetimeRTT", con.getOptions().getRTT(), con.getLifetime()); _context.statManager().addRateData("stream.con.lifetimeRTT", con.getOptions().getRTT(), con.getLifetime());
_context.statManager().addRateData("stream.con.lifetimeCongestionSeenAt", con.getLastCongestionSeenAt(), con.getLifetime()); _context.statManager().addRateData("stream.con.lifetimeCongestionSeenAt", con.getLastCongestionSeenAt(), con.getLifetime());
_context.statManager().addRateData("stream.con.lifetimeSendWindowSize", con.getOptions().getWindowSize(), con.getLifetime()); _context.statManager().addRateData("stream.con.lifetimeSendWindowSize", con.getOptions().getWindowSize(), con.getLifetime());
if (I2PSocketManagerFull.pcapWriter != null)
I2PSocketManagerFull.pcapWriter.flush();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment