Revert "474618 - AsyncListener.onComplete not called when error occurs"
This reverts commit 60f409e4ff
.
This commit is contained in:
parent
60f409e4ff
commit
9ca235beca
|
@ -18,7 +18,6 @@
|
|||
|
||||
package org.eclipse.jetty.server;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
@ -546,16 +545,10 @@ public class HttpChannelState
|
|||
{
|
||||
if (event.getThrowable()!=null)
|
||||
listener.onError(event);
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
}
|
||||
try
|
||||
{
|
||||
else
|
||||
listener.onComplete(event);
|
||||
}
|
||||
catch (IOException e)
|
||||
catch(Exception e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue