36 Commits
Author SHA1 Message Date
破娃酱 5e14119b41 removefd 2017-05-10 20:10:23 +08:00
破娃酱 be696555a7 new speed tester 2017-05-09 23:20:37 +08:00
破娃酱 f296751def bandwidth limit of the user 2017-02-14 21:36:38 +08:00
破娃酱 6732244ddf lower latency 2017-02-13 02:14:21 +08:00
破娃酱 2723295101 fix CPU usage 2017-02-13 01:38:48 +08:00
破娃酱 72ca31dad9 add traffic control for each TCP connection 2017-02-12 22:35:26 +08:00
夏侯 a02e995a8a fix bug at KqueueLoop close (#117) 2016-09-16 19:26:54 +08:00
破娃酱 3ce6e6f714 fix transfer update 2016-08-13 23:36:00 +08:00
BreakWa11 ce189ecd85 remove useless log
add openssl rand_bytes
2016-05-25 22:21:17 +08:00
BreakWa11 3c64e849b0 log client address 2016-05-24 14:52:38 +08:00
BreakWa11 8b35508b6f show exception peer name 2016-05-23 17:44:01 +08:00
breakwa11 9defba2d36 merge master 20150810 2015-08-12 14:37:17 +08:00
breakwa11 a9ea55c396 new UDP over TCP protocol, merge master 2015-08-05 16:24:14 +08:00
clowwindy d774286dc0 rename utils module into shell
Since utils is ambiguous, we want to give the module a more
clear role.
2015-02-10 17:26:10 +08:00
clowwindy cb7062e1c1 implement utils.print_exception()
Previously we used logging.error(e) and traceback.print_exc()
to output error stack trace. The problem is, we want to
output the stack trace only when verbose > 0. The if statement
scattered around the code. So we replaced them with the new
utils.print_exception() call.
2015-02-10 17:21:29 +08:00
clowwindy ce805f0aea license under Apache License v2.0 2015-02-03 14:10:36 +08:00
fa08c ebfd1486d8 Removing the overhead of creating a new list per event 2015-01-12 10:32:03 +08:00
fa08c 176e97bb45 Fixing some minor issues 2015-01-08 11:03:12 +08:00
clowwindy 2a53b67c65 python 3 support; not stable yet 2014-10-31 18:28:22 +08:00
sybblow dfd4cdd758 avoid memory leak
Although fd is always the smallest number which haven't been allocated, which means memory leak is quite small. but the worst situation may consume lots of memory.
2014-09-25 20:18:02 +08:00
clowwindy 21f61c7d91 avoid removing items of the handler list while iterating over it; #179 2014-09-13 00:02:21 +08:00
clowwindy 380a646f09 handle signal soon; #179 2014-09-12 22:18:08 +08:00
clowwindy a6b8a5eef9 add some debug logs 2014-09-12 00:53:12 +08:00
clowwindy 327c70e353 Graceful shutdown; close #179 2014-09-12 00:51:25 +08:00
clowwindy 46d23bf0d4 more log 2014-06-19 09:20:04 +08:00
clowwindy 816592b674 add more log 2014-06-06 22:57:57 +08:00
clowwindy a185e1671b add some status protection 2014-06-06 22:52:02 +08:00
clowwindy 476738d273 fix errno 2014-06-02 18:16:24 +08:00
clowwindy bbad408ace rename things 2014-06-01 19:34:35 +08:00
clowwindy 0c8a8ef23f refine loop 2014-06-01 19:09:52 +08:00
clowwindy f49d086d6a add event names 2014-06-01 17:17:50 +08:00
clowwindy bacf9cb443 more work 2014-06-01 13:42:48 +08:00
clowwindy 4f46400145 add ssloop branch 2014-05-30 16:28:44 +08:00
clowwindy e6a225513e fix remove() 2014-04-24 12:34:31 +08:00
clowwindy ad4b65346c fix event loop 2014-04-23 19:27:38 +08:00
clowwindy e5149d0ed9 impl 2014-04-23 17:57:09 +08:00