Fix a compilation error
This commit is contained in:
parent
00295b23c8
commit
2c1d8584db
@ -110,7 +110,7 @@ public class Http2ClientConnectionHandler extends AbstractHttp2ConnectionHandler
|
|||||||
int streamId = nextStreamId();
|
int streamId = nextStreamId();
|
||||||
writeHeaders(ctx, promise, streamId, headers.build(), 0, !hasData, false);
|
writeHeaders(ctx, promise, streamId, headers.build(), 0, !hasData, false);
|
||||||
if (hasData) {
|
if (hasData) {
|
||||||
writeData(ctx, ctx.newPromise(), streamId, httpMsg.content(), 0, true, true, false);
|
writeData(ctx, ctx.newPromise(), streamId, httpMsg.content(), 0, true, true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ctx.write(msg, promise);
|
ctx.write(msg, promise);
|
||||||
|
Loading…
Reference in New Issue
Block a user