merge "default" into this branch (again).

JSON-156
Jorg Knobloch 3 years ago
commit c75bd00bbc

@ -180,7 +180,13 @@ void Webserver::do_session(tcp::socket *socket)
http::read(*socket, buffer, parser, ec);
if (ec) {
std::cerr << ec.message() << "\n";
#ifndef NDEBUG
// This will print stuff like ...
// - end of stream
// - An established connection was aborted by the software in your host machine
// ... so don't be alarmed.
std::cerr << "pEpWebserver: " << ec.message() << "\n";
#endif
goto the_end;
}

Loading…
Cancel
Save