jetty-9: HTTP client: always dispatching after connection creation.

This is needed to allow onOpen() to execute just after the connection creation,
otherwise the application may delay the onOpen() call indefinitely by implementing
a request listener method.
This commit is contained in:
Simone Bordet 2012-10-09 10:36:12 +02:00
parent 0e448c6514
commit 03b27d0c61
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public class HttpDestination implements Destination, AutoCloseable, Dumpable
public void completed(Connection connection)
{
LOG.debug("Created connection {}/{} {} for {}", next, maxConnections, connection, HttpDestination.this);
process(connection, client.isDispatchIO());
process(connection, true);
}
@Override