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

Commit6ca564d

Browse files
committed
Checking in missing changes to make things work correctly on 0.8-devel
1 parent794a0b9 commit6ca564d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎libs/network/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ if (Boost_FOUND)
4747
set(SERVER_TESTS
4848
hello_world
4949
http_async_server
50+
http_server_async_less_copy
5051
)
5152
foreach (test${SERVER_TESTS})
5253
set_source_files_properties(${test}.cpp

‎libs/network/test/http_server_async_less_copy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct async_hello_world {
2323
structis_content_length {
2424
template<classHeader>
2525
booloperator()(Headerconst & header) {
26-
returnboost::iequals(name(header),"content-length");
26+
returnboost::iequals(header.name,"content-length");
2727
}
2828
};
2929

@@ -65,7 +65,7 @@ struct async_hello_world {
6565
intmain(int argc,char * argv[]) {
6666
utils::thread_poolthread_pool(2);
6767
async_hello_world handler;
68-
serverinstance("127.0.0.1","8000", handler, thread_pool, http::_reuse_address=true);
68+
serverinstance("127.0.0.1","8000", handler, thread_pool);
6969
instance.run();
7070
return0;
7171
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp