1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-05 09:47:56 -05:00
Commit Graph

743 Commits

Author SHA1 Message Date
V2Ray
746580d566 Use buffer in socks proxy 2015-10-08 23:06:12 +02:00
V2Ray
3cb1951dfc Use []byte in pool instead of buffer 2015-10-08 17:41:38 +02:00
V2Ray
472cf7f523 Remove commented code 2015-10-08 15:53:32 +02:00
V2Ray
5b7fa17aa6 Change buffer recycling schedule 2015-10-08 15:28:22 +02:00
V2Ray
9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00
V2Ray
c9f6747bd2 Optimize network transport for large data 2015-10-07 23:50:56 +02:00
V2Ray
e7daa4c21c Add size parameter to transport.ReadFrom 2015-10-07 21:17:11 +02:00
V2Ray
90f85a7272 Fix a bug in transport 2015-10-07 13:37:40 +02:00
V2Ray
a743f7b46b Remove use of panic 2015-10-07 10:05:11 +02:00
V2Ray
cd81e5531b reuse outbound connection handler 2015-10-07 00:30:44 +02:00
V2Ray
054f56820a Synchronization in timed queue 2015-10-06 23:29:05 +02:00
V2Ray
78daf8a879 format code 2015-10-06 17:24:57 +02:00
V2Ray
fe7d2d8984 Recycle memory earlier in error case 2015-10-06 17:24:16 +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
544b99b1a6 dispatch udp response 2015-09-28 21:32:07 +02:00
V2Ray
ba3f6108b8 assign port token for a udp packet 2015-09-28 14:57:43 +02:00
V2Ray
8f0cb97e89 Refactor timed queue 2015-09-28 01:11:40 +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
51c2a2b880 build break 2015-09-24 14:55:21 +02:00
V2Ray
a78dbe7133 Close connection more aggressively. 2015-09-24 14:51:19 +02:00
V2Ray
c138004bf9 First attempt to regulate errors. 2015-09-24 12:54:10 +02:00
V2Ray
ef790375ee Update test 2015-09-23 22:02:55 +02:00
V2Ray
5604ff175b Update mutex usage in timed_map 2015-09-23 21:31:06 +02:00
V2Ray
70ad3d0174 Fix time usage in timed_map_test 2015-09-23 20:24:30 +02:00
V2Ray
99f32f1dbf More coverage 2015-09-23 20:22:09 +02:00
V2Ray
10d733263d Test case for TimedStringMap 2015-09-23 20:14:12 +02:00
V2Ray
8ce7ee1cda Initial version of TimedStringMap 2015-09-23 18:19:05 +02:00
V2Ray
4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00
V2Ray
4320c14efd In practice 32k buffer is never fully used. 2015-09-22 13:25:17 +02:00
V2Ray
a51d64a102 More information when vmess auth fails. 2015-09-21 17:28:48 +02:00
V2 Ray
313aec4097 more docs 2015-09-21 10:15:25 +00:00
V2 Ray
e4b6d5e0f0 Doc for address.go 2015-09-21 11:51:18 +02:00
V2 Ray
402e7c09c3 Doc for encryption.go 2015-09-21 11:44:53 +02:00
V2Ray
cb16047cf0 prefer interface over struct 2015-09-20 18:22:29 +02:00
V2Ray
823cbf1509 Split Address struct to save some bytes 2015-09-20 16:55:45 +02:00
V2Ray
b319704282 Add network type to destination to be ready for UDP connection 2015-09-20 16:03:12 +02:00
V2Ray
07d4495b27 test cases for json config 2015-09-20 11:45:40 +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
V2Ray
5eee1b97aa Massive refactoring for better code structure 2015-09-19 23:54:12 +02:00