Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts: VERSION.txt aggregates/jetty-all/pom.xml apache-jsp/pom.xml apache-jstl/pom.xml examples/async-rest/async-rest-jar/pom.xml examples/async-rest/async-rest-webapp/pom.xml examples/async-rest/pom.xml examples/embedded/pom.xml examples/pom.xml jetty-alpn/jetty-alpn-client/pom.xml jetty-alpn/jetty-alpn-server/pom.xml jetty-alpn/pom.xml jetty-annotations/pom.xml jetty-ant/pom.xml jetty-cdi/pom.xml jetty-client/pom.xml jetty-continuation/pom.xml jetty-deploy/pom.xml jetty-distribution/pom.xml jetty-fcgi/fcgi-client/pom.xml jetty-fcgi/fcgi-server/pom.xml jetty-fcgi/pom.xml jetty-http-spi/pom.xml jetty-http/pom.xml jetty-http2/http2-alpn-tests/pom.xml jetty-io/pom.xml jetty-jaas/pom.xml jetty-jaspi/pom.xml jetty-jmx/pom.xml jetty-jndi/pom.xml jetty-jsp/pom.xml jetty-jspc-maven-plugin/pom.xml jetty-maven-plugin/pom.xml jetty-monitor/pom.xml jetty-nosql/pom.xml jetty-osgi/jetty-osgi-alpn/pom.xml jetty-osgi/jetty-osgi-boot-jsp/pom.xml jetty-osgi/jetty-osgi-boot-warurl/pom.xml jetty-osgi/jetty-osgi-boot/pom.xml jetty-osgi/jetty-osgi-httpservice/pom.xml jetty-osgi/jetty-osgi-npn/pom.xml jetty-osgi/pom.xml jetty-osgi/test-jetty-osgi-context/pom.xml jetty-osgi/test-jetty-osgi-webapp/pom.xml jetty-osgi/test-jetty-osgi/pom.xml jetty-plus/pom.xml jetty-proxy/pom.xml jetty-quickstart/pom.xml jetty-rewrite/pom.xml jetty-runner/pom.xml jetty-security/pom.xml jetty-server/pom.xml jetty-servlet/pom.xml jetty-servlets/pom.xml jetty-spdy/pom.xml jetty-spdy/spdy-client/pom.xml jetty-spdy/spdy-core/pom.xml jetty-spdy/spdy-example-webapp/pom.xml jetty-spdy/spdy-http-client-transport/pom.xml jetty-spdy/spdy-http-common/pom.xml jetty-spdy/spdy-http-server/pom.xml jetty-spdy/spdy-npn-tests/pom.xml jetty-spdy/spdy-server/pom.xml jetty-spring/pom.xml jetty-start/pom.xml jetty-util-ajax/pom.xml jetty-util/pom.xml jetty-webapp/pom.xml jetty-websocket/javax-websocket-client-impl/pom.xml jetty-websocket/javax-websocket-server-impl/pom.xml jetty-websocket/pom.xml jetty-websocket/websocket-api/pom.xml jetty-websocket/websocket-client/pom.xml jetty-websocket/websocket-common/pom.xml jetty-websocket/websocket-server/pom.xml jetty-websocket/websocket-servlet/pom.xml jetty-xml/pom.xml pom.xml tests/pom.xml tests/test-continuation/pom.xml tests/test-integration/pom.xml tests/test-jmx/jmx-webapp-it/pom.xml tests/test-jmx/jmx-webapp/pom.xml tests/test-jmx/pom.xml tests/test-loginservice/pom.xml tests/test-quickstart/pom.xml tests/test-sessions/pom.xml tests/test-sessions/test-hash-sessions/pom.xml tests/test-sessions/test-jdbc-sessions/pom.xml tests/test-sessions/test-mongodb-sessions/pom.xml tests/test-sessions/test-sessions-common/pom.xml tests/test-webapps/pom.xml tests/test-webapps/test-jaas-webapp/pom.xml tests/test-webapps/test-jetty-webapp/pom.xml tests/test-webapps/test-jndi-webapp/pom.xml tests/test-webapps/test-mock-resources/pom.xml tests/test-webapps/test-proxy-webapp/pom.xml tests/test-webapps/test-servlet-spec/pom.xml tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml tests/test-webapps/test-servlet-spec/test-web-fragment/pom.xml tests/test-webapps/test-webapp-rfc2616/pom.xml
This commit is contained in:
commit
1de53a888d
14
VERSION.txt
14
VERSION.txt
|
@ -1,5 +1,19 @@
|
|||
jetty-9.3.0-SNAPSHOT
|
||||
|
||||
jetty-9.2.10.v20150310 - 10 March 2015
|
||||
+ 445518 Provide different error callbacks to ProxyServlet.
|
||||
+ 456521 ShutdownHandler should shut down more gracefully
|
||||
+ 458140 Added DispatcherType support to RewriteHandler
|
||||
+ 460769 ClientUpgradeRequest sends cookies in the wrong format
|
||||
+ 460905 Make sure TimeoutCompleteListener is cancelled if the request cannot
|
||||
be sent.
|
||||
+ 461070 Handle setReadListener on request with no content
|
||||
+ 461133 allow stop port to reuse address
|
||||
+ 461452 Double release of buffer by HttpReceiverOverHTTP
|
||||
+ 461499 ConnectionPool may leak connections.
|
||||
+ 461623 BufferUtil.writeTo does not update position consistently
|
||||
+ 461643 HttpContent.advance() race.
|
||||
|
||||
jetty-9.2.9.v20150224 - 24 February 2015
|
||||
+ 459273 Redundant license notices
|
||||
+ 460176 When checking for precompiled jsp, ensure classname is present
|
||||
|
|
|
@ -24,6 +24,7 @@ import java.net.CookiePolicy;
|
|||
import java.net.CookieStore;
|
||||
import java.net.SocketAddress;
|
||||
import java.net.URI;
|
||||
import java.nio.channels.SocketChannel;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
|
@ -84,10 +85,12 @@ import org.eclipse.jetty.util.thread.Scheduler;
|
|||
* httpClient.start();
|
||||
*
|
||||
* // One liner:
|
||||
* httpClient.GET("http://localhost:8080/").get().status();
|
||||
* httpClient.GET("http://localhost:8080/").getStatus();
|
||||
*
|
||||
* // Building a request with a timeout
|
||||
* Response response = httpClient.newRequest("http://localhost:8080").send().get(5, TimeUnit.SECONDS);
|
||||
* ContentResponse response = httpClient.newRequest("http://localhost:8080")
|
||||
* .timeout(5, TimeUnit.SECONDS)
|
||||
* .send();
|
||||
* int status = response.status();
|
||||
*
|
||||
* // Asynchronously
|
||||
|
|
|
@ -94,13 +94,13 @@ public class HttpExchange
|
|||
public void associate(HttpChannel channel)
|
||||
{
|
||||
if (!this.channel.compareAndSet(null, channel))
|
||||
throw new IllegalStateException();
|
||||
request.abort(new IllegalStateException());
|
||||
}
|
||||
|
||||
public void disassociate(HttpChannel channel)
|
||||
{
|
||||
if (!this.channel.compareAndSet(channel, null))
|
||||
throw new IllegalStateException();
|
||||
request.abort(new IllegalStateException());
|
||||
}
|
||||
|
||||
public boolean requestComplete()
|
||||
|
|
|
@ -654,7 +654,7 @@ public class HttpRequest implements Request
|
|||
|
||||
return listener.get(timeout, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
catch (InterruptedException | TimeoutException x)
|
||||
catch (Throwable x)
|
||||
{
|
||||
// Differently from the Future, the semantic of this method is that if
|
||||
// the send() is interrupted or times out, we abort the request.
|
||||
|
|
|
@ -62,7 +62,8 @@ public abstract class MultiplexHttpDestination<C extends Connection> extends Htt
|
|||
}
|
||||
default:
|
||||
{
|
||||
throw new IllegalStateException();
|
||||
abort(new IllegalStateException("Invalid connection state " + current));
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ public class HttpReceiverOverHTTP extends HttpReceiver implements HttpParser.Res
|
|||
|
||||
public void receive()
|
||||
{
|
||||
if (buffer==null)
|
||||
if (buffer == null)
|
||||
acquireBuffer();
|
||||
process();
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ public class HttpReceiverOverHTTP extends HttpReceiver implements HttpParser.Res
|
|||
|
||||
private void releaseBuffer()
|
||||
{
|
||||
if (buffer==null)
|
||||
if (buffer == null)
|
||||
throw new IllegalStateException();
|
||||
if (BufferUtil.hasContent(buffer))
|
||||
throw new IllegalStateException();
|
||||
|
@ -136,7 +136,7 @@ public class HttpReceiverOverHTTP extends HttpReceiver implements HttpParser.Res
|
|||
if (LOG.isDebugEnabled())
|
||||
LOG.debug(x);
|
||||
BufferUtil.clear(buffer);
|
||||
if (buffer!=null)
|
||||
if (buffer != null)
|
||||
releaseBuffer();
|
||||
failAndClose(x);
|
||||
}
|
||||
|
|
|
@ -118,7 +118,8 @@ public class HttpSenderOverHTTP extends HttpSender
|
|||
}
|
||||
default:
|
||||
{
|
||||
throw new IllegalStateException(result.toString());
|
||||
callback.failed(new IllegalStateException(result.toString()));
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.eclipse.jetty.fcgi</groupId>
|
||||
<artifactId>fcgi-parent</artifactId>
|
||||
|
|
Loading…
Reference in New Issue