Issue #6728 - QUIC and HTTP/3
Made ServerProtocolSession's producer task of type EITHER. This is necessary to allow for example DATA frames to be processed to unblock blocked reads. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
e81c3ead7a
commit
ea3f2703f0
|
@ -28,7 +28,7 @@ public class ServerProtocolSession extends ProtocolSession
|
||||||
{
|
{
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(ServerProtocolSession.class);
|
private static final Logger LOG = LoggerFactory.getLogger(ServerProtocolSession.class);
|
||||||
|
|
||||||
private final Runnable producer = Invocable.from(Invocable.InvocationType.BLOCKING, this::produce);
|
private final Runnable producer = Invocable.from(Invocable.InvocationType.EITHER, this::produce);
|
||||||
private final Consumer<QuicStreamEndPoint> openProtocolEndPoint = this::openProtocolEndPoint;
|
private final Consumer<QuicStreamEndPoint> openProtocolEndPoint = this::openProtocolEndPoint;
|
||||||
|
|
||||||
public ServerProtocolSession(ServerQuicSession session)
|
public ServerProtocolSession(ServerQuicSession session)
|
||||||
|
|
Loading…
Reference in New Issue