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

Commitfd459e3

Browse files
committed
Fixes#42 : Defaulting to Asynchronous Client.
1 parent4389238 commitfd459e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ namespace boost { namespace network { namespace http {
7777

7878
};
7979

80-
typedef basic_client<tags::http_default_8bit_udp_resolve,1,0> client;
80+
#ifndef BOOST_NETWORK_HTTP_DEFAULT_TAG
81+
#defineBOOST_NETWORK_HTTP_DEFAULT_TAG tags::http_async_8bit_udp_resolve
82+
#endif
83+
84+
typedef basic_client<BOOST_NETWORK_HTTP_DEFAULT_TAG,1,1> client;
8185

8286
}// namespace http
8387

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp