Commit graph

23 commits

Author SHA1 Message Date
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
Renamed from shadowsocks/event.py (Browse further)