Fixed HTTP/3 in similar way as HTTP/2. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
e4aff21272
commit
513a2cb256
|
@ -161,13 +161,11 @@ public class HttpChannelOverHTTP3 extends HttpChannel
|
|||
{
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("onRequest() failure", x);
|
||||
onBadMessage(x);
|
||||
return null;
|
||||
return () -> onBadMessage(x);
|
||||
}
|
||||
catch (Throwable x)
|
||||
{
|
||||
onBadMessage(new BadMessageException(HttpStatus.INTERNAL_SERVER_ERROR_500, null, x));
|
||||
return null;
|
||||
return () -> onBadMessage(new BadMessageException(HttpStatus.INTERNAL_SERVER_ERROR_500, null, x));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue