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

Commite654986

Browse files
committed
Merge pull request#579 from gns333/0.12-devel
Fix for issue#536 "hello_world_client can't commuicate with the hell…
2 parents60d35b5 +2babeb4 commite654986

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎boost/network/protocol/http/server/async_connection.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,14 @@ struct async_connection
635635
write_vec_impl(seq, callback, temporaries, buffers);
636636
};
637637
if (!headers_already_sent && !headers_in_progress) {
638+
typedef constants<Tag> consts;
639+
{
640+
std::ostreamstream(&headers_buffer);
641+
stream <<consts::http_slash() <<1 <<consts::dot() <<1
642+
<<consts::space() << status <<consts::space()
643+
<<status_message(status) <<consts::crlf();
644+
stream <<consts::crlf();
645+
}
638646
write_headers_only(continuation);
639647
return;
640648
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp