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

Commit7af6653

Browse files
committed
Reorder fields to fix warnings.
1 parentdf2db8b commit7af6653

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ namespace boost { namespace network { namespace http {
156156
: strand(io_service)
157157
, handler(handler)
158158
, thread_pool_(thread_pool)
159-
, headers_already_sent(false)
160-
, headers_in_progress(false)
161-
, handshake_done(false)
162159
, headers_buffer(BOOST_NETWORK_HTTP_SERVER_CONNECTION_HEADER_BUFFER_MAX_SIZE)
163160
, socket_(io_service, ctx)
161+
, handshake_done(false)
162+
, headers_already_sent(false)
163+
, headers_in_progress(false)
164164
{
165165
new_start = read_buffer_.begin();
166166
}
@@ -323,13 +323,13 @@ namespace boost { namespace network { namespace http {
323323
typedef boost::lock_guard<boost::recursive_mutex> lock_guard;
324324
typedef std::list<boost::function<void()> > pending_actions_list;
325325

326-
boost::network::stream_handler socket_;
327326
asio::io_service::strand strand;
328327
Handler & handler;
329328
utils::thread_pool & thread_pool_;
330-
volatilebool headers_already_sent, headers_in_progress;
331329
asio::streambuf headers_buffer;
330+
boost::network::stream_handler socket_;
332331
bool handshake_done;
332+
volatilebool headers_already_sent, headers_in_progress;
333333

334334
boost::recursive_mutex headers_mutex;
335335
buffer_type read_buffer_;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp