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/hyper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.1
Choose a base ref
...
head repository: hyperium/hyper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.0
Choose a head ref
  • 20 commits
  • 22 files changed
  • 12 contributors

Commits on Jul 15, 2024

  1. feat(rt): add ReadBufCursor methods remaining() and put_slice() (

    …#3700)
    
    There is currently no way to write to ReadBufCursor without
    unsafe code, even though writing a slice to it like one would
    do to a Buf shouldn't require unsafe code.
    nox authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    5a13041 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. docs(service): add note about error handling in Service trait (#3659) (

    …#3712)
    
    The Service trait now includes a note about the behavior of returning an Error to a hyper server, which can cause the connection to be abruptly aborted depending on the protocol. This information is important for developers working with hyper servers.
    yinheli authored Jul 23, 2024
    1 Configuration menu
    Copy the full SHA
    15cd6fa View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. 1 Configuration menu
    Copy the full SHA
    2babc93 View commit details
    Browse the repository at this point in the history
  2. fix(http1): make date_header effective (#3718)

    Before this patch, the option was not fully propagated to the inner server conn state object. Now it is.
    yhx-12243 authored Jul 31, 2024
    Configuration menu
    Copy the full SHA
    7de0237 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

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

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    2ed92ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad89b53 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. chore(lib): fix some typos in comments (#3739)

    Signed-off-by: friendlyping <friendlyping@icloud.com>
    friendlyping authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    450b3b6 View commit details
    Browse the repository at this point in the history
  2. feat(client): Add HTTP/2 builder options header_table_size() and `m…

    …ax_concurrent_streams()` (#3731)
    0x676e67 authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4c84e8c View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. docs(client): Link from Connection to handshake (#3742)

    When reading the documentation for `Connection` it is not entirely
    obvious how instances of this type are obtained. Add a helpful link,
    mostly for those less familiar.
    WhyNotHugo authored Aug 23, 2024
    1 Configuration menu
    Copy the full SHA
    492ab24 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

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

Commits on Aug 29, 2024

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

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    e844616 View commit details
    Browse the repository at this point in the history
  2. chore(rt): delete the unnessary symbol in the comments (#3753)

    Co-authored-by: Sean McArthur <sean@seanmonstar.com>
    hongmengning and seanmonstar authored Sep 12, 2024
    1 Configuration menu
    Copy the full SHA
    945c142 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3e707e View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

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

Commits on Oct 9, 2024

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

Commits on Oct 11, 2024

  1. fix(http1): send 'connection: close' when connection is ending (#3725)

    This includes conditions where hyper knows the connection will end after the response, such as a request error that ruins the connection, or when graceful shutdown is triggered.
    
    Closes #3720
    seanmonstar authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    c86a6bc View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. perf(http1): improve parsing of sequentially partial messages

    If request headers are received in incremental partial chunks, hyper
    would restart parsing each time. This is because the HTTP/1 parser is
    stateless, since the most common case is a full message and stateless
    parses faster.
    
    However, if continuing to receive more partial chunks of the request,
    each subsequent full parse is slower and slower. Since partial parses is
    less common, we can store a little bit of state to improve performance
    in general.
    
    Now, if a partial request is received, hyper will check for the end of
    the message quickly, and if not found, simply save the length to allow
    the next partial chunk to start its search from there. Only once the end
    is found will a fill parse happen.
    
    Reported-by: Datong Sun <datong.sun@konghq.com>
    seanmonstar committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3900a23 View commit details
    Browse the repository at this point in the history
  2. v1.5.0

    seanmonstar committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c68d424 View commit details
    Browse the repository at this point in the history
Loading