babarosaM33
7fe555c756
Remove unnecessary memmove
Before patch, after one chunk decoded, we do a memmove.
After patch, after all complete chunk decoded, we do a memmove.
5 years ago
Roger Shimizu
a7d57ab9d5
Fix of PATH_MAX for GNU/Hurd
PATH_MAX is not defined on each platform, and should be avoided.
Info:
- https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
- https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
5 years ago
igor
0b737a9525
Fix redir default cipher
5 years ago
eric
16bd9af3a4
Fix QoS
5 years ago
Max Lv
6d73201b9a
Fix #2539
5 years ago
Max Lv
748e6f3824
Refine #2537
5 years ago
Max Lv
ce71f49af8
Fix #2537
5 years ago
Max Lv
1ba753adaa
Fix #2536
5 years ago
Max Lv
22d5e59972
Remove request timeout
5 years ago
Max Lv
29936626b2
Refine the timeout logic
5 years ago
Max Lv
5da991a88c
Refine the handling of fragment request
5 years ago
RJ Trujillo
7132ff1b7c
cache: Remove unused return from 'cache_key_exist'
If 'tmp' isn't accessed, 0 is returned by the function anyway. This
is a duplicate case therefore is not needed.
Signed-off-by: RJ Trujillo <certifiedblyndguy@gmail.com>
5 years ago
Max Lv
e911625696
Revert "Add echo for stat API"
This reverts commit 94dc47da9d
.
Fix #2477 .
5 years ago
Max Lv
9109b63aaa
Avoid confusion of the return value of aead_cipher_decrypt()
5 years ago
Max Lv
313b9a7086
Refine #2463 , set default min timeout to 24h
5 years ago
Max Lv
03fb8c9f74
Revert "Add option '--long-idle' for server"
This reverts commit b4cda9dd42
.
5 years ago
lixingcong
b4cda9dd42
Add option '--long-idle' for server
Restore the default behavior handling timeout, make an option to enable
long idle connections.
Previously discussion:
https://github.com/shadowsocks/shadowsocks-libev/pull/2421
https://github.com/shadowsocks/shadowsocks-libev/issues/2427
5 years ago
Max Lv
1c4ddd3724
Fix #2449
5 years ago
Max Lv
e3c6c80df0
Fix #2443
5 years ago
Max Lv
f5e8519d8f
Fix #2438
5 years ago
Max Lv
64b97cd9a3
Clean up
5 years ago
Max Lv
a5daf4d502
Fix #2427
5 years ago
Mygod
ebdf27975c
Allow long idle connections in server
5 years ago
Max Lv
9aa46cbc3f
Remove -Wcast-align
5 years ago
Max Lv
59417b9779
Revert "Specify the alignment of all structs"
This reverts commit d0285d6b4f
.
5 years ago
Max Lv
d0285d6b4f
Specify the alignment of all structs
5 years ago
Max Lv
f0205e7f13
Refine the helper function
5 years ago
Max Lv
ab9764dbdf
Fix building issues on Linux
5 years ago
Max Lv
6c28add775
Enable -Wcas-align for #2412
5 years ago
Max Lv
a161265786
Reduce the verbosity on plugin terminating error
5 years ago
Max Lv
37ca6830ad
Refine #2402
5 years ago
神楽坂ニャン
94dc47da9d
Add echo for stat API
6 years ago
WHR
63a991cc43
ss-local: improve verbose logging; print hit of missing option
6 years ago
Max Lv
8d8b1cdcd5
Refine TCP related headers. #2387
6 years ago
Max Lv
a99c39c7dd
Simplify the server auto blocking mechanism
6 years ago
papadave66
5e65dc0fb1
change from bzero(3) to memset(3) for better compatibility. ( #2383 )
* change from bzero(3) to memset(3) for better compatibility.
* cleanup
6 years ago
Max Lv
3c44139f19
Clean up
6 years ago
Max Lv
4a42da641b
Allow bind to local IPv4/v6 addresses. Fix #2372
6 years ago
Max Lv
9c935f762e
Fix #2366
6 years ago
Max Lv
38e83d6b5d
Make sure socket buffer size no larger than max chunk size
6 years ago
Max Lv
a7291ea725
Enlarge the socket buffer size to 16KB.
After five years, memory footprint is not a problem for most of
low-end boxes and high-end routers now.
It should also improve the speed on loopback and high-speed LAN
networks.
6 years ago
Max Lv
49526d8556
Fix ss-nat's log
6 years ago
Max Lv
c96e284ea9
Fix an issue of IPv6 NAT
6 years ago
Max Lv
f35c162357
Reduce size of UDP remote context
6 years ago
Chinsyo
7bd382042b
bump copyright year
6 years ago
Max Lv
3fa9e57248
Refine ipv6only handling
6 years ago
Max Lv
1a77023777
Fix #2314
6 years ago
ideal
a67e3308ce
cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install
6 years ago
Max Lv
14dd82045e
Refine json config handling. #2308
6 years ago
ideal
b020179bb5
fix cmake build error on macOS: find libsodium header files
6 years ago