Skip to content

Conversation

@dantaras
Copy link
Contributor

No description provided.

stream = key2stream(dst)
buffer = sizehint!(UInt8[], buffer_size + 1500)
append!(buffer, reader.raw_header)
own_streams && append!(buffer, reader.raw_header)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but maybe something like will work?

Suggested change
own_streams && append!(buffer, reader.raw_header)
position(stream) == 0 && append!(buffer, reader.raw_header)

dantaras and others added 4 commits June 20, 2022 12:51
Co-authored-by: Christian Rorvik <christian.rorvik@gmail.com>
Co-authored-by: Christian Rorvik <christian.rorvik@gmail.com>
Co-authored-by: Christian Rorvik <christian.rorvik@gmail.com>
@ancapdev ancapdev merged commit acb1396 into ancapdev:master Jun 20, 2022
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