Commit Graph

175 Commits (dff0230034dd140d6b541014c3dade235592896f)

Author SHA1 Message Date
V2Ray 09c76de65f format code
9 years ago
V2Ray cdea39ff95 Try writing again when there are some bytes left
9 years ago
V2Ray 3cb1951dfc Use []byte in pool instead of buffer
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 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 a78dbe7133 Close connection more aggressively.
9 years ago
V2Ray c138004bf9 First attempt to regulate errors.
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
V2 Ray 313aec4097 more docs
9 years ago
V2 Ray e4b6d5e0f0 Doc for address.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 075753c030 Massive refactoring for better code structure
9 years ago