This issue is to track the future merging of PR [#5339](https://github.com/eggjs/egg/pull/5339) into the master branch as requested by @fengmk2.