We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5316536 commit 4bdb30dCopy full SHA for 4bdb30d
connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/JerseyClientHandler.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2016, 2022 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2023 Oracle and/or its affiliates. All rights reserved.
3
*
4
* This program and the accompanying materials are made available under the
5
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -188,6 +188,9 @@ public int read() throws IOException {
188
189
if (content.isReadable()) {
190
content.retain();
191
+ if (nis == null) {
192
+ nis = new NettyInputStream();
193
+ }
194
nis.publish(content);
195
}
196
0 commit comments