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:
parent
0e448c6514
commit
03b27d0c61
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue