Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita387cb3

Browse files
committed
Fixes#73 -- check for short read at body parsing.
1 parent2826162 commita387cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/protocol/http/client/connection/async_normal.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ namespace boost { namespace network { namespace http { namespace impl {
330330
}
331331
return;
332332
case body:
333-
if (ec == boost::asio::error::eof) {
333+
if (ec == boost::asio::error::eof || is_ssl_short_read_error) {
334334
// Here we're handling the case when the connection has been
335335
// closed from the server side, or at least that the end of file
336336
// has been reached while reading the socket. This signals the end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp