diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/Request.java b/jetty-server/src/main/java/org/eclipse/jetty/server/Request.java
index 14c84ac2978..6f7a14ccf5d 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/Request.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/Request.java
@@ -63,7 +63,7 @@ import javax.servlet.http.HttpUpgradeHandler;
import javax.servlet.http.MappingMatch;
import javax.servlet.http.Part;
import javax.servlet.http.PushBuilder;
-import javax.servlet.http.ServletMapping;
+import javax.servlet.http.HttpServletMapping;
import org.eclipse.jetty.http.BadMessageException;
import org.eclipse.jetty.http.HostPortHttpField;
@@ -2452,9 +2452,9 @@ public class Request implements HttpServletRequest
return _pathSpec;
}
-
+
// TODO replace with overriden version from API
- public ServletMapping getMapping()
+ public HttpServletMapping getMapping()
{
final PathSpec pathSpec = _pathSpec;
final MappingMatch match;
@@ -2496,7 +2496,7 @@ public class Request implements HttpServletRequest
mapping = _servletPath;
}
- return new ServletMapping()
+ return new HttpServletMapping()
{
@Override
public String getMatchValue()
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/Response.java b/jetty-server/src/main/java/org/eclipse/jetty/server/Response.java
index 6ecb183a84c..dfcbd76f18f 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/Response.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/Response.java
@@ -109,7 +109,7 @@ public class Response implements HttpServletResponse
private OutputType _outputType = OutputType.NONE;
private ResponseWriter _writer;
private long _contentLength = -1;
- private Supplier trailers;
+ private Supplier _trailers;
private enum EncodingFrom { NOT_SET, INFERRED, SET_LOCALE, SET_CONTENT_TYPE, SET_CHARACTER_ENCODING }
private static final EnumSet __localeOverride = EnumSet.of(EncodingFrom.NOT_SET,EncodingFrom.INFERRED);
@@ -1316,34 +1316,27 @@ public class Response implements HttpServletResponse
@Deprecated
public void setTrailerHttpFields(Supplier trailers)
{
- this.trailers = trailers;
+ this._trailers = trailers;
}
- // TODO: @Override
+ @Override
public void setTrailerFields(Supplier
*/
public class HostPort
{
- private final static boolean STRIP_IPV6 = Boolean.parseBoolean(System.getProperty("org.eclipse.jetty.util.HostPort.STRIP_IPV6","false"));
+ private final static boolean STRIP_IPV6 = Boolean.parseBoolean(System.getProperty("org.eclipse.jetty.util.HostPort.STRIP_IPV6","true"));
private final String _host;
private final int _port;
diff --git a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/LocalFuzzer.java b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/LocalFuzzer.java
index 0c8560008e6..7674239cc90 100644
--- a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/LocalFuzzer.java
+++ b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/LocalFuzzer.java
@@ -131,7 +131,7 @@ public class LocalFuzzer implements AutoCloseable
prefix = "Frame[" + i + "]";
WebSocketFrame expected = expect.get(i);
- WebSocketFrame actual = framesQueue.poll(3, TimeUnit.SECONDS);
+ WebSocketFrame actual = framesQueue.poll(10, TimeUnit.SECONDS);
assertThat(prefix + ".poll", actual, notNullValue());
if (LOG.isDebugEnabled())
@@ -365,4 +365,4 @@ public class LocalFuzzer implements AutoCloseable
LocalConnector.LocalEndPoint newLocalConnection();
}
-}
\ No newline at end of file
+}
diff --git a/jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/WebSocketCloseTest.java b/jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/WebSocketCloseTest.java
index f14ab1da8de..dd6a379541f 100644
--- a/jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/WebSocketCloseTest.java
+++ b/jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/WebSocketCloseTest.java
@@ -271,7 +271,19 @@ public class WebSocketCloseTest
assertThat("No frames as output", framesQueue.size(), Matchers.is(0));
}
}
-
+
+ /**
+ *
+ * @throws Exception on test failure
+ */
+ @Test
+ public void testFastFailFastClose() throws Exception
+ {
+ fastFail();
+ fastClose();
+ }
+
+
/**
* Test session open session cleanup (bug #474936)
*
diff --git a/jetty-websocket/websocket-tests/src/test/resources/jetty-logging.properties b/jetty-websocket/websocket-tests/src/test/resources/jetty-logging.properties
index 645e626e47e..71fb0b968b6 100644
--- a/jetty-websocket/websocket-tests/src/test/resources/jetty-logging.properties
+++ b/jetty-websocket/websocket-tests/src/test/resources/jetty-logging.properties
@@ -26,7 +26,7 @@ org.eclipse.jetty.LEVEL=WARN
# org.eclipse.jetty.io.WriteFlusher.LEVEL=DEBUG
# org.eclipse.jetty.io.FillInterest.LEVEL=DEBUG
# org.eclipse.jetty.client.LEVEL=DEBUG
-# org.eclipse.jetty.websocket.LEVEL=DEBUG
+org.eclipse.jetty.websocket.LEVEL=DEBUG
# org.eclipse.jetty.websocket.LEVEL=INFO
# org.eclipse.jetty.websocket.jsr356.messages.LEVEL=DEBUG
# org.eclipse.jetty.websocket.tests.LEVEL=DEBUG
diff --git a/pom.xml b/pom.xml
index 416d6941e03..e9b8db2932e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
1.2
1.1.3.v20160715
8.5.9.1
- 4.0.0-b05
+ 4.0.0-b07
undefined