mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
* Check for empty buffers instead of nil in responsewriter Use Case: I am using a service that implements `http.Handler` to send streaming video to the frontend. Reliably, when sending fragmented MP4 data on MacOS, the app would panic because the buffer being sent through the response passed a not-nil check but would panic when accessing the first byte of the buffer. This PR addresses that by checking if the buffer is not empty instead of nil, accounting for the case where len(buf) == 0 and cap(buf) > 0, or maybe where buf[0] == '\0' (I'm not sure how the nil checks work for slices) * Update UNRELEASED_CHANGELOG * Update v3/internal/assetserver/webview/responsewriter_darwin.go nil and len check --------- Co-authored-by: Atterpac <89053530+atterpac@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cmd/wails3 | ||
| examples | ||
| internal | ||
| pkg | ||
| scripts | ||
| tasks | ||
| test/docker | ||
| tests/window-visibility-test | ||
| wep | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc.yml | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
| release-notes.txt | ||
| release_notes.md | ||
| Taskfile.yaml | ||
| TESTING.md | ||
| UNRELEASED_CHANGELOG.md | ||
v3 Alpha
Thanks for wanting to help out with testing/developing Wails v3! This guide will help you get started.
Getting Started
All the instructions for getting started are in the v3 documentation directory: mkdocs-website.
Please read the README.md file in that directory for more information.