Commit Graph

310 Commits

Author SHA1 Message Date
M66B 4e79d7157b Fixed stalling downloads on high speed connections
Thanks @pulser for his patience testing this
2016-06-25 15:38:23 +02:00
M66B 27d8b44416 Revert "Check if tun writable"
This reverts commit fc8dba19ea.
2016-06-25 14:53:36 +02:00
M66B fc8dba19ea Check if tun writable 2016-06-25 14:43:07 +02:00
M66B 7eb8a1762b Fixed hang on read 2016-06-25 14:20:17 +02:00
M66B 6e98beba5b Fixed logging 2016-06-25 12:14:21 +02:00
M66B c5a291c9ae Dynamic TCP monitoring
Refs #431
2016-06-25 11:12:09 +02:00
M66B 6b62e9ecb1 Read sockets while readable 2016-06-25 09:53:48 +02:00
M66B 00cc6fea1c Read tun while readable
Refs #431
2016-06-25 09:28:34 +02:00
M66B 32304b549f Use multiple epoll events
Refs #431
2016-06-25 09:12:54 +02:00
M66B 567f3dfcb1 Drop TCP packets with URG data
Closes #436
2016-06-24 21:25:01 +02:00
M66B fca06ee248 Skip timeout of to be deleted sessions
Refs #431
2016-06-24 19:53:31 +02:00
M66B e647d0ea29 Revert "Handle epoll hup"
This reverts commit 4b847acc88.
2016-06-24 18:46:13 +02:00
M66B cf3f629b52 Optimization
Refs #431
2016-06-24 18:33:44 +02:00
M66B 4b847acc88 Handle epoll hup
Refs #431
2016-06-24 18:33:29 +02:00
M66B 0520a51736 Log epoll hup
Refs #431
2016-06-24 17:56:33 +02:00
M66B f615d251b1 Simplications
Refs #431
2016-06-24 17:48:22 +02:00
M66B af71ba803f Replace signals by pipe
Refs #431
2016-06-24 17:44:54 +02:00
M66B b1de77be1e Cleanup obsolete code
Refs #431
2016-06-24 16:28:50 +02:00
M66B 810a7ca23c Increase max session count to 75%
Refs #431
2016-06-24 16:15:01 +02:00
M66B 5e0f64a039 Optimize session checking
Refs #431
2016-06-24 16:12:05 +02:00
M66B 6c7c66322a Optimize session counting
Refs #431
2016-06-24 15:48:03 +02:00
M66B 11c79001b5 Switch from pselect to epoll
Refs #431
2016-06-24 15:21:04 +02:00
M66B 7983b03c6c Use fcntl to check for valid file descriptors
Refs #431
2016-06-23 16:50:15 +02:00
M66B 2fe2fdd273 Limit number of sessions to 50% of available descriptors
Limit number of retries after EBADF to 10 times

Closes #420
2016-05-06 07:06:53 +02:00
M66B 4164014df7 Revert fddbdccdec 2016-05-01 16:11:57 +02:00
M66B fddbdccdec Reduce searching for ready file descriptors to save battery 2016-04-16 12:19:40 +02:00
M66B 2782d44e10 Revert "Increase uid retry to 10"
This reverts commit 51ef5f2093.
2016-04-14 15:18:02 +02:00
M66B 51ef5f2093 Increase uid retry to 10 2016-04-11 18:54:38 +02:00
M66B c36ff9e420 Limit number of sessions to FD_SETSIZE 2016-04-11 08:11:49 +02:00
M66B 51332c6910 Prevent crash 2016-04-07 09:20:26 +02:00
M66B 5c5d016bd6 Android N compatibility: get system properties
http://developer.android.com/preview/behavior-changes.html#ndk
2016-03-26 18:16:28 +01:00
M66B bfce66196a Increase TCP idle timeout from 5 minutes to 1 hour 2016-03-25 08:07:06 +01:00
M66B ebdddb11ef Allow clearing datagram/stream separately 2016-03-19 07:27:22 +01:00
M66B 8608f20740 Fixed warnings 2016-03-11 11:32:15 +01:00
M66B b05f170e18 Allow dynamic MTU 2016-03-11 08:08:54 +01:00
M66B df04c29f1c Refactoring 2016-03-11 07:47:52 +01:00
M66B a8ad7a7b19 Small improvement 2016-03-10 16:41:49 +01:00
M66B 2233c92200 Small improvement 2016-03-10 13:21:50 +01:00
M66B bb43808ef3 Fixed warnings 2016-03-09 12:59:29 +01:00
M66B 2c0d0bc760 Fixed version conversion 2016-03-08 11:36:30 +01:00
M66B ef811796a5 Extra checks 2016-03-06 10:24:28 +01:00
M66B 27b19d630d Check for TCP urgent data 2016-03-05 14:12:10 +01:00
M66B 00edcd03e8 Define MTU in one place 2016-03-04 14:55:47 +01:00
M66B 27e98a6bd8 Handle partial sends 2016-03-04 13:24:58 +01:00
M66B 72e77f4a97 Implement TCP window scaling 2016-03-04 11:12:34 +01:00
M66B fe5f9370a3 Decode TCP window scale option 2016-03-03 12:40:05 +01:00
M66B 99ff31aad6 Increased send and receive window to 48 KB 2016-03-03 12:17:14 +01:00
M66B a055791d4a Calculate receive winodw after forwarding data 2016-03-03 11:02:45 +01:00
M66B 223de55f58 Removed local keep alive to save battery 2016-03-01 11:22:41 +01:00
M66B 5402eeed2a Revert "Enable keep alive later and enable on remote close"
This reverts commit fd614bcbd7.
2016-03-01 11:12:21 +01:00