Skip to content

auto body drain has max value? #9

Description

@MDA2AV

Reading a request
The head is parsed in place and the request is filled with slices into it: method, target, path, query, headers with their names lower-cased. The body stays on the wire until asked for. ioxd_body_all keeps it in the reader, so it must fit the 16 KB; ioxd_body_read_until copies it out in pieces of any size, decoding chunked framing on the way; a body the handler never read is drained after it, up to a limit, past which the connection closes instead.

Activity

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

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