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

Use wasi-streams in the wasi-http implementation #7056

Merged
merged 62 commits into from
Sep 21, 2023

Commits on Sep 20, 2023

  1. Start refactoring wasi-http

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    2a1d46b View commit details
    Browse the repository at this point in the history
  2. Checkpoint

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    119c17a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f13f1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96f9c71 View commit details
    Browse the repository at this point in the history
  5. make wasmtime-wasi-http compile

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    6546205 View commit details
    Browse the repository at this point in the history
  6. wasi-http wit: make a way to reject outgoing-request in outgoing-handler

    before waiting for the future to resolve
    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    21e09b8 View commit details
    Browse the repository at this point in the history
  7. wasi: sync wit from wasi-http

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    48ba40e View commit details
    Browse the repository at this point in the history
  8. outgoing handler impl: report errors to userland

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    a9a4dad View commit details
    Browse the repository at this point in the history
  9. test-programs: get wasi-http-components kicking over, delete modules …

    …and components-sync tests
    
    wasi-http-components-sync will come back once we get done with other
    stuff, but its superfulous for now. wasi-http-modules will not be
    returning.
    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    0718d60 View commit details
    Browse the repository at this point in the history
  10. Process headers

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    1e2bfc6 View commit details
    Browse the repository at this point in the history
  11. Add HostIncomingBody::new

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    5d412e3 View commit details
    Browse the repository at this point in the history
  12. Add trailers functions

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    7a79086 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c2e7e74 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b663678 View commit details
    Browse the repository at this point in the history
  15. Fix the wit

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    a2250b3 View commit details
    Browse the repository at this point in the history
  16. First cut at the worker loop

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f2795b0 View commit details
    Browse the repository at this point in the history
  17. wasi-http: change how we represent bodies/trailers, and annotate own/…

    …borrow/child throughout
    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    ac8cf02 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ef3ce0a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7f6ad99 View commit details
    Browse the repository at this point in the history
  20. Checkpoint

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    cb6981b View commit details
    Browse the repository at this point in the history
  21. more work on incoming body and future trailers

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    fc6b6f4 View commit details
    Browse the repository at this point in the history
  22. Fill out some more functions

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    41379a2 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    39f93f0 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    ebaa0b6 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    a4f69b4 View commit details
    Browse the repository at this point in the history
  26. Fix borrow error

    alexcrichton authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    b44fd65 View commit details
    Browse the repository at this point in the history
  27. wasi-http-tests: fix build

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    15a9ae5 View commit details
    Browse the repository at this point in the history
  28. test-runner: report errors with stdout/stderr properly

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    3bbcbdf View commit details
    Browse the repository at this point in the history
  29. fix two trivial wasi-http tests

    the error type here changed from a types::Error to an
    outbound_handler::Error
    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    b81e7b7 View commit details
    Browse the repository at this point in the history
  30. Remove unnecessary drops

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    5bf7f12 View commit details
    Browse the repository at this point in the history
  31. Convert a bail! to a todo!

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    91f9b98 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    486e4f8 View commit details
    Browse the repository at this point in the history
  33. fill in a bunch more of OutputBody

    Pat Hickey authored and elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    a38546e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    b57c0f4 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    be93779 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    b8b255b View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    33a1ee2 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    bf4b148 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    836e9f8 View commit details
    Browse the repository at this point in the history
  40. Fix the invalid_dnsname test

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    e3e9940 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    001f249 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    e2cb195 View commit details
    Browse the repository at this point in the history
  43. Fix the post test

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    d6f15c2 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    83d43ae View commit details
    Browse the repository at this point in the history
  45. Format

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f953b06 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    27c5ac5 View commit details
    Browse the repository at this point in the history
  47. Downgrade hyper

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    43ff3b9 View commit details
    Browse the repository at this point in the history
  48. Revert "Downgrade hyper"

    This reverts commit fa0750e.
    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    a6d57f0 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    f1cc65e View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    e3addd4 View commit details
    Browse the repository at this point in the history
  51. Fix tests

    * Remove the module and component-sync tests, as they are currently not
      supported
    * Fix the reference to the large_post test in the components test
    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    008f85a View commit details
    Browse the repository at this point in the history
  52. Fix wasi-http integration

    elliottt committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    ccab9e5 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    93dc947 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    27ef314 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Ignore the wasi-http cli test

    prtest:full
    elliottt committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    3c13cf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab991fd View commit details
    Browse the repository at this point in the history
  3. Fix doc errors

    elliottt committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    fc58a2e View commit details
    Browse the repository at this point in the history
  4. code motion: introduce intermediate HostIncomingBodyBuilder rather …

    …than a tuple
    Pat Hickey committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    6810c9f View commit details
    Browse the repository at this point in the history
  5. explain design

    Pat Hickey committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    5a24679 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4739421 View commit details
    Browse the repository at this point in the history
  7. Tidy up some future state (#7073)

    Co-authored-by: Pat Hickey <phickey@fastly.com>
    alexcrichton and Pat Hickey authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    39cbda9 View commit details
    Browse the repository at this point in the history
  8. body HostInputStream: report runtime errors with StreamRuntimeError

    HostInputStream is designed wrong to need that in the first place. We
    will fix it in a follow-up as soon as resources land.
    Pat Hickey committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    6506d10 View commit details
    Browse the repository at this point in the history