[arch-commits] Commit in restbed/trunk (dns-resolution-error.patch)

Baptiste Jonglez zorun at archlinux.org
Mon Jul 17 07:32:17 UTC 2017


    Date: Monday, July 17, 2017 @ 07:32:17
  Author: zorun
Revision: 245464

upgpkg: restbed 4.6-1

Deleted:
  restbed/trunk/dns-resolution-error.patch

----------------------------+
 dns-resolution-error.patch |   31 -------------------------------
 1 file changed, 31 deletions(-)

Deleted: dns-resolution-error.patch
===================================================================
--- dns-resolution-error.patch	2017-07-17 07:31:44 UTC (rev 245463)
+++ dns-resolution-error.patch	2017-07-17 07:32:17 UTC (rev 245464)
@@ -1,31 +0,0 @@
-From: Adrien Beraud <adrien.beraud at savoirfairelinux.com>
-Date: Fri, 2 Jun 2017 11:24:12 +0200
-Subject: [PATCH] Handle DNS resolution error
-
-DNS resolution error currently causes
-indefinite hangup as the callback is
-not called and higher-level layers
-are not informed.
-
-This commit bubbles up the error,
-allowing the request to fail.
----
- source/corvusoft/restbed/detail/socket_impl.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/source/corvusoft/restbed/detail/socket_impl.cpp b/source/corvusoft/restbed/detail/socket_impl.cpp
-index 313a421..665cfe7 100644
---- a/source/corvusoft/restbed/detail/socket_impl.cpp
-+++ b/source/corvusoft/restbed/detail/socket_impl.cpp
-@@ -145,6 +145,8 @@ namespace restbed
-                         m_is_open = true;
-                         callback( error );
-                     } );
-+                } else {
-+                    callback( error );
-                 }
-             } );
-         }
--- 
-2.11.0
-



More information about the arch-commits mailing list