From c98be9d722888adee20b76d7af02799bdcba4400 Mon Sep 17 00:00:00 2001 From: Currypan1229 <67533379+Currypan1229@users.noreply.github.com> Date: Wed, 27 Nov 2024 04:05:57 +0900 Subject: [PATCH] Make PersistentHttpStream$getConnectionRequest overridable (#159) --- .../discord/lavaplayer/tools/io/PersistentHttpStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/com/sedmelluq/discord/lavaplayer/tools/io/PersistentHttpStream.java b/main/src/main/java/com/sedmelluq/discord/lavaplayer/tools/io/PersistentHttpStream.java index b8fc7638..d648d392 100644 --- a/main/src/main/java/com/sedmelluq/discord/lavaplayer/tools/io/PersistentHttpStream.java +++ b/main/src/main/java/com/sedmelluq/discord/lavaplayer/tools/io/PersistentHttpStream.java @@ -90,7 +90,7 @@ private static boolean validateStatusCode(HttpResponse response, boolean returnO return true; } - private HttpGet getConnectRequest() { + protected HttpGet getConnectRequest() { HttpGet request = new HttpGet(getConnectUrl()); if (position > 0 && useHeadersForRange()) {