Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hyperium/h2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: hyperium/h2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.3.x
Choose a head ref
  • 14 commits
  • 29 files changed
  • 6 contributors

Commits on Jan 10, 2024

  1. fix: streams awaiting capacity lockout (#730) (#734)

    This PR changes the the assign-capacity queue to prioritize streams that
    are send-ready.
    
    This is necessary to prevent a lockout when streams aren't able to proceed while
    waiting for connection capacity, but there is none.
    
    Closes hyperium/hyper#3338
    
    Co-authored-by: dswij <[email protected]>
    seanmonstar and dswij authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    b668c7f View commit details
    Browse the repository at this point in the history
  2. v0.3.23

    seanmonstar committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    a7eb14a View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. streams: limit error resets for misbehaving connections

    This change causes GOAWAYs to be issued to misbehaving connections which for one reason or another cause us to emit lots of error resets.
    
    Error resets are not generally expected from valid implementations anyways.
    
    The threshold after which we issue GOAWAYs is tunable, and will default to 1024.
    Noah-Kennedy authored and seanmonstar committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    d919cd6 View commit details
    Browse the repository at this point in the history
  2. Prepare v0.3.24

    Noah-Kennedy authored and seanmonstar committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    7243ab5 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. perf: optimize header list size calculations (#750)

    This speeds up loading blocks in cases where we have many headers already.
    Noah-Kennedy authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    94e80b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. v0.3.25

    seanmonstar committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    3a79832 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

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

Commits on Apr 3, 2024

  1. fix: limit number of CONTINUATION frames allowed

    Calculate the amount of allowed CONTINUATION frames based on other
    settings.
    
        max_header_list_size / max_frame_size
    
    That is about how many CONTINUATION frames would be needed to send
    headers up to the max allowed size. We then multiply by that by a small
    amount, to allow for implementations that don't perfectly pack into the
    minimum frames *needed*.
    
    In practice, *much* more than that would be a very inefficient peer, or
    a peer trying to waste resources.
    
    See https://seanmonstar.com/blog/hyper-http2-continuation-flood/ for
    more info.
    seanmonstar committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    1a357aa View commit details
    Browse the repository at this point in the history
  2. v0.3.26

    seanmonstar committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    357127e View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. fix: return a WriteZero error if frames cannot be written (#783)

    Some operating systems will allow you continually call `write()` on a closed socket, and will return `Ok(0)` instead of an error. This patch checks for a zero write, and instead of looping forever trying to write, returns a proper error.
    
    Closes #781
    
    Co-authored-by: leibeiyi <[email protected]>
    niceskylei and leibeiyi authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    e6e3e9c View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    5ccd9cf View commit details
    Browse the repository at this point in the history
  2. ci: pin deps for MSRV

    seanmonstar committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c0d9feb View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    be10b77 View commit details
    Browse the repository at this point in the history
  2. fix: notify_recv after send_reset() in reset_on_recv_stream_err() to …

    …ensure local stream is released properly (#816)
    
    Similar to what have been done in fn send_reset<B>(), we should notify RecvStream that is parked after send_reset().
    
    Co-authored-by: Jiahao Liang <[email protected]>
    seanmonstar and jiahaoliang authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    778aa7e View commit details
    Browse the repository at this point in the history
Loading