From 69887f8f8a3dccdcd4aec0303316c909172548b8 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 4 Jan 2022 16:28:40 +0000 Subject: avoid persistent connections to vlc its minimal http server can't understand them --- lib/Vlc/Client.rakumod | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Vlc/Client.rakumod b/lib/Vlc/Client.rakumod index 0860df4..bff6534 100644 --- a/lib/Vlc/Client.rakumod +++ b/lib/Vlc/Client.rakumod @@ -26,6 +26,7 @@ class Vlc::Client { $!vlc ||= Cro::HTTP::Client.new( auth => { :username(), :password(self.password) }, add-body-parsers => [ Cro::BodyParser::VlcXML ], + :!persistent, ); state Cro::Uri::HTTP $base-uri .= parse(self.base-uri); -- cgit v1.2.3