20 Commits

Author SHA1 Message Date
fengmk2
f97fe4a8c8
test: change error code assert (#4907) 2022-03-16 11:42:25 +08:00
fengmk2
189c478048
feat: handle ENETUNREACH error on httpclient (#4792) 2021-11-10 18:00:32 +08:00
Suyi
6dc8a2d145 chore: fix ci (#3825)
* chore: fix ci

* test: skip trigger & httpclient request tracer with app-ready
2019-07-17 14:15:04 +08:00
TZ | 天猪
e7fbd68f32
feat: switch httpclient to httpclient2 for retry feature (#3626) 2019-04-16 16:57:46 +08:00
Yiyu He
89872a76fc
Revert "feat: switch httpclient to httpclient2 for retry feature (#36… (#3622) 2019-04-12 15:25:46 +08:00
TZ | 天猪
eead318625 feat: switch httpclient to httpclient2 for retry feature (#3606) 2019-04-11 17:21:52 +08:00
fengmk2
327fa174ff fix: allow request timeout bigger than agent timeout (#3146) 2018-11-12 00:18:11 +08:00
Maledong
92181e83f9 doc (CONTRIBUTION): Add missing English translations and clearify dns (#3035) 2018-10-11 10:34:48 +08:00
Haoliang Gao
aaf8faf4fd
test: skip test (#2773)
It's introduced by https://github.com/node-modules/urllib/pull/288
2018-07-06 20:49:01 +08:00
Khaidi Chu
ba708ca4e9 feat: support customized client error (#2283)
Add `onClientError` configuration to customize handling client error and get
`rawPacket`.

Connect timeout for 5000ms, GET https://eggjs.org/ for several times
2018-04-09 16:27:43 +08:00
fengmk2
503b69b2e5 feat: dump application router json
Store on `run/router.json`
2017-11-29 15:06:07 +08:00
Yiyu He
12edd64915
test: use async function instead of generator function (#1684) 2017-11-20 17:42:35 +08:00
TZ | 天猪
6846badc8d docs: add plugin.js description (#1499) 2017-10-10 21:23:35 -05:00
hui
6eac07eb28 refactor: httpclient args tracer to be enforced (#1421) 2017-09-15 19:28:15 +08:00
hui
f7c0d85209 feat: support app.httpclient and agent.httpclient auto set tracer (#1393) 2017-09-10 11:41:34 +08:00
Haoliang Gao
e9f93cf83d refactor: export app.HttpClient that can be overwritten (#1234) 2017-07-26 17:36:49 +08:00
fengmk2
988b8c84d0 fix: make sure config.httpclient.httpAgent.timeout >= 30000 (#1165)
distinguish options: request, httpAgent and httpsAgent on httpclient
2017-07-19 10:05:50 +08:00
Haoliang Gao
1a027ad727 test: use assert instead of should (#837) 2017-05-03 22:37:51 +08:00
fengmk2
b28ce766fa test: disable error log to stderr (#453) 2017-02-25 22:07:55 +08:00
fengmk2
06295b833d docs: add core/httpclient document (#197) 2017-01-09 18:30:26 +08:00