Skip to content

Commit

Permalink
Issue #7277 - LocalConnector should not have LocalAuthority default
Browse files Browse the repository at this point in the history
+ Breaks ResponseTest.testSendRedirect() expectations

Signed-off-by: Joakim Erdfelt <[email protected]>
  • Loading branch information
joakime committed Dec 17, 2021
1 parent 855dbf2 commit 8880a07
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import org.eclipse.jetty.io.Connection;
import org.eclipse.jetty.util.BufferUtil;
import org.eclipse.jetty.util.ByteArrayOutputStream2;
import org.eclipse.jetty.util.HostPort;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import org.eclipse.jetty.util.thread.Scheduler;

Expand Down Expand Up @@ -222,14 +221,6 @@ protected void accept(int acceptorID) throws IOException, InterruptedException
connection.onOpen();
}

@Override
protected void doStart() throws Exception
{
// Change the default authority name here so that it's obvious during testing
setLocalAuthority(new HostPort("connector.local."));
super.doStart();
}

/**
* Get a single response using a parser to search for the end of the message.
*
Expand Down

0 comments on commit 8880a07

Please sign in to comment.