修复HTTP服务Windows性能异常和中文路径相关Bug #700
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复Windows defaultStaticHandler性能错误
Windows版本从合并 #559 之后HTTP服务默认静态处理因编码转换严重影响服务性能。
为了方便解决Windows高性能宽字符函数编码转换,在hstring.h增加了hv::wchar_to_utf8和hv::utf8_to_wchar函数
顺便修复http服务遇到中文路径时stat不可用导致文件缓存逻辑故障 和 http服务目录索引中文乱码问题