Commit Graph
1164 Commits
Author SHA1 Message Date
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
2019-12-04 01:20:53 +09:00
igor 0b737a9525 Fix redir default cipher 2019-11-30 22:17:32 +08:00
eric 16bd9af3a4 Fix QoS 2019-11-16 07:06:08 +08:00
Max Lv 6d73201b9a Fix #2539 2019-11-10 19:58:21 +08:00
Max Lv 748e6f3824 Refine #2537 2019-11-09 07:25:39 +08:00
Max Lv ce71f49af8 Fix #2537 2019-11-09 07:17:06 +08:00
Max Lv 1ba753adaa Fix #2536 2019-11-09 07:08:59 +08:00
Max Lv 22d5e59972 Remove request timeout 2019-10-30 09:44:58 +08:00
Max Lv 29936626b2 Refine the timeout logic 2019-10-12 17:13:28 +08:00
Max Lv 5da991a88c Refine the handling of fragment request 2019-10-12 08:18:45 +08:00
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>
2019-10-07 00:12:12 -06:00
Max Lv e911625696 Revert "Add echo for stat API"
This reverts commit 94dc47da9d.

Fix #2477.
2019-09-25 22:36:47 +08:00
Max Lv 9109b63aaa Avoid confusion of the return value of aead_cipher_decrypt() 2019-09-21 08:34:54 +08:00
Max Lv 313b9a7086 Refine #2463, set default min timeout to 24h 2019-09-02 09:35:06 +08:00
Max Lv 03fb8c9f74 Revert "Add option '--long-idle' for server"
This reverts commit b4cda9dd42.
2019-09-02 09:25:30 +08:00
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
2019-08-31 10:45:52 +08:00
Max Lv 1c4ddd3724 Fix #2449 2019-08-09 14:52:54 +08:00
Max Lv e3c6c80df0 Fix #2443 2019-07-30 12:14:27 +08:00
Max Lv f5e8519d8f Fix #2438 2019-07-26 21:58:41 +08:00
Max Lv 64b97cd9a3 Clean up 2019-07-17 09:16:06 +08:00
Max Lv a5daf4d502 Fix #2427 2019-07-11 12:42:36 +08:00
Mygod ebdf27975c Allow long idle connections in server 2019-07-04 10:22:34 +08:00
Max Lv 9aa46cbc3f Remove -Wcast-align 2019-07-01 14:09:13 +08:00
Max Lv 59417b9779 Revert "Specify the alignment of all structs"
This reverts commit d0285d6b4f.
2019-07-01 14:08:28 +08:00
Max Lv d0285d6b4f Specify the alignment of all structs 2019-07-01 13:14:50 +08:00
Max Lv f0205e7f13 Refine the helper function 2019-06-30 22:32:54 +08:00
Max Lv ab9764dbdf Fix building issues on Linux 2019-06-30 21:56:57 +08:00
Max Lv 6c28add775 Enable -Wcas-align for #2412 2019-06-30 21:34:35 +08:00
Max Lv a161265786 Reduce the verbosity on plugin terminating error 2019-06-21 13:35:02 +08:00
Max Lv 09df834044 Merge pull request #2398 from Lensual/master
Add echo for stat API
2019-06-20 21:49:28 +08:00
Max Lv 37ca6830ad Refine #2402 2019-06-19 08:10:22 +09:00
神楽坂ニャン 94dc47da9d Add echo for stat API 2019-06-10 12:40:02 +08:00
WHR 63a991cc43 ss-local: improve verbose logging; print hit of missing option 2019-06-04 10:28:57 +08:00
Max Lv 8d8b1cdcd5 Refine TCP related headers. #2387 2019-06-01 20:38:14 +08:00
Max Lv a99c39c7dd Simplify the server auto blocking mechanism 2019-06-01 15:20:45 +08:00
papadave66 5e65dc0fb1 change from bzero(3) to memset(3) for better compatibility. (#2383)
* change from bzero(3) to memset(3) for better compatibility.

* cleanup
2019-05-31 16:33:00 +08:00
Max Lv 3c44139f19 Clean up 2019-05-16 14:32:07 +08:00
Max Lv 4a42da641b Allow bind to local IPv4/v6 addresses. Fix #2372 2019-05-09 10:59:16 +08:00
Max Lv 9c935f762e Fix #2366 2019-05-06 00:07:56 -04:00
Max Lv 38e83d6b5d Make sure socket buffer size no larger than max chunk size 2019-04-30 09:34:31 +08:00
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.
2019-04-30 09:22:54 +08:00
Max Lv 49526d8556 Fix ss-nat's log 2019-04-26 17:07:46 +08:00
Max Lv c96e284ea9 Fix an issue of IPv6 NAT 2019-04-26 16:55:49 +08:00
Max Lv f35c162357 Reduce size of UDP remote context 2019-03-24 22:15:25 -04:00
Chinsyo 7bd382042b bump copyright year 2019-03-21 12:39:29 +08:00
Max Lv 3fa9e57248 Refine ipv6only handling 2019-03-10 07:40:07 +08:00
Max Lv 1a77023777 Fix #2314 2019-03-10 07:21:55 +08:00
ideal a67e3308ce cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install 2019-03-06 11:42:52 +08:00
Max Lv 14dd82045e Refine json config handling. #2308 2019-03-05 09:52:44 +08:00
ideal b020179bb5 fix cmake build error on macOS: find libsodium header files 2019-03-04 20:35:37 +08:00