File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright (c) Glyn Matthews 2010.
2
+ // Distributed under the Boost Software License, Version 1.0.
3
+ // (See accompanying file LICENSE_1_0.txt or copy at
4
+ // http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+
7
+
8
+ # define BOOST_TEST_MODULE Client and server includes
9
+ # include < boost/test/unit_test.hpp>
10
+
11
+
12
+ //
13
+ // The problem here is a bizarre compilation failure in including
14
+ // these two files, and instantiating a client. It's described at
15
+ // http://github.com/cpp-netlib/cpp-netlib/issues#issue/13
16
+ //
17
+ # include < boost/network/protocol/http/client.hpp>
18
+ # include < boost/network/protocol/http/server.hpp>
19
+
20
+
21
+ BOOST_AUTO_TEST_CASE (test1) {
22
+ typedef boost::network::http::basic_client<
23
+ boost::network::tags::http_keepalive_8bit_udp_resolve, 1 , 1 > http_client;
24
+ http_client client;
25
+ }
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Glyn Matthews 2010.
2
+ // Distributed under the Boost Software License, Version 1.0.
3
+ // (See accompanying file LICENSE_1_0.txt or copy at
4
+ // http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+
7
+
8
+ # define BOOST_TEST_MODULE Client and server includes
9
+ # include < boost/test/unit_test.hpp>
10
+ # include < boost/network/protocol/client.hpp>
11
+ # include < boost/network/protocol/server.hpp>
12
+
13
+
14
+ BOOST_AUTO_TEST_CASE (test1) {
15
+ typedef boost::network::http::basic_client<
16
+ boost::network::tags::http_keepalive_8bit_udp_resolve, 1 , 1 > http_client;
17
+ http_client client;
18
+ }
You can’t perform that action at this time.
0 commit comments