We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在原始http/asio/Transport.cpp中,当服务器使用Transfer-Encoding: chunked 方式时,没有问题,但是在Go服务器中,没有使用这种方式,导致137行的readsome阻塞,程序无反应,修改方式如下:
http/asio/Transport.cpp
Transfer-Encoding: chunked
// 125-129 bool nosize = !len; size_t n = std::min<size_t>(len, response.size()); // 将header修改为response for (size_t i = 0; i < n; ++i, --len) { responseStream << (char) response_stream.get(); };
The text was updated successfully, but these errors were encountered:
同时,使用VS编译时,因为有两套Client.h&cpp文件,编译会出现警告,并且生成时找不到部分实现,修改其中一套文件名就可以正常通过了!
Sorry, something went wrong.
建议使用boost库中的asio,否则编译问题很多....
修改完成的vs项目 https://github.com/BBDXF/hprosec1x-vs
laoye
No branches or pull requests
在原始
http/asio/Transport.cpp
中,当服务器使用Transfer-Encoding: chunked
方式时,没有问题,但是在Go服务器中,没有使用这种方式,导致137行的readsome阻塞,程序无反应,修改方式如下:The text was updated successfully, but these errors were encountered: