Max Lv
5fa98a6693
Fix #1911
7 years ago
Max Lv
1a21989566
Remove the return value in traffic IPC
7 years ago
Max Lv
b361f75f31
Remove unused return value
7 years ago
Terry Chan
b6faadf857
Support TCP_NODELAY in manager mode
7 years ago
Terry Chan
ed508ac142
Fix no parse --fast-open in manager mode
7 years ago
Max Lv
85a64ae836
Bump version
7 years ago
Max Lv
29ff5d3f89
Avoid overwriting dst_addr
7 years ago
Max Lv
b95495e71d
Remove the log of sockaddr_cmp
7 years ago
Max Lv
569b27a73f
Clean up
7 years ago
Max Lv
9ca33a64c7
Refine the UDP response header
7 years ago
Max Lv
c11e70aa8a
Reconstruct src addr for P2P usage
7 years ago
Max Lv
2bf7ecc787
Log the mismatched header as an error
7 years ago
Max Lv
68abd2a274
Fix a header mismatch issue in udp relay
7 years ago
Max Lv
56498cb548
Refine log output
7 years ago
Max Lv
1d94442546
Refine udp header checking
7 years ago
Max Lv
87e4bece84
Enlarge the timeout of protecting socket
7 years ago
Max Lv
512891c66f
Refine SNI parser in ss-local
7 years ago
Max Lv
539bf6e66d
Avoid reconstructing requests with SNI/HTTP parser
7 years ago
Roger Shimizu
d41508292f
Make cmake to build under Debian
Add a new option, WITH_EMBEDDED_SRC, which default is ON and same as
current setting.
When set to OFF, it can use system's libcork, libcorkipset, and libbloom.
It can be built in debian by:
$ cmake -DUSE_SYSTEM_SHARED_LIB=1 -DWITH_STATIC=OFF -DWITH_EMBEDDED_SRC=OFF
$ make
7 years ago
Max Lv
afce1b3f42
Refine #1872
7 years ago
Max Lv
be795e1985
Refine query interface
7 years ago
Max Lv
10ce3ed5d3
Refine query handling
7 years ago
Max Lv
57ab828ba1
Fix a potential null pointer acceess issue. #1854
It's possible that c-ares calls the callback function immediately in ares_gethostbyname, which may free the server
structure in that callback function.
7 years ago
Max Lv
5072be7a02
Disable SNI on Android
7 years ago
Max Lv
65e9d2355d
Avoid reconstructing all the connections
7 years ago
Max Lv
b26cbc2755
Refine #1852
7 years ago
Max Lv
3ed6019e1f
Fix #1843
7 years ago
Max Lv
83e637cc57
Disable port reusing in manager mode
7 years ago
alberto lalama
70ea7c2e27
Library interface to start ss local with a callback
7 years ago
alberto lalama
d237a05739
Fix off-by-one bug in free_udprelay
7 years ago
Max Lv
0c3cf8beb3
Handle runtime fast open check correctly
7 years ago
Max Lv
2152274311
Force to disable new TFO API on Android
7 years ago
Max Lv
79f0e3c68d
Fix uninitialized variables
7 years ago
Max Lv
aebb79c222
Refine build on platform without TCP_FASTOPEN
7 years ago
Max Lv
42b29fbb63
Fix cmake builds
7 years ago
Max Lv
6eb93c4c4e
Fix conditional build for new TFO API
7 years ago
Max Lv
a15251b2fc
Fix the missing addr reset
7 years ago
Max Lv
9317d3b159
Fix the missing TFO flags on Android
7 years ago
Max Lv
9ac81759df
Refine TFO on Darwin
7 years ago
Max Lv
2cad381036
Refine TFO in redir and server mode
7 years ago
Max Lv
d445ea938b
Refine TFO interface. #1800
7 years ago
Syrone Wong
7df4178db8
update entropy info based on libsodium documentation
7 years ago
星野ハジメ
cc1bb4cf62
format with .uncrustify.cfg ( #1759 )
* format with .uncrustify.cfg
format with .uncrustify.cfg
* format with .uncrustify.cfg
* format with .uncrustify.cfg exclude json.* base64.* uthash.h
* format with .uncrustify.cfg exclude json.* base64.* uthash.h
7 years ago
Max Lv
26ae365f7b
Refine #1756
7 years ago
星野ハジメ
44027da326
enable TCP_NODELAY from config file ( #1757 )
* Fix #1739
Refine #1739
* enable TCP_NODELAY from config file
7 years ago
Max Lv
f19a96e1fa
Refine #1739
7 years ago
Max Lv
b3f3b58a1d
Fix #1739
7 years ago
Max Lv
c67d275803
Fix #1734
7 years ago
Vladimir Olteanu
82694c8f19
properly set recv_ctx->connected
7 years ago
Max Witten
b721c0fa6d
Update docs for TCP_NODELAY
7 years ago