Skip to content

Commit e06fd50

Browse files
committed
Try switching to blocking ProxyServlet
1 parent 2382f35 commit e06fd50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/test/java/org/asynchttpclient/BasicHttpProxyToHttpTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
*/
1414
package org.asynchttpclient;
1515

16+
import static io.netty.handler.codec.http.HttpHeaders.Names.*;
1617
import static org.asynchttpclient.Dsl.*;
1718
import static org.asynchttpclient.test.TestUtils.*;
18-
import static io.netty.handler.codec.http.HttpHeaders.Names.*;
1919

2020
import java.io.IOException;
2121
import java.util.concurrent.ExecutionException;
@@ -29,7 +29,7 @@
2929

3030
import org.asynchttpclient.Realm.AuthScheme;
3131
import org.asynchttpclient.test.EchoHandler;
32-
import org.eclipse.jetty.proxy.AsyncProxyServlet;
32+
import org.eclipse.jetty.proxy.ProxyServlet;
3333
import org.eclipse.jetty.server.Server;
3434
import org.eclipse.jetty.servlet.ServletHandler;
3535
import org.eclipse.jetty.servlet.ServletHolder;
@@ -54,7 +54,7 @@ public class BasicHttpProxyToHttpTest {
5454
private Server proxy;
5555

5656
@SuppressWarnings("serial")
57-
public static class BasicAuthProxyServlet extends AsyncProxyServlet {
57+
public static class BasicAuthProxyServlet extends ProxyServlet {
5858

5959
@Override
6060
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {

0 commit comments

Comments
 (0)