http/1 sets `headersSent` to `true` synchronously on `write`, `end`, `writeHead` and `writeHeaders`. I haven't been able to quite nail it but it seems to me that http compat does is asynchronously in some cases? Will dig further when I have time.
Activity
[-]http combat: headersSent[/-][+]http compat: headersSent[/+]targos commentedon May 7, 2023
Closing because of the lack of follow-up. Please reopen if you intend to get back to it soon.