Browse Source

udp server works

1.4
clowwindy 11 years ago
parent
commit
1ed149a46a
  1. 4
      shadowsocks/udprelay.py

4
shadowsocks/udprelay.py

@ -175,6 +175,10 @@ class UDPRelay(object):
# drop
return
self._eventloop.add(client, eventloop.MODE_IN)
data = data[header_length:]
if not data:
return
if self._is_local:
data = encrypt.encrypt_all(self._password, self._method, 1, data)
if not data:

Loading…
Cancel
Save