Better treatment of SSL short reads:

fix #38

This improves the behavior when encountering a short read:

* Any stream error encountered during a read is converting into
  `http::error::partial_message` if some data was received but
  the message is incomplete.

* Examples squelch SSL short read errors from the logs.
This commit is contained in:
Vinnie Falco committed 2019-02-23 08:56:59 -08:00
1 parent d4dddec1c0
commit 094f5ec5cb
11 files changed
+124 -5

No files matched your search

+1
View File
@@ -105,6 +105,7 @@ public:
// What else could it be?
BOOST_ASSERT(sr_.is_done());
}
return net::post(
s_.get_executor(),
beast::bind_front_handler(