This commit is contained in:
Redkale
2016-10-11 12:30:02 +08:00
parent 515e8256cc
commit ea98bb814f

View File

@@ -34,7 +34,7 @@ public final class PrepareRunner implements Runnable {
public void run() { public void run() {
final PrepareServlet prepare = context.prepare; final PrepareServlet prepare = context.prepare;
final ObjectPool<? extends Response> responsePool = context.responsePool; final ObjectPool<? extends Response> responsePool = context.responsePool;
if (data != null) { if (data != null) { //BIO模式的UDP连接创建AsyncConnection时已经获取到ByteBuffer数据了
final Response response = responsePool.get(); final Response response = responsePool.get();
response.init(channel); response.init(channel);
try { try {