Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: oon00b/hono

Tags

v4.5.0-rc.2

Toggle v4.5.0-rc.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(streaming): call stream.abort() explicitly when request is aborted (

honojs#3042)

* feat(utils/stream): enable to abort streaming manually

* feat(utils/stream): prevent multiple aborts, and enable to get the abort status

* fix(streaming): call `stream.abort()` explicitly when request is aborted

* test: add tests for streaming

* docs(stream): add comments

* test: add --allow-net to deno test command in ci.yml

* test(streaming): update test code

* test(stream): retry flaky test up to 3 times at "bun"

* test(streaming): refactor test to use afterEach

* fix(streaming): in bun, `c` is destroyed when the request is returned, so hold it until the end of streaming

* refactor(streaming): tweaks code layout

v4.5.0-rc.1

Toggle v4.5.0-rc.1's commit message
v4.4.5