@@ -156,11 +156,11 @@ namespace boost { namespace network { namespace http {
156
156
: strand(io_service)
157
157
, handler(handler)
158
158
, thread_pool_(thread_pool)
159
- , headers_already_sent(false )
160
- , headers_in_progress(false )
161
- , handshake_done(false )
162
159
, headers_buffer(BOOST_NETWORK_HTTP_SERVER_CONNECTION_HEADER_BUFFER_MAX_SIZE)
163
160
, socket_(io_service, ctx)
161
+ , handshake_done(false )
162
+ , headers_already_sent(false )
163
+ , headers_in_progress(false )
164
164
{
165
165
new_start = read_buffer_.begin ();
166
166
}
@@ -323,13 +323,13 @@ namespace boost { namespace network { namespace http {
323
323
typedef boost::lock_guard<boost::recursive_mutex> lock_guard;
324
324
typedef std::list<boost::function<void ()> > pending_actions_list;
325
325
326
- boost::network::stream_handler socket_;
327
326
asio::io_service::strand strand;
328
327
Handler & handler;
329
328
utils::thread_pool & thread_pool_;
330
- volatile bool headers_already_sent, headers_in_progress;
331
329
asio::streambuf headers_buffer;
330
+ boost::network::stream_handler socket_;
332
331
bool handshake_done;
332
+ volatile bool headers_already_sent, headers_in_progress;
333
333
334
334
boost::recursive_mutex headers_mutex;
335
335
buffer_type read_buffer_;
0 commit comments