From 911b0b93f59f08566caabd4b9ee990d2f5af69d6 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Thu, 25 Apr 2019 15:22:39 +0000
Subject: [PATCH 1/2] add more possible error messages (fix for #29)

---
 t/old-10errbuf.t | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/t/old-10errbuf.t b/t/old-10errbuf.t
index c0d4d9c..5a852e6 100644
--- a/t/old-10errbuf.t
+++ b/t/old-10errbuf.t
@@ -45,7 +45,9 @@ my $line = <$new_error>;
 like( $line, qr/^\*\s+(?:
     Protocol \s badprotocol \s not \s supported \s or \s disabled \s in \s libcurl |
     Unsupported \s protocol: \s badprotocol |
-    Rebuilt \s URL \s to: \s badprotocol:\/\/.+
+    Rebuilt \s URL \s to: \s badprotocol:\/\/.+ |
+    Closing \s connection \s -1 |
+    Could \s not \s resolve \s host: \s badprotocol
 )$/x, "Reading redirected STDERR" );
 
 unlink $tempname;
-- 
2.1.4


From 286d32a71f351480257c0432873f13bb593b2234 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Thu, 25 Apr 2019 16:02:49 +0000
Subject: [PATCH 2/2] another error message, seen with libcurl/7.64.0 (#29)

---
 t/old-10errbuf.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/old-10errbuf.t b/t/old-10errbuf.t
index 5a852e6..f644697 100644
--- a/t/old-10errbuf.t
+++ b/t/old-10errbuf.t
@@ -47,7 +47,8 @@ like( $line, qr/^\*\s+(?:
     Unsupported \s protocol: \s badprotocol |
     Rebuilt \s URL \s to: \s badprotocol:\/\/.+ |
     Closing \s connection \s -1 |
-    Could \s not \s resolve \s host: \s badprotocol
+    Could \s not \s resolve \s host: \s badprotocol |
+    Expire \s in \s 0 \s ms \s for \s 6 \s \(transfer \s 0x[0-9a-f]+\)
 )$/x, "Reading redirected STDERR" );
 
 unlink $tempname;
-- 
2.1.4