Chen Yufei
e6aac43e65
Remove dependency on global config in estimateTimeout().
2015-06-01 21:19:59 +08:00
fzerorubigd
563040b683
fix the estimate target payload check
2015-05-17 17:56:46 +04:30
Chen Yufei
c3d19f1d47
Estimate timeout every one minute.
2015-03-01 22:41:55 +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
edea3583d4
New load balance strategy: latency.
...
Select proxy with lowest connection latency.
2014-07-09 10:54:16 +08:00
Chen Yufei
b6e82fffa8
Revert "Consolidate connect&http parse buffer, reduce size to 4096."
...
This reverts commit a6c2d4fa04 .
There are sites using very long cookie, like www.fitbit.com. Limiting the buffer
size to 4096 will get buffer full error for those sites.
2013-08-09 09:47:28 +08:00
Chen Yufei
a6c2d4fa04
Consolidate connect&http parse buffer, reduce size to 4096.
2013-08-08 23:24:52 +08:00
Chen Yufei
126ee33782
Output new read/dial timeout in debug log.
2013-07-05 14:59:50 +08:00
Chen Yufei
193b483da2
Support multiple sshServer options.
2013-06-05 19:46:07 +08:00
Chen Yufei
44817ced13
Bring maxTimeout back in estimate timeout.
2013-04-17 19:24:28 +08:00
Chen Yufei
78907f54f2
Do not update blocked count when setting site as temp blocked.
2013-04-12 12:40:04 +08:00
Chen Yufei
12da154bf8
Fix sitestat test error caused by uninitialized timeout value.
2013-04-09 22:15:19 +08:00
Chen Yufei
aab4b4ae4e
Do not update visit count if network connection is bad.
2013-04-09 18:15:17 +08:00
Chen Yufei
ca2bbf1b16
Avoid using too small dial/read timeout for potentially blocked site.
2013-03-05 21:14:48 +08:00
Chen Yufei
0d400cff4e
Fix error in estimate timeout.
2013-02-07 17:47:00 +08:00
Chen Yufei
8b0843b360
Minor fixes.
2013-02-06 23:28:31 +08:00
Chen Yufei
524d172e58
Use shorter read/dial timeout if site has once blocked.
2013-02-06 18:26:24 +08:00
Chen Yufei
4e2adcc5a3
Change estimate request user agent, max timeout to 20.
2013-02-05 18:46:53 +08:00
Chen Yufei
36a3a18d9a
Set maximum timeout value to 15s.
2013-02-03 23:57:43 +08:00
Chen Yufei
1d1ac3326f
Fix error message in estimateTimeout.
2013-02-02 10:53:27 +08:00
Chen Yufei
0ddd486f67
User configurable timeout value.
2013-02-01 17:28:06 +08:00
Chen Yufei
7b40a1162b
Use info log for timeout change and detected blocked site.
2013-02-01 15:59:00 +08:00
Chen Yufei
d5646b6c4d
Refine timeout estimate.
2013-02-01 15:33:51 +08:00
Chen Yufei
a7270ea3f8
Periodically estimate timeout value by visiting www.baidu.com
2013-01-31 23:33:32 +08:00