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

🔥 Feature (v3): Add buffered streaming support #3131

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Sep 14, 2024

  1. 🔥 Feature: Add SendStreamWriter to Ctx

    Create a new `*DefaultCtx` method called `SendStreamWriter()`
    that maps to fasthttp's `Response.SetBodyStreamWriter()`
    grivera64 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    885f807 View commit details
    Browse the repository at this point in the history
  2. 🚨 Test: Validate regular use of c.SendStreamWriter()

    - Adds Test_Ctx_SendStreamWriter to ctx_test.go
    grivera64 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    1ff06dc View commit details
    Browse the repository at this point in the history
  3. 🚨 Test: (WIP) Validate interrupted use of c.SendStreamWriter()

    - Adds Test_Ctx_SendStreamWriter_Interrupted to ctx_test.go
        - (Work-In-Progress) This test verifies that some data is
          still sent before a client disconnects when using the method
          `c.SendStreamWriter()`.
    
    **Note:** Running this test reports a race condition when using
    the `-race` flag or running `make test`. The test uses a channel
    and mutex to prevent race conditions, but still triggers a warning.
    grivera64 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    c977b38 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    024ac5e View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    2282a35 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    7b238d1 View commit details
    Browse the repository at this point in the history