Fixed recycling of fields, now correctly restored to their initial
values.
This commit is contained in:
parent
0cdd884672
commit
4f21d42b78
|
@ -89,8 +89,8 @@ public class HttpChannelState
|
||||||
|
|
||||||
private final boolean DEBUG=LOG.isDebugEnabled();
|
private final boolean DEBUG=LOG.isDebugEnabled();
|
||||||
private final HttpChannel<?> _channel;
|
private final HttpChannel<?> _channel;
|
||||||
private List<AsyncListener> _asyncListeners;
|
|
||||||
|
|
||||||
|
private List<AsyncListener> _asyncListeners;
|
||||||
private State _state;
|
private State _state;
|
||||||
private Async _async;
|
private Async _async;
|
||||||
private boolean _initial;
|
private boolean _initial;
|
||||||
|
@ -497,13 +497,15 @@ public class HttpChannelState
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
_asyncListeners=null;
|
||||||
_state=State.IDLE;
|
_state=State.IDLE;
|
||||||
_async=null;
|
_async=null;
|
||||||
_initial = true;
|
_initial=true;
|
||||||
cancelTimeout();
|
_asyncRead=false;
|
||||||
_timeoutMs=DEFAULT_TIMEOUT;
|
|
||||||
_event=null;
|
|
||||||
_asyncWrite=false;
|
_asyncWrite=false;
|
||||||
|
_timeoutMs=DEFAULT_TIMEOUT;
|
||||||
|
cancelTimeout();
|
||||||
|
_event=null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue