Commit Graph

213 Commits

Author SHA1 Message Date
Arvid Norberg 84fcc0baf0 merged utp fix from RC_0_16 2013-09-12 11:28:54 +00:00
Arvid Norberg 275c340231 make socket buffer sizes affect the udp socket as well. for high_performance_seed preset, set 1 MB socket buffers. only run test_rate() in proper release mode (without invariant checks and debug-iterators). lower the time limit of test_rate. update regression tests to disable invariant checks and debug iterators when building release mode 2013-09-02 09:24:34 +00:00
Arvid Norberg 50ecb07d19 merged silencing of warnings from RC_0_16 2013-06-14 16:41:47 +00:00
Arvid Norberg d21243dc9f make release asserts build 2013-03-27 23:46:13 +00:00
Arvid Norberg c40a35e90b uTP fix for loopback on mac 2013-02-25 05:09:35 +00:00
Arvid Norberg a0caa0f4b2 disable invariant_check functions when invariant checks are disabled 2013-02-25 04:13:46 +00:00
Arvid Norberg b3b1180069 clean up uTP implementation by not using any timers 2013-02-06 04:38:30 +00:00
Arvid Norberg f73fa778d6 slight refactoring to remove a dependency on session_impl in rpc_manager 2013-02-05 04:18:44 +00:00
Arvid Norberg ecc42c0a78 merged utp fix from RC_0_16 2013-01-28 03:47:36 +00:00
Arvid Norberg 2f995f77a8 fix the source context for todo-items 2013-01-21 16:25:43 +00:00
Arvid Norberg d9b37f05cc merged changes from RC_0_16 2013-01-21 10:18:25 +00:00
Arvid Norberg 652bf8323b prioritize some more todo mark-ups 2013-01-21 01:40:59 +00:00
Arvid Norberg f1b8582a95 add gen_todo.py script. include todo.html and mark up some todos in the code with priority 2013-01-20 23:21:53 +00:00
Arvid Norberg 5a23ca5855 add some asserts to utp_stream.cpp 2012-12-10 08:07:50 +00:00
Arvid Norberg 6a3ee5a7cf whenever checking for EWOULDBLOCK, also check for EAGAIN 2012-11-20 02:08:12 +00:00
Arvid Norberg e23e417ef9 fix race condition in destroyed uTP socket that was waiting for the underlying udp socket to become writable 2012-11-20 01:58:09 +00:00
Arvid Norberg 63532b2c9b the sack header needs to be removed from a nagle packet or a re-sent packet if there are no longer any unordered incoming packets 2012-10-20 14:53:54 +00:00
Arvid Norberg 3555b01b85 merged utp_socket and simultaneous connections fix from RC_0_16 2012-10-10 04:40:18 +00:00
Arvid Norberg bff648a89e update copyright dates and add tool to do so 2012-10-02 03:16:33 +00:00
Arvid Norberg 2f985de420 merge uTP slow start fix from RC_0_16 2012-09-26 01:27:58 +00:00
Arvid Norberg cee9b6d5cb PMTUD improvements 2012-08-13 16:49:28 +00:00
Arvid Norberg a84c5e0e85 disable support for large MTUs in uTP until it is more reliable 2012-08-12 15:54:59 +00:00
Arvid Norberg 135a14ad75 minor uTP fix 2012-07-25 16:14:21 +00:00
Arvid Norberg 6aabc14e19 fix memory leak in utp_socket_impl 2012-07-21 14:33:01 +00:00
Arvid Norberg bd4f173bc5 fix uTP edge case where udp socket buffer fills up 2012-07-01 18:44:46 +00:00
Arvid Norberg 2f26d62f1c one more utp fix 2012-06-30 08:06:20 +00:00
Arvid Norberg 8fffb4bb35 pmtud fix 2012-06-29 19:40:27 +00:00
Arvid Norberg d4d53e6a5a fix windows build 2012-06-29 05:41:30 +00:00
Arvid Norberg a583c2fe88 fix uTP NAGLE algorithm some more (seems stable now) 2012-06-28 03:53:52 +00:00
Arvid Norberg 1419b5c14c some more asserts in utp 2012-06-26 23:52:48 +00:00
Arvid Norberg 5797430b4a fix invalid NAGLE assert 2012-06-26 04:10:53 +00:00
Arvid Norberg c6b368a763 add invariant check to utp_socket_impl 2012-06-26 03:42:01 +00:00
Arvid Norberg aeea1cd2af fix to new NAGLE implementation 2012-06-26 03:41:04 +00:00
Arvid Norberg 57769bab11 fix some compiler warnings 2012-06-25 14:17:51 +00:00
Arvid Norberg e51e953cb9 fix nagle implementation in uTP 2012-06-25 06:27:37 +00:00
Arvid Norberg dad544dfd0 tighten up the cwnd saturating timeout rule for allowing increasing cwnd 2012-06-25 06:05:28 +00:00
Arvid Norberg 6be3357759 improve some uTP logging 2012-06-25 05:57:59 +00:00
Arvid Norberg c24b372191 never set cwnd to less than mtu on time-out 2012-06-25 05:39:36 +00:00
Arvid Norberg 34694bf91f log packet sizes at the normal logging level in uTP and also parse it out in parse_utp_log.py 2012-06-25 05:38:29 +00:00
Arvid Norberg 3f1bfb5477 fix linux build and make use of the system INT64_MAX define 2012-06-24 19:50:49 +00:00
Arvid Norberg 98737a2c4d disable uTP logging 2012-06-21 16:47:13 +00:00
Arvid Norberg 351e34f9d1 polish uTP slow start 2012-06-21 16:41:05 +00:00
Arvid Norberg 2b9b2a188a remove uTP delayed ack and instead send acks when the udp socket has been drained. simplify the udp socket to use null_buffers and allocate less memory for buffers. this also eliminated the race condition when resizing the udp socket receive buffer which greatly simplified it 2012-06-21 15:05:57 +00:00
Arvid Norberg 1b2805118d make uTP less aggressive resetting cwnd when idle 2012-06-16 02:16:45 +00:00
Arvid Norberg 0d7e3cb8c7 uTP timeout fix 2012-05-05 23:54:41 +00:00
Arvid Norberg cafbf2ca1d more work on minimizing shared object export symbol table 2012-03-20 03:53:07 +00:00
Arvid Norberg df2e891a2d set uTP target delay to 100 ms. expose setting for packet loss multiplier for cwnd 2012-03-11 05:46:15 +00:00
Arvid Norberg 30d02f6b7a fix potential integer overflows and a typo in boost_version conditional 2012-02-27 06:26:11 +00:00
Arvid Norberg 3d04b5cc49 fix logging formatting bug in utp_stream 2011-11-19 20:06:20 +00:00
Arvid Norberg f39b6b19e9 fix initialization issue of fast_resend_seq_nr for incoming uTP connections. Also log the fast_resend_seq_nr 2011-11-06 00:11:33 +00:00
Arvid Norberg 8c0672a9b7 fix overflow in utp logging 2011-11-05 18:28:32 +00:00
Arvid Norberg 4a6e012a5f some uTP tweaks. experimental slow start mode (disabled) 2011-11-05 09:30:38 +00:00
Arvid Norberg d54c85d31b log uTP receive delay in stats log 2011-09-28 00:03:12 +00:00
Arvid Norberg 0a250c8f36 minor fixes 2011-08-29 00:59:42 +00:00
Arvid Norberg 7a48e90246 some utp asserts 2011-08-24 05:13:25 +00:00
Arvid Norberg 4abf581f0a utp fix 2011-08-10 05:23:59 +00:00
Arvid Norberg 069b022c6d fixed uTP socket leak 2011-07-14 03:46:03 +00:00
Arvid Norberg c390dd5858 measure uTP send delay and log it in stats log. change unit on times to seconds (from milliseconds and microseconds) 2011-06-21 07:44:13 +00:00
Arvid Norberg ab3b82b8ee replaced std::rand() with custom random generator 2011-02-26 07:55:51 +00:00
Arvid Norberg 141ada013f fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way 2011-02-21 05:24:41 +00:00
Arvid Norberg 1074fc1f31 fixed some uninitalized variables 2010-12-24 23:54:03 +00:00
Arvid Norberg 2f115bc1aa factor out incremeant of m_acked_seq_nr, m_fast_resend_seq_nr and m_loss_seq_nr to make it more robust. Should fix issues where m_acked_seq_nr sometimes could get stuck pointing behind the last acked sequence number 2010-12-05 03:03:56 +00:00
Arvid Norberg e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +00:00