Merged branch 'jetty-9.2.x' into 'master'.

This commit is contained in:
Simone Bordet 2014-10-28 11:55:44 +01:00
commit 8d2acb6817
3 changed files with 74 additions and 3 deletions

View File

@ -1,3 +1,73 @@
jetty-9.2.4-SNAPSHOT
+ 376365 "jetty.sh start" returns 0 on failure
+ 396569 'bin/jetty.sh stop' reports 'OK' even when jetty was not running
+ 396572 Starting jetty from cygwin is not working properly
+ 438387 NullPointerException after ServletUpgradeResponse.sendForbidden is
called during WebSocketCreator.createWebSocket
+ 440729 SSL requests often fail with EOFException or IllegalStateException.
+ 442419 CrossOriginFilter javadoc says "exposeHeaders", but should be
"exposedHeaders"
+ 442495 Bad Context ClassLoader in JSR356 WebSocket onOpen
+ 442942 Content sent with status 204 (No Content)
+ 443529 CrossOriginFilter does not accept wildcard for allowedHeaders
+ 443530 CrossOriginFilter does not set the Vary header
+ 444031 Ensure exceptions do not reduce threadpool below minimum
+ 444124 JSP include with <servlet><jsp-file> can cause infinite recursion
+ 444214 Socks4Proxy fails when reading less than 8 bytes.
+ 444222 replace CRLF in header values with whitespace rather than ?
+ 444415 iterative WriteFlusher
+ 444416 AsyncProxyServlet recursion.
+ 444517 Ensure WebSocketUpgradeFilter is always first in filter chain
+ 444547 Format exception in ResourceCache.Content.toString()
+ 444595 nosql/mongodb - Cleanup process/Refreshing does not respect encoding
of attribute keys
+ 444617 Expose local and remote socket address to applications
+ 444676 Goal jetty:deploy-war produces errors with version 9.2.3
+ 444748 WebSocketClient.stop() does not unregister from ShutdownThread
+ 444764 HttpClient notifies callbacks for last chunk of content twice.
+ 444771 JSR356 / EndPointConfig.userProperties are not unique per endpoint
upgrade
+ 444863 ProxyServlet does not filter headers listed by the Connection header.
+ 444896 Overriding of web-default servlet mapping in web.xml not working with
quickstart
+ 445157 First redeployed servlet leaks WebAppContext
+ 445258 STOP.WAIT is not really respected
+ 445374 Reevaluate org.eclipse.jetty.websocket.jsr356 enablement concepts
+ 445495 Improve Exception message when no jndi resource to bind for a name in
web.xml
+ 445542 Add SecuredRedirectHandler for embedded jetty use to redirect to
secure port/scheme
+ 445821 Error 400 should be logged with RequestLog
+ 445823 RequestLogHandler at end of HandlerCollection doesn't work
+ 445830 Support setting environment variables on forked jetty with
jetty:run-forked
+ 445979 jetty.sh fails to start when start-stop-daemon does not exist and the
user is not root
+ 446033 org.eclipse.jetty.websocket.server.WebSocketServerFactory not
available in OSGi
+ 446063 ALPN Fail SSL Handshake if no supported Application Protocols.
+ 446107 NullPointerException in ProxyServlet when extended by Servlet without
a package
+ 446425 Oracle Sql error on JettySessions table when this table do not exist
already
+ 446506 getAsyncContext ISE before startAsync on async dispatches
+ 446563 Null HttpChannel.getCurrentHttpChannel() in
ServletHandler.doFilter().
+ 446672 NPN Specification issue in the case no protocols are selected.
+ 446923 SharedBlockingCallback does not handle connector max idle time of
Long.MAX_VALUE; BlockerTimeoutException not serializable
+ 447381 Disable SSLv3 by default.
+ 447472 test harness for slow large writes
+ 447627 MultiPart file always created when "filename" set in
Content-Disposition
+ 447629 getPart()/getParts() fails on Multipart request if getParameter is
called in a filter first
+ 447746 HttpClient is always going to send User-Agent header even though I do
not want it to.
+ 447979 Refactor to make MetaData responsible for progressively ordering
web-inf jars
+ 448156 Fixed INACTIVE race in IteratingCallback
jetty-9.3.0.M0 - 24 September 2014
+ 437395 Start / Properties in template sections should be default applied for
enabled modules
@ -121,7 +191,7 @@ jetty-9.2.2.v20140723 - 23 July 2014
+ 440020 Abort bad proxy responses with sendError(-1)
+ 440038 Content decoding may fail.
+ 440114 ContextHandlerCollection does not skip context wrappers
+ 440122 Remove usages of ForkInvoker. >>>>>>> origin/master
+ 440122 Remove usages of ForkInvoker.
jetty-9.2.1.v20140609 - 09 June 2014
+ 347110 Supprt ClassFileTransormers in WebAppClassLoader

View File

@ -108,7 +108,7 @@ import org.eclipse.jetty.util.resource.Resource;
public class ContextHandler extends ScopedHandler implements Attributes, Graceful
{
public final static int SERVLET_MAJOR_VERSION=3;
public final static int SERVLET_MINOR_VERSION=0;
public final static int SERVLET_MINOR_VERSION=1;
public static final Class<?>[] SERVLET_LISTENER_TYPES = new Class[] {ServletContextListener.class,
ServletContextAttributeListener.class,
ServletRequestListener.class,

View File

@ -20,7 +20,6 @@ package org.eclipse.jetty.websocket.server;
import java.io.IOException;
import java.util.EnumSet;
import javax.servlet.DispatcherType;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@ -77,6 +76,7 @@ public class WebSocketUpgradeFilter extends ContainerLifeCycle implements Filter
FilterHolder fholder = new FilterHolder(filter);
fholder.setName(name);
fholder.setAsyncSupported(true);
fholder.setInitParameter(CONTEXT_ATTRIBUTE_KEY,WebSocketUpgradeFilter.class.getName());
context.addFilter(fholder,pathSpec,dispatcherTypes);
@ -108,6 +108,7 @@ public class WebSocketUpgradeFilter extends ContainerLifeCycle implements Filter
String urlPatterns[] = { pathSpec };
FilterRegistration.Dynamic dyn = context.addFilter(name,filter);
dyn.setAsyncSupported(true);
dyn.setInitParameter(CONTEXT_ATTRIBUTE_KEY,WebSocketUpgradeFilter.class.getName());
dyn.addMappingForUrlPatterns(dispatcherTypes,isMatchAfter,urlPatterns);