448156 Fixed INACTIVE race in IteratingCallback

Fixed double usage of callback
This commit is contained in:
Greg Wilkins 2014-10-22 16:14:51 +11:00
parent 4bbd3e9909
commit 29a9f4f693
1 changed files with 3 additions and 0 deletions

View File

@ -438,7 +438,10 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
if (info == null)
{
if (!lastContent && BufferUtil.isEmpty(content))
{
callback.succeeded();
return;
}
}
else
{