Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
parent
53246f977c
commit
8153efc2e6
|
@ -733,7 +733,7 @@ public class HttpInput extends ServletInputStream implements Runnable
|
|||
_listener = Objects.requireNonNull(readListener);
|
||||
|
||||
//illegal if async not started
|
||||
if (!_channelState.isAsync())
|
||||
if (!_channelState.isAsyncStarted())
|
||||
throw new IllegalStateException("Async not started");
|
||||
|
||||
if (isError())
|
||||
|
|
|
@ -138,11 +138,11 @@ public class HttpInputTest
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean isAsync()
|
||||
public boolean isAsyncStarted()
|
||||
{
|
||||
if (isFakeAsyncState())
|
||||
return true;
|
||||
return super.isAsync();
|
||||
return super.isAsyncStarted();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue