Description
This issue tracks the task of cherry-picking PR #302 to the 'next' branch.
Reference
Details
PR #302 fixes an issue where the server returns a stream response but the context is destroyed prematurely before the stream is fully consumed. The fix includes:
- Exporting a utility called StreamUtil and adding a new method named untilEnd
- Ensuring streams are fully consumed before context destruction
Requested by
@fengmk2
Task