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:
Simone Bordet 2021-12-08 23:14:55 +01:00
parent e81c3ead7a
commit ea3f2703f0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class ServerProtocolSession extends ProtocolSession
{
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;
public ServerProtocolSession(ServerQuicSession session)