From: victor Date: Thu, 29 Oct 2009 16:39:54 +0000 (+0000) Subject: losses off X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=9d8cbe1d3c88bdda4715118eabcc860bb7212863;p=swift-upb.git losses off git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@492 e16421f0-f15b-0410-abcd-98678b794739 --- diff --git a/datagram.cpp b/datagram.cpp index 08abef0..c3ba032 100644 --- a/datagram.cpp +++ b/datagram.cpp @@ -14,7 +14,7 @@ #else #include #endif -#define RND_DROP 10 +//#define RND_DROP 10 #include #include "datagram.h" diff --git a/sendrecv.cpp b/sendrecv.cpp index e37a0c5..db4fdad 100644 --- a/sendrecv.cpp +++ b/sendrecv.cpp @@ -122,7 +122,8 @@ void Channel::Send () { void Channel::AddHint (Datagram& dgram) { while (!hint_out_.empty() && - hint_out_.front().time