Skip to content

Streaming chunks fragmented at 2048 bytes #63

@RJ

Description

@RJ

I'm using streaming, and if i send a chunk larger than 2048, it's truncated.
I get sent a Part which is 2048 long, even if the server sent a larger chunk.
(which then doesn't deserialize properly as it's truncated)

due to hardcoded buffer size here:
https://github.com/emilk/ehttp/blob/master/ehttp/src/streaming/native.rs#L57

i don't think it's possible to know if a received Part was truncated or was simply exactly 2048 long originally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions