breakwa11
5b6dec5940
merge manyuser branch
9 years ago
breakwa11
a38db829f2
new UDP over TCP protocol, merge master
10 years ago
clowwindy
d774286dc0
rename utils module into shell
Since utils is ambiguous, we want to give the module a more
clear role.
10 years ago
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.
10 years ago
clowwindy
ce805f0aea
license under Apache License v2.0
10 years ago
fa08c
ebfd1486d8
Removing the overhead of creating a new list per event
10 years ago
fa08c
176e97bb45
Fixing some minor issues
10 years ago
clowwindy
2a53b67c65
python 3 support; not stable yet
10 years ago
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.
10 years ago
clowwindy
21f61c7d91
avoid removing items of the handler list while iterating over it; #179
10 years ago
clowwindy
380a646f09
handle signal soon; #179
10 years ago
clowwindy
a6b8a5eef9
add some debug logs
10 years ago
clowwindy
327c70e353
Graceful shutdown; close #179
10 years ago
clowwindy
46d23bf0d4
more log
11 years ago
clowwindy
816592b674
add more log
11 years ago
clowwindy
a185e1671b
add some status protection
11 years ago
clowwindy
476738d273
fix errno
11 years ago
clowwindy
bbad408ace
rename things
11 years ago
clowwindy
0c8a8ef23f
refine loop
11 years ago
clowwindy
f49d086d6a
add event names
11 years ago
clowwindy
bacf9cb443
more work
11 years ago
clowwindy
4f46400145
add ssloop branch
11 years ago
clowwindy
e6a225513e
fix remove()
11 years ago
clowwindy
ad4b65346c
fix event loop
11 years ago
clowwindy
e5149d0ed9
impl
11 years ago
clowwindy
6e7e689a24
add event loop
11 years ago
clowwindy
d940951b93
add udprelay
11 years ago