Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core HTTP/1.1 #9

Open
dedbox opened this issue Mar 28, 2018 · 0 comments
Open

core HTTP/1.1 #9

dedbox opened this issue Mar 28, 2018 · 0 comments
Milestone

Comments

@dedbox
Copy link
Owner

dedbox commented Mar 28, 2018

Old prototype layout:

  • http/1.1-message-codec
    • http/1.1-message-header-codec
    • http/1.1-message-body-codec
  • http/1.1-request-codec
  • http/1.1-response-codec
  • http/1.1-server
  • http/1.1-client

Message headers:

  • stay safe: when in doubt, reject
    • enforce max length (bytes)
    • don't decode the wrong things

Message body:

  • remains unread until first used
    • can be read directly from underlying socket
    • can be parsed / printed according to message headers
    • one or the other, not both
@dedbox dedbox added this to the v1.1 milestone Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant