A doctor tool to check your http service.
- KeepAlive checker.
- Tell you the best KeepAlive timeout setting.
$ npm install http-doctor -g
Usage: $ http-doctor <url>
$ http-doctor https://basement.alipay.com/api/
✅ Server support KeepAlive
✅ Server KeepAlive timeout is 5s, you should set client KeepAlive timeout to 4s
If not support KeepAlive:
❌ Server don\'t support KeepAlive