mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-24 00:17:18 +00:00
HttpSender was setting the listener for asynchronous content before its own state was properly setup. This was causing race conditions, where a thread could notify HttpSender and find null data members causing later NPEs. Now the listener is set after the state is setup, removing the race condition.