Skip to content

Commit 5b358ec

Browse files
committed
Upgrade Jetty 9.3, close AsyncHttpClient#1035
1 parent 07f3237 commit 5b358ec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/src/test/java/org/asynchttpclient/proxy/ProxyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class ProxyTest extends AbstractBasicTest {
5656
public static class ProxyHandler extends AbstractHandler {
5757
public void handle(String s, org.eclipse.jetty.server.Request r, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
5858
if ("GET".equalsIgnoreCase(request.getMethod())) {
59-
response.addHeader("target", r.getUri().getPath());
59+
response.addHeader("target", r.getHttpURI().getPath());
6060
response.setStatus(HttpServletResponse.SC_OK);
6161
} else {
6262
// this handler is to handle POST request

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class TestUtils {
7474
public static final Publisher<ByteBuffer> LARGE_IMAGE_PUBLISHER;
7575
public static final File SIMPLE_TEXT_FILE;
7676
public static final String SIMPLE_TEXT_FILE_STRING;
77-
private static final LoginService LOGIN_SERVICE = new HashLoginService("MyRealm", Thread.currentThread().getContextClassLoader().getResource("realm.properties").toString());
77+
private static final LoginService LOGIN_SERVICE = new HashLoginService("MyRealm", "src/test/resources/realm.properties");
7878

7979
static {
8080
try {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
<logback.version>1.1.3</logback.version>
383383
<log4j.version>1.2.17</log4j.version>
384384
<testng.version>6.9.9</testng.version>
385-
<jetty.version>9.2.13.v20150730</jetty.version>
385+
<jetty.version>9.3.6.v20151106</jetty.version>
386386
<tomcat.version>6.0.29</tomcat.version>
387387
<commons-io.version>2.4</commons-io.version>
388388
<commons-fileupload.version>1.3</commons-fileupload.version>

0 commit comments

Comments
 (0)