Wenju Gao
Wenju Gao
Fork to adapt to hertz is the fastest way cc https://github.com/gorilla/websocket
Yes, `LoadHTMLGlob` and `LoadHTMLFiles` will set the `HTMLRender` immediately, so here a new auto-reloading Render may help do the reload job(check the files during .Instance()). stage 1 of the impl:...
continue in #209
continue in #207
Yes, and and all scenarios where doNonNilReqResp(https://github.com/cloudwego/hertz/blob/develop/pkg/protocol/http1/client.go#L522) returns true/false. However, the default logic is changed by #102 , so here we only need to care about the retry scenarios. 1....
Thanks for reporting! Are you interested in submitting a pr to fix it? It's OK if it is not so, I'll put it into TODOs.
The implementation of hertz is not the same as the standard library. If you are looking for a compatible way, check here: https://github.com/cloudwego/hertz/blob/develop/pkg/common/adaptor/request.go
Good point! The job is right in the TODOs, if you are interested in it. Any pr is welcome~
目前的这套日志确实有一定的局限性,这块如果有好的优化思路欢迎直接提出来一起看看哈; 目前的一些想法: 1. 给hertz实例增加一个local logger(避免受全局配置的影响) 2. 增加配置call depth的方式 @li-jin-gou 一起看看哈,最好是能出一个优化方案
PR中文翻译也补充下哈