Commit Graph

80 Commits (7199ffcaa2461d58d8844ae375d83d2629ab22da)

Author SHA1 Message Date
V2Ray 95b44f2160 Clear buffer for UDP response. 2015-10-11 15:18:35 +02:00
V2Ray 5cee727308 Fix socks authentication 2015-10-10 22:31:25 +02:00
V2Ray 578ede2538 release buffer after using 2015-10-10 17:01:05 +02:00
V2Ray 213aa2ecf0 Socks supports multiple accounts 2015-10-10 15:51:35 +02:00
V2Ray 746580d566 Use buffer in socks proxy 2015-10-08 23:06:12 +02:00
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00
V2Ray e7daa4c21c Add size parameter to transport.ReadFrom 2015-10-07 21:17:11 +02:00
V2Ray 3ba9ee73b9 Increase reading timeout in favor of long connection 2015-10-07 15:24:34 +02:00
V2Ray 72b4eeba8b Simpilify configuration files 2015-10-06 23:11:08 +02:00
V2Ray 78daf8a879 format code 2015-10-06 17:24:57 +02:00
V2Ray af8baa144d Update socks implementation 2015-10-06 11:57:26 +02:00
V2Ray 4aba285a99 format code 2015-10-05 17:09:57 +02:00
V2Ray f7e165c114 compatibility 2015-10-05 17:09:44 +02:00
V2Ray 1d1708ea3c lazy init of socks5 response 2015-10-04 16:53:50 +02:00
V2Ray 838cb8950a Enable UDP in Socks proxy 2015-10-04 00:21:06 +02:00
V2Ray ddad439614 Refactor socks request handling 2015-10-03 21:42:03 +02:00
V2Ray 76563cb7c7 simplify udp handling 2015-10-02 15:32:26 +02:00
V2Ray 13e595e4cb Move socks config into a sparate folder 2015-09-25 21:00:51 +02:00
V2Ray d77ba76ccf Update error handling in socks proxy 2015-09-25 17:59:45 +02:00
V2Ray 08f85fc9b7 Unify error checking by introducing error codes 2015-09-25 00:17:44 +02:00
V2Ray fc14b9346c Remove keepalive settings 2015-09-24 15:10:02 +02:00
V2Ray a78dbe7133 Close connection more aggressively. 2015-09-24 14:51:19 +02:00
V2Ray bb442b4f83 Fix usage of Mutex 2015-09-23 17:13:50 +02:00
V2Ray 3fbae6795a Switch to Mutex for better readability 2015-09-23 14:14:53 +02:00
V2Ray f30841019d simplify code 2015-09-22 18:31:06 +02:00
V2Ray 4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00
V2Ray cb16047cf0 prefer interface over struct 2015-09-20 18:22:29 +02:00
V2Ray b319704282 Add network type to destination to be ready for UDP connection 2015-09-20 16:03:12 +02:00
V2Ray a887fd01b8 Move log into common 2015-09-20 00:50:21 +02:00
V2Ray 075753c030 Massive refactoring for better code structure 2015-09-19 23:54:36 +02:00