From 937d04e90f85e332186c6c16fc6b06fa0ca400a7 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Mon, 27 May 2024 15:14:17 +0200 Subject: Fix it_url::get with maxlength and large response --- test/it_url_slow.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/it_url_slow.t b/test/it_url_slow.t index b382b3a..00bbc2f 100755 --- a/test/it_url_slow.t +++ b/test/it_url_slow.t @@ -77,7 +77,7 @@ handle_server( handle_server( ok( - it_url::get('url' => U("http://$host/repeat", ['string' => "abc", 'num' => 1024 * 32]), 'maxlength' => 1024 * 1024) == str_repeat("abc", 1024 * 32), + it_url::get(['url' => U("http://$host/repeat", ['string' => "abc", 'num' => 1024 * 32]), 'maxlength' => 1024 * 1024]) == str_repeat("abc", 1024 * 32), 'it_url::get() handles large response with maxlength set' ) ); -- cgit v1.2.3