unit icon indicating copy to clipboard operation
unit copied to clipboard

nodejs unit-http Response missing `close` event and `writableEnded` property

Open dbit-xia opened this issue 1 year ago • 0 comments

Hi, I use nodejs and found that the response of unit-http is missing close event and writableEnded property Version number: unit 1.32.0

The close event should be triggered after response.end() ,

The following is the official nodejs documentation I found: image image

In addition, I used nestjs@9+fastify+opentelemetry and found that it needs to listen to the close event and writableEnded property to complete the end of the span.

dbit-xia avatar May 07 '24 10:05 dbit-xia