7 Commits

Author SHA1 Message Date
Yiyu He
4eaf3fb3bb feat: throw if config.keys not exists when access app.keys (#443) 2017-02-25 01:53:13 +08:00
fengmk2
7554eae3a2 test: mv benchmark to eggjs/benchmark (#320)
https://github.com/eggjs/benchmark

Closes https://github.com/eggjs/egg/issues/317
2017-02-07 15:41:31 +08:00
fengmk2
5045131f03 feat: add a dns cache httpclient (#146)
* feat: add a dns cache httpclient

Usage:

```js
// enable on urllib config
exports.urllib = {
  enableDNSCache: true,
};
```

* test: add config.urllib on urllib.test.js
2016-11-08 11:02:40 +08:00
Haoliang Gao
cd99a1f06a feat: add getLogger to app and ctx (#136)
it can be override with custom function

Closes eggjs/egg#36
2016-11-02 13:57:28 +08:00
fengmk2
ab6477d1e0 test: add local server for curl test cases 2016-11-02 10:24:53 +08:00
Haoliang Gao
5dafb5838e feat: close return promise (#128)
logger should close stream when app close
2016-10-26 15:45:04 +08:00
fengmk2
53a9bf4f2f test: add test codes (#20)
closes #16
2016-07-18 21:16:35 +08:00