Merge pull request #11025

6d3a705 epee: fix peak upload speed accounting (Samy)

ACKs: jpk68*, selsta
This commit is contained in:
tobtoht
2026-08-07 20:34:06 +00:00
@@ -547,8 +547,8 @@ namespace net_utils
m_state.stat.out.throttle.handle_trafic_exact(bytes_transferred);
const auto speed = m_state.stat.out.throttle.get_current_speed();
get_context().m_current_speed_up = speed;
get_context().m_max_speed_down = std::max(
get_context().m_max_speed_down,
get_context().m_max_speed_up = std::max(
get_context().m_max_speed_up,
speed
);
if (speed_limit_is_enabled()) {