summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagna.gianfranco@gmail.com>2018-04-29 20:02:05 +0200
committerArmin Kuster <akuster808@gmail.com>2018-05-17 08:32:26 -0700
commita10bca9b090cdfd81c99f772e61c72ebd134ca45 (patch)
tree044c042416954a0564d4f7858b555509a5920f64 /meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch
parent491806ba728328350c51d9ad7241305ae5342fc5 (diff)
downloadmeta-openembedded-a10bca9b090cdfd81c99f772e61c72ebd134ca45.tar.gz
websocketpp: add new recipe based on Debian packaging
The patches were imported from the Debian repository (https://salsa.debian.org/debian/websocketpp) as of commit id afb8d4c64893883e184991ae8ab3680ef1f302b9 Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch')
-rw-r--r--meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch b/meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch
new file mode 100644
index 0000000000..2a9ea74cd0
--- /dev/null
+++ b/meta-networking/recipes-support/websocketpp/websocketpp-0.7.0/0001-Fix-issue-599.patch
@@ -0,0 +1,31 @@
1From 1dd07113f2a7489444a8990a95be42e035f8e9df Mon Sep 17 00:00:00 2001
2From: Kurt Roeckx <kroeckx@debian.org>
3Date: Tue, 1 Nov 2016 12:57:35 +0100
4Subject: [PATCH] Fix issue #599
5Forwarded: https://github.com/zaphoyd/websocketpp/pull/600
6
7---
8 websocketpp/transport/asio/security/tls.hpp | 4 ----
9 1 file changed, 4 deletions(-)
10
11diff --git a/websocketpp/transport/asio/security/tls.hpp b/websocketpp/transport/asio/security/tls.hpp
12index 7b32db8..a8aafec 100644
13--- a/websocketpp/transport/asio/security/tls.hpp
14+++ b/websocketpp/transport/asio/security/tls.hpp
15@@ -355,13 +355,9 @@ protected:
16 template <typename ErrorCodeType>
17 lib::error_code translate_ec(ErrorCodeType ec) {
18 if (ec.category() == lib::asio::error::get_ssl_category()) {
19- if (ERR_GET_REASON(ec.value()) == SSL_R_SHORT_READ) {
20- return make_error_code(transport::error::tls_short_read);
21- } else {
22 // We know it is a TLS related error, but otherwise don't know
23 // more. Pass through as TLS generic.
24 return make_error_code(transport::error::tls_error);
25- }
26 } else {
27 // We don't know any more information about this error so pass
28 // through
29--
302.7.4
31