19 Commits

Author SHA1 Message Date
Chen Yufei
aa75915dab Fix typo. 2015-06-03 14:15:20 +08:00
Chen Yufei
e23bd65631 Fix #302: use crc32 to hash hostname
This avoids biased proxy selection.
For comparison of crc32 and djb2 hash distribution, refer to:
https://github.com/cyfdecyf/hash-test
2015-05-11 23:54:36 +08:00
Chen Yufei
edea3583d4 New load balance strategy: latency.
Select proxy with lowest connection latency.
2014-07-09 10:54:16 +08:00
Chen Yufei
a4fa2816b6 Refactor proxy selection. 2014-07-09 10:54:16 +08:00
Chen Yufei
4abdffcc1a Tweak parent proxy connection error message. 2013-11-22 14:47:32 +08:00
Chen Yufei
4d3ca5bc58 cow chain server done. 2013-10-30 13:17:47 +08:00
Chen Yufei
9e9266ff6d cow chain client side done. 2013-10-09 16:41:14 +08:00
Chen Yufei
edfca689ea Fix crash on windows when upgrading config. 2013-10-08 20:15:34 +08:00
Chen Yufei
0c273a546d Automatic upgrade config file. 2013-10-07 00:26:02 +08:00
Chen Yufei
8639ef67a0 Small refactor for config parsing. 2013-10-07 00:02:11 +08:00
Chen Yufei
1bcf63b94c Add proxy option in config.
This option is going to unify all parent proxy configurations.
2013-10-07 00:02:11 +08:00
Chen Yufei
080e113393 Refactor parent proxy connection type. 2013-08-05 14:16:09 +08:00
Chen Yufei
b4e5370a84 Report precise error message to client. 2013-08-02 10:47:07 +08:00
Chen Yufei
90102b06f9 Use debug log to print parent proxy. 2013-07-28 10:01:14 +08:00
Chen Yufei
167eab03d6 Add more info in response and shadowsocks error messages. 2013-07-18 14:14:26 +08:00
Chen Yufei
30715c97f4 Parse and load user password file. 2013-06-13 16:07:48 +08:00
Chen Yufei
58395a4348 Use io.ReadFull to read socks ver/method selection reply. 2013-06-11 23:14:49 +08:00
Chen Yufei
7eb2554dd0 Fix parent proxy fallback bug. 2013-06-08 17:06:25 +08:00
Chen Yufei
9e8efe4e2a Put parent proxy related code into parent_proxy.go 2013-06-05 19:28:33 +08:00