0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 02:27:49 +01:00
hono/runtime_tests
Taku Amano 2d3bc55954
fix(streaming): call stream.abort() explicitly when request is aborted (#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
2024-06-29 07:00:28 +09:00
..
bun fix(streaming): call stream.abort() explicitly when request is aborted (#3042) 2024-06-29 07:00:28 +09:00
deno fix(streaming): call stream.abort() explicitly when request is aborted (#3042) 2024-06-29 07:00:28 +09:00
deno-jsx chore(lint): update eslint rules (#2790) 2024-05-26 05:17:45 +09:00
fastly ci: Report coverage with CodeCov (#2862) 2024-06-01 04:17:47 +09:00
lambda fix(aws-lambda): handle multiple cookies in streaming responses (#2926) 2024-06-12 19:25:37 +09:00
lambda-edge ci: Report coverage with CodeCov (#2862) 2024-06-01 04:17:47 +09:00
node fix(streaming): call stream.abort() explicitly when request is aborted (#3042) 2024-06-29 07:00:28 +09:00
workerd test(workerd): add tests for WebSocket (#2891) 2024-06-03 00:14:11 +09:00
tsconfig.json