Commit Graph

1150 Commits (master)

Author SHA1 Message Date
V2Ray d83ddb4fa7 Release element ealier
9 years ago
V2Ray a77f62428a Use Buffer as a writer
9 years ago
V2Ray bf6898539b Buffer pool is mistakenly generate more buffers under normal situation.
9 years ago
V2Ray fc80d5e279 Access log
9 years ago
V2Ray 09c76de65f format code
9 years ago
V2Ray ab84639aaa prototype of platform specific code
9 years ago
V2Ray cdea39ff95 Try writing again when there are some bytes left
9 years ago
V2Ray 746580d566 Use buffer in socks proxy
9 years ago
V2Ray 3cb1951dfc Use []byte in pool instead of buffer
9 years ago
V2Ray 472cf7f523 Remove commented code
9 years ago
V2Ray 5b7fa17aa6 Change buffer recycling schedule
9 years ago
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation
9 years ago
V2Ray c9f6747bd2 Optimize network transport for large data
9 years ago
V2Ray e7daa4c21c Add size parameter to transport.ReadFrom
9 years ago
V2Ray 90f85a7272 Fix a bug in transport
9 years ago
V2Ray a743f7b46b Remove use of panic
9 years ago
V2Ray cd81e5531b reuse outbound connection handler
9 years ago
V2Ray 054f56820a Synchronization in timed queue
9 years ago
V2Ray 78daf8a879 format code
9 years ago
V2Ray fe7d2d8984 Recycle memory earlier in error case
9 years ago
V2Ray 838cb8950a Enable UDP in Socks proxy
9 years ago
V2Ray ddad439614 Refactor socks request handling
9 years ago
V2Ray 76563cb7c7 simplify udp handling
9 years ago
V2Ray 544b99b1a6 dispatch udp response
9 years ago
V2Ray ba3f6108b8 assign port token for a udp packet
9 years ago
V2Ray 8f0cb97e89 Refactor timed queue
9 years ago
V2Ray d77ba76ccf Update error handling in socks proxy
9 years ago
V2Ray 08f85fc9b7 Unify error checking by introducing error codes
9 years ago
V2Ray 51c2a2b880 build break
9 years ago
V2Ray a78dbe7133 Close connection more aggressively.
9 years ago
V2Ray c138004bf9 First attempt to regulate errors.
9 years ago
V2Ray ef790375ee Update test
9 years ago
V2Ray 5604ff175b Update mutex usage in timed_map
9 years ago
V2Ray 70ad3d0174 Fix time usage in timed_map_test
9 years ago
V2Ray 99f32f1dbf More coverage
9 years ago
V2Ray 10d733263d Test case for TimedStringMap
9 years ago
V2Ray 8ce7ee1cda Initial version of TimedStringMap
9 years ago
V2Ray 4874cd54a4 Introduce Packet to unify TCP and UDP communication
9 years ago
V2Ray 4320c14efd In practice 32k buffer is never fully used.
9 years ago
V2Ray a51d64a102 More information when vmess auth fails.
9 years ago
V2 Ray 313aec4097 more docs
9 years ago
V2 Ray e4b6d5e0f0 Doc for address.go
9 years ago
V2 Ray 402e7c09c3 Doc for encryption.go
9 years ago
V2Ray cb16047cf0 prefer interface over struct
9 years ago
V2Ray 823cbf1509 Split Address struct to save some bytes
9 years ago
V2Ray b319704282 Add network type to destination to be ready for UDP connection
9 years ago
V2Ray 07d4495b27 test cases for json config
9 years ago
V2Ray a887fd01b8 Move log into common
9 years ago
V2Ray 075753c030 Massive refactoring for better code structure
9 years ago
V2Ray 5eee1b97aa Massive refactoring for better code structure
9 years ago