As part of the below commit, i see that the reference to exchange object is removed after a call to processWrite which will generate the headers.

https://github.com/undertow-io/undertow/commit/d0151d67a88bc34f61895bc6d131a0dbc95243c5

 When this is done, there could be still data which has to be written. Can you please help me understand why this reference to exchange is being made explicitly made to null?



--
Regards,
Rohan Emmanuel