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

Buffer writes before chunks are written to connection #72

Merged
merged 16 commits into from
May 21, 2024

Commits on May 21, 2024

  1. Buffer writes before chunks are written to connection

    This commit:
    * Moves the responsibility for writing the request body from `Request` to `HttpConnection`.
    * Uses the buffer provided when calling `into_buffered()` to buffer writes before they are passed on to the `ChunkedBufferWriter`
    
    This fixes drogue-iot#71
    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    85c20cd View commit details
    Browse the repository at this point in the history
  2. This requires buffered-io 0.5.1

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    609cf4b View commit details
    Browse the repository at this point in the history
  3. Fix clippy warning

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    b66eb13 View commit details
    Browse the repository at this point in the history
  4. Fix compilation without tls

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    ab074c6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f80172a View commit details
    Browse the repository at this point in the history
  6. Fix rename

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    9d76971 View commit details
    Browse the repository at this point in the history
  7. Revert "Change ChunkedWriterStrategy to minimize connection writes"

    This reverts commit 87353be.
    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    c2d40f9 View commit details
    Browse the repository at this point in the history
  8. Revert "Fix rename"

    This reverts commit 5b28015.
    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    c6d1f59 View commit details
    Browse the repository at this point in the history
  9. Add BufferedChunkedBodyWriter

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    cbae22c View commit details
    Browse the repository at this point in the history
  10. Move body writers to separate file

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    2df80ca View commit details
    Browse the repository at this point in the history
  11. Add tests and optimize allocated header to match the remaining size o…

    …f the buffer
    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    5949cb8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    564b5c4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6a58d14 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ffdf480 View commit details
    Browse the repository at this point in the history
  15. Fixes according to review - thanks @bugadani !

    rmja authored and bugadani committed May 21, 2024
    Configuration menu
    Copy the full SHA
    3c6cd6f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a813563 View commit details
    Browse the repository at this point in the history