Package: libfurl-perl / 3.08-2

1001_relax_timeout_errormsg.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
--- a/t/100_low/07_timeout.t
+++ b/t/100_low/07_timeout.t
@@ -71,7 +71,7 @@
                 $content_size_mb *= 2;
             }
             is $code, 500, "request()/$_";
-            like $msg, qr/Internal Response: Failed to send content: timeout/;
+            like $msg, qr/Internal Response: ([^:]+): timeout/;
             is ref($headers), "ARRAY";
             is Plack::Util::header_get($headers, 'X-Internal-Response'), 1;
             ok $content, 'content: ' . $content;