mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-23 16:05:00 +00:00
* Issue #1363 This is just some renaming withing HttpInput to improve it's understandability, plus a small amount of refactoring for EOF handling. This does not yet fix the deadlock, but is working towards better EOF handling so that state can be pushed from HttpInput to HttpChannelState and avoid the need to query HttpInput state. * Issue #1363 Fixed #1363 deadlock by removing the call from HttpChannelState#unhandle to HttpInput This backed out the fix for #1317, which was fixed differently: + HttpChannelState#onReadEof now always sets _asyncReadPossible to true and _asyncRead to REGISTERED, so that the tests in both #handling and #unhandle will be true and return an Action.READ_CALLBACK + HttpInput#run now moves the state from AEOF to EOF if it directly consumes EOF from interceptedContent + HttpInput#run no longer calls onAllDataRead after a onDataAvailable, instead relying on the #onReadEof call to make #unhandle return Action.READ_CALLBACK so that onAllDataRead is called on a subsequent execution of #run