Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2023-06-11 19:10:54 +02:00
commit a15285aa6c
No known key found for this signature in database
GPG Key ID: 1677D141BCF3584D
1 changed files with 5 additions and 2 deletions

View File

@ -209,8 +209,11 @@ public class JettyHttpExchangeDelegate extends HttpExchange
@Override
public void setStreams(InputStream i, OutputStream o)
{
_is = i;
_os = o;
assert _is != null;
if (i != null)
_is = i;
if (o != null)
_os = o;
}
@Override