mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-23 15:45:42 +00:00
HttpGenerator._header and HttpGenerator._buffer may be null when the content is written after a partial write. In this case, the terminal chunk was not prepared, and therefore never written. The fix simply creates a HttpGenerator._header to prepare the terminal chunk, so that it will be written.