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

Commitc59dbd7

Browse files
committed
Merge branch 'deanberris-0.9-devel' into 0.9-devel
2 parentsc511896 +5f4660c commitc59dbd7

29 files changed

+1146
-1210
lines changed

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (Boost_FOUND)
1818
include_directories(${Boost_INCLUDE_DIRS})
1919
endif()
2020
enable_testing()
21-
add_subdirectory(libs/network/build)
21+
add_subdirectory(libs/network/src)
2222
add_subdirectory(libs/network/test)
2323
add_subdirectory(libs/mime/test)
2424
add_subdirectory(libs/network/example)

‎boost/network/protocol/http/impl/request.hpp‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include<boost/fusion/sequence/intrinsic/at_key.hpp>
1616
#include<boost/fusion/sequence/intrinsic/value_at_key.hpp>
1717

18-
#include<boost/network/uri.hpp>
18+
#include<boost/network/uri/http/uri.hpp>
1919
#include<boost/network/traits/vector.hpp>
2020

2121
#include<boost/network/protocol/http/message/async_message.hpp>
@@ -24,8 +24,8 @@
2424

2525
#include<boost/cstdint.hpp>
2626

27-
namespaceboost {namespacenetwork {
28-
27+
namespaceboost {namespacenetwork {
28+
2929
/** Specialize the traits for the http_server tag.*/
3030
template<>
3131
structheaders_container<http::tags::http_server> :
@@ -50,7 +50,7 @@ namespace http {
5050
structbasic_request :publicbasic_message<Tag>
5151
{
5252

53-
mutable boost::network::uri::http::uri uri_;
53+
mutable boost::network::uri::http::basic_uri<Tag> uri_;
5454
typedef basic_message<Tag> base_type;
5555

5656
public:
@@ -92,7 +92,7 @@ namespace http {
9292
}
9393

9494
port_typeport()const {
95-
returnuri::port(uri_);
95+
returnuri::port_us(uri_);
9696
}
9797

9898
string_typeconstpath()const {
@@ -115,7 +115,7 @@ namespace http {
115115
uri_ = new_uri;
116116
}
117117

118-
boost::network::uri::http::uriconsturi()const {
118+
boost::network::uri::http::basic_uri<Tag>const &uri()const {
119119
return uri_;
120120
}
121121

@@ -162,7 +162,7 @@ namespace http {
162162
};
163163

164164
template<>
165-
structbasic_request<tags::http_async_server>
165+
structbasic_request<tags::http_async_server>
166166
: not_quite_pod_request_base<tags::http_async_server>
167167
{};
168168

‎boost/network/protocol/http/message/wrappers/port.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace boost { namespace network { namespace http {
3030
}
3131

3232
operator boost::optional<boost::uint16_t> () {
33-
returnport(message_.uri());
33+
returnport_us(message_.uri());
3434
}
3535
};
3636

‎boost/network/protocol/http/policies/sync_resolver.hpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include<utility>
1010
#include<boost/network/protocol/http/traits/resolver.hpp>
1111
#include<boost/fusion/adapted/std_pair.hpp>
12+
#include<boost/fusion/include/tuple.hpp>
1213
#include<boost/network/traits/string.hpp>
1314
#include<boost/algorithm/string/case_conv.hpp>
1415
#include<boost/unordered_map.hpp>

‎boost/network/uri.hpp‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@
66
// (See accompanying file LICENSE_1_0.txt or copy at
77
// http://www.boost.org/LICENSE_1_0.txt)
88

9-
#include<boost/network/protocol/http/tags.hpp>
109
#include<boost/network/traits/string.hpp>
11-
#include<boost/network/uri/basic_uri.hpp>
10+
#include<boost/network/uri/uri.hpp>
11+
#include<boost/network/protocol/http/tags.hpp>
1212
#include<boost/network/uri/http/uri.hpp>
1313

14+
1415
namespaceboost {namespacenetwork {namespaceuri {
1516

16-
typedef basic_uri<boost::network::tags::default_string> uri;
17-
typedef basic_uri<boost::network::tags::default_wstring> wuri;
17+
typedef basic_uri<boost::network::tags::default_string> uri;
18+
typedef basic_uri<boost::network::tags::default_wstring> wuri;
1819

19-
namespacehttp {
20-
typedef basic_uri<boost::network::http::tags::http_default_8bit_tcp_resolve> uri;
21-
}
20+
namespacehttp {
21+
typedef basic_uri<boost::network::http::tags::http_default_8bit_udp_resolve> uri;
22+
}
2223

2324
}// namespace uri
2425
}// namespace network

‎boost/network/uri/basic_uri.hpp‎

Lines changed: 0 additions & 242 deletions
This file was deleted.

‎boost/network/uri/basic_uri_fwd.hpp‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp