Skip to content

Commit 5c5e0b7

Browse files
committed
Shut off follow redirects for Jetty 9
1 parent 766f3ea commit 5c5e0b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/rusticisoftware/tincan/RemoteLRS.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ private static HttpClient httpClient() throws Exception {
6262
if (_httpClient == null ) {
6363
_httpClient = new HttpClient(new SslContextFactory());
6464
_httpClient.setConnectTimeout(TIMEOUT_CONNECT);
65+
_httpClient.setFollowRedirects(false);
6566
_httpClient.start();
6667
}
6768

0 commit comments

Comments
 (0)