Skip to content

Maintenance: End the Response Stream when body is null in #streamHandlerResponse #4650

@sdangol

Description

@sdangol

Summary

In the #streamHandlerResponse function , the response stream is not ending the response stream when body is null

Why is this needed?

We should make sure we clean up after ourselves after the stream is started.

Which area does this relate to?

Event Handler

Solution

Add a resStream.end() after resStream.write('') to make sure the stream is ended

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedevent-handlerThis item relates to the Event Handler UtilityinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions