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
783a6ef7f2
support multiple server ip on client side
10 years ago
clowwindy
ce805f0aea
license under Apache License v2.0
10 years ago
clowwindy
53a7e4d0e4
remove print
10 years ago
clowwindy
f7316c0047
change logging level for UDP warning
10 years ago
clowwindy
4312eb9e58
add forbidden support for UDP and add tests
10 years ago
clowwindy
a502dd32fc
fix UDP
10 years ago
clowwindy
2a53b67c65
python 3 support; not stable yet
10 years ago
clowwindy
0814888ba5
use absolute import
10 years ago
clowwindy
380a646f09
handle signal soon; #179
10 years ago
clowwindy
327c70e353
Graceful shutdown; close #179
10 years ago
clowwindy
a323f878e1
prefer addrtype 1 and 4 over 3 in UDP relay
10 years ago
clowwindy
040c956472
fix server-multi-ports
10 years ago
clowwindy
122f233143
fix udprelay for local
10 years ago
clowwindy
46d23bf0d4
more log
11 years ago
clowwindy
71c3759c12
add async dns
11 years ago
clowwindy
0c8a8ef23f
refine loop
11 years ago
clowwindy
47fd479d6e
almost done
11 years ago
clowwindy
c2f6bc369c
more work
11 years ago
clowwindy
0d6c39900b
more work
11 years ago
clowwindy
4f46400145
add ssloop branch
11 years ago
clowwindy
ea451344ff
fix workers
11 years ago
clowwindy
3f523ee942
fix workers
11 years ago
clowwindy
b8f9370426
fix close
11 years ago
clowwindy
7e70fe290a
fix local
11 years ago
clowwindy
e6a225513e
fix remove()
11 years ago
clowwindy
6834178a89
add LRUCache
11 years ago
clowwindy
9ffb0320bb
move connect to a proper place
11 years ago
clowwindy
6e50890f4f
add connect
11 years ago
clowwindy
10c73e555a
fix a typo
11 years ago
clowwindy
1ed149a46a
udp server works
11 years ago
clowwindy
43b5d6c63a
lint code
11 years ago
clowwindy
10358ffebd
add checkout for header
11 years ago
clowwindy
0f23b58656
implement udp relay
11 years ago
clowwindy
e5149d0ed9
impl
11 years ago
clowwindy
6e7e689a24
add event loop
11 years ago
clowwindy
d940951b93
add udprelay
11 years ago