Skip to content

some bug fixes#1

Open
AndrewKraevskii wants to merge 2 commits into
starfederation:mainfrom
AndrewKraevskii:bugfix
Open

some bug fixes#1
AndrewKraevskii wants to merge 2 commits into
starfederation:mainfrom
AndrewKraevskii:bugfix

Conversation

@AndrewKraevskii

Copy link
Copy Markdown

beginStream function in example_stdlib.zig was returning pointer to a stack variable.

using BodyWriter.end() in defer is just incorrect. It swallows the error which may happen in end() (it would for example prevent Cancelation from working) and it also writes to the buffer even tho presense of error indicates what its no longer possible to write to the buffer. more discussion about it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants