File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -880,6 +880,8 @@ namespace stream
880
880
numMsgs = m_NumPacketsToSend;
881
881
if (m_RoutingSession)
882
882
{
883
+ m_IsJavaClient = m_RoutingSession->IsWithJava ();
884
+ if (m_IsJavaClient) m_MaxWindowSize = 64 ;
883
885
int numSentPackets = m_RoutingSession->NumSentPackets ();
884
886
int numPacketsToSend = m_MaxWindowSize - numSentPackets;
885
887
if (numPacketsToSend <= 0 ) // shared window is full
@@ -1337,8 +1339,6 @@ namespace stream
1337
1339
m_CurrentRemoteLease = routingPath->remoteLease ;
1338
1340
m_RTT = routingPath->rtt ;
1339
1341
}
1340
- m_IsJavaClient = m_RoutingSession->IsWithJava ();
1341
- if (m_IsJavaClient) m_MaxWindowSize = 64 ;
1342
1342
}
1343
1343
1344
1344
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
You can’t perform that action at this time.
0 commit comments