mirror of
https://git.proxmox.com/git/ui/proxmox-yew-comp.git
synced 2026-10-26 04:41:08 +00:00
No description
- Rust 98.8%
- JavaScript 1.1%
- Makefile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
A streaming request sent no Accept header, so a server handling it with a streaming handler collected all records into one document before answering. It also created an abort guard that lived only as long as the request future, which ends with the response head, so the fetch was aborted before a byte of the body could be read: every read of the body failed with an abort error. The native client in proxmox-client sends the header and keeps its connection, so only the wasm client was affected. Send the Accept header, and hand the guard on with the body instead of dropping it. The request is then aborted when the future is dropped while the head is awaited, when the caller discards the body, or when a reader made from the body is dropped before the stream's end. The body type of the client thus changes from the raw browser stream to a wrapper that owns the request; readers and record streams are made from it as before. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
| .cargo | ||
| debian | ||
| src | ||
| tests/browser | ||
| .gitignore | ||
| Cargo.toml | ||
| js-helper-module.js | ||
| Makefile | ||
| TODO.md | ||