在 c++开发中,使用ws进行请求。会因为路径上有中文而报错,In c++ development, using ws for requests will result in an error due to Chinese characters in the path. #3307
Labels
C-bug-upstream
Category: bug in a dependency (including actix-net)
复现条件:
在 c++开发中使用这个库:
https://github.com/cyanray/LightWebSocketClient
请求路径为:ws://127.0.0.1:2000/api/pe/ws?server_name=bb阿
服务端报错: 2024-03-11 18:14:51 ERROR [actix_http::h1::dispatcher] stream error: request parse error: invalid Header provided
我的仓库地址:https://github.com/MC-PMA/McSynServer/tree/main
Reproduction Conditions:
Using this library in c++development:
https://github.com/cyanray/LightWebSocketClient
The request path is: ws://127.0.0.1:2000/api/pe/ws?server_name=bb阿
Server error: 2024-03-11 18:14:51 ERROR [actix_http::h1::dispatcher] stream error: request parse error: invalid Header provided
My repository address: https://github.com/MC-PMA/McSynServer/tree/main
The text was updated successfully, but these errors were encountered: