Commit c66efff2 authored by Dominik Charousset's avatar Dominik Charousset

Initialize all fields in default multiplexer

parent 1f3d7203
...@@ -407,7 +407,10 @@ public: ...@@ -407,7 +407,10 @@ public:
stream(default_multiplexer& backend_ref) stream(default_multiplexer& backend_ref)
: event_handler(backend_ref), : event_handler(backend_ref),
sock_(backend_ref), sock_(backend_ref),
writing_(false) { threshold_(1),
collected_(0),
writing_(false),
written_(0) {
configure_read(receive_policy::at_most(1024)); configure_read(receive_policy::at_most(1024));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment