1014 Commits

Author SHA1 Message Date
Chen Yufei
fde02a83cb Bump version to 0.9.6 2015-06-07 21:55:18 +08:00
Chen Yufei
5ae96633ac Fix cross compile for Windows because no SIGUSR1. 2015-06-07 21:52:24 +08:00
Chen Yufei
aa75915dab Fix typo. 2015-06-03 14:15:20 +08:00
Chen Yufei
cf262fafb8 Fix PAC error in test script. 2015-06-03 11:18:32 +08:00
Chen Yufei
80f857929e Find default rc file in parseCmdLineConifg. 2015-06-03 01:00:43 +08:00
Chen Yufei
5325d01407 Remove unused function copyNWithBuf. 2015-06-03 00:47:10 +08:00
Chen Yufei
df909fe80e Setup all logger before calling initLog(). 2015-06-03 00:42:11 +08:00
Chen Yufei
f1fd6afbe1 Implement #328, allow specifying stat/blocked etc. in config file.
Also load stat/blocked/direct default from directory containing config file.
2015-06-03 00:41:34 +08:00
Chen Yufei
e6aac43e65 Remove dependency on global config in estimateTimeout(). 2015-06-01 21:19:59 +08:00
Chen Yufei
fd8203d39c Update README-en.md in set version script. 2015-06-01 21:19:59 +08:00
Chen Yufei
2ef176fff6 Merge pull request #338 from fzerorubigd/develop
add support for change stat file position in config
2015-06-01 21:19:21 +08:00
fzerorubigd
f65c3facaa add support for change stat file position in config
ref #328
2015-05-31 23:49:55 +04:30
Chen Yufei
5d34824ca5 Merge pull request #323 from fzerorubigd/develop
support relaunching cow on SIGUSR1
2015-05-19 22:31:27 +08:00
Chen Yufei
103ae20cb6 Merge pull request #325 from fzerorubigd/estimatefix
fix the estimate target payload check
2015-05-19 22:27:35 +08:00
Chen Yufei
62fc318e6c Merge pull request #326 from comicfans/develop
install script: improve detect arm without vfp
2015-05-19 22:05:45 +08:00
Wang Xinyu
c844dfce6a install script: improve detect arm without vfp 2015-05-18 09:54:25 +08:00
fzerorubigd
563040b683 fix the estimate target payload check 2015-05-17 17:56:46 +04:30
fzerorubigd
d2efdd56e3 support relaunching cow on SIGUSR1
fixes #322
2015-05-17 00:17:53 +04:30
Chen Yufei
78cbdbbd21 Merge pull request #320 from fzerorubigd/develop
wait for unfinished jobs and close all accepts
2015-05-16 22:00:03 +08:00
fzerorubigd
f619c854a0 wait for unfinished jobs and close all accepts 2015-05-16 00:53:20 +04:30
Chen Yufei
0a82a06ee3 Update version in README-en.md 2015-05-15 20:55:21 +08:00
Hörmetjan Yiltiz
5d49cdac69 "direct" for .cow/direct
correct misleading (possibly typo) explanation for direct
2015-05-15 20:53:53 +08:00
Chen Yufei
f3ae2bf9bb Bump version to 0.9.5 2015-05-12 23:49:33 +08:00
Chen Yufei
1d2faa4973 Download cow from specific version directory. 2015-05-12 23:48:33 +08:00
Chen Yufei
f687b7b1e2 Disable build for mac32. 2015-05-12 23:47:42 +08:00
Chen Yufei
9caff6c85a Add new encryption in sample rc. 2015-05-12 23:01:41 +08:00
Chen Yufei
e6a352db01 Use Go 1.4.2 on travis. 2015-05-12 22:52:58 +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
fzerorubigd
c87cbb215e try to load stat.bak if stat is invalid, or start new one is both are
invalid
fixes #309
2015-05-10 23:27:22 +08:00
Chen Yufei
d898284383 Fix #292: return direct for *.local host in PAC. 2015-04-12 23:17:40 +08:00
Chen Yufei
c3d19f1d47 Estimate timeout every one minute. 2015-03-01 22:41:55 +08:00
Chen Yufei
a4211c9c69 gofmt, add estimateTarget option in sample rc. 2015-03-01 22:40:29 +08:00
Chen Yufei
ce1ea07a36 Merge pull request #237 from fzerorubigd/develop
add support for changing the estimate timeout target
2014-12-07 23:21:44 +08:00
fzerorubigd
a6dc064e51 add support for changing the estimate timeout target
reduce the http error code detection report to debug
2014-12-01 20:14:03 +03:30
Chen Yufei
ff976f12f6 Add note for config COW as proxy for all protocol. 2014-11-10 23:11:16 +08:00
Chen Yufei
e529cef05c Remove SIGHUP catch up. 2014-11-02 16:47:04 +08:00
Chen Yufei
30f7e8aa85 Remove NetworkState in OS X startup plist. 2014-10-26 20:27:29 +08:00
Chen Yufei
de4ab75190 Bump version 0.9.4 2014-10-08 12:57:46 +08:00
Chen Yufei
732b15f01f Close stat file after load. 2014-10-08 12:57:46 +08:00
Chen Yufei
90dd86a06e Bump version to 0.9.3 2014-09-21 20:59:59 +08:00
Chen Yufei
0c917a1446 Add rc4-md5 encryption method in sample rc. 2014-09-21 20:58:21 +08:00
Chen Yufei
024957eeff Remove MS sites in direct list. 2014-09-21 12:29:29 +08:00
Chen Yufei
f5336dbba8 Add English version of sample rc. 2014-08-30 13:01:06 +08:00
Chen Yufei
47db041937 Describe customized http error code in sample config. 2014-08-29 22:58:01 +08:00
Chen Yufei
87bd263ebf Allow @ and : inside password. 2014-08-04 21:46:03 +08:00
Chen Yufei
3ccadb17fc Bump version to 0.9.2 2014-07-23 00:18:34 +08:00
Chen Yufei
e6331dc982 Get install directory from environment variable. 2014-07-23 00:03:26 +08:00
Chen Yufei
9162aae88a Sleep on error in accept loop.
Avoid flood of error logs upon too many open file error on Linux.
2014-07-22 23:44:31 +08:00
Chen Yufei
f4f5ac4f0a Use Go 1.3 for Travis CI. 2014-07-09 11:16:39 +08:00
Chen Yufei
edea3583d4 New load balance strategy: latency.
Select proxy with lowest connection latency.
2014-07-09 10:54:16 +08:00