mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Flush on OnDemand write.
This commit is contained in:
1 parent
021d14472b
commit
3d00cf9251
1 file changed
+1
-1
@@ -57,7 +57,7 @@ public final class OnDemandRequestWorker extends RequestWorker<OnDemandRequest,
|
||||
ByteBuf chunkData = Unpooled.wrappedBuffer(tmp, 0, chunkSize);
|
||||
|
||||
OnDemandResponse response = new OnDemandResponse(desc, length, chunk, chunkData);
|
||||
channel.write(response);
|
||||
channel.writeAndFlush(response);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user