Skip to content

feat(server): support auto_date_header, max_local_error_reset_streams, and ignore_invalid_headers.#161

Merged
seanmonstar merged 4 commits into
hyperium:masterfrom
finnbear:missing_http_builder_fns
Jan 30, 2025
Merged

feat(server): support auto_date_header, max_local_error_reset_streams, and ignore_invalid_headers.#161
seanmonstar merged 4 commits into
hyperium:masterfrom
finnbear:missing_http_builder_fns

Conversation

@finnbear

@finnbear finnbear commented Jan 1, 2025

Copy link
Copy Markdown
Contributor

This PR adds hyper-util builder support for functions that were previously missing:

  • HTTP/1 ignore_invalid_headers (hyper 1.6.0)
  • HTTP/1 auto_date_header (hyper 1.4.0)
  • HTTP/2 auto_date_header (hyper 1.4.0)
  • HTTP/2 max_local_error_reset_streams (hyper 1.2.0 1.6.0)

Function signatures, function order, and function documentation are copied from hyper.

Draft because blocked on: hyperium/hyper#3820

@finnbear finnbear marked this pull request as draft January 1, 2025 08:13
@nitsky

nitsky commented Jan 29, 2025

Copy link
Copy Markdown

Now that hyperium/hyper#3820 has been merged and hyper 1.6.0 has been released, this should be unblocked.

@seanmonstar

Copy link
Copy Markdown
Member

I think all that's needed is to update the minimal version of hyper in the Cargo.toml file.

@finnbear finnbear marked this pull request as ready for review January 29, 2025 16:15
@finnbear finnbear changed the title feat(server): support auto_date_header and max_local_error_reset_streams. Jan 29, 2025
@seanmonstar seanmonstar merged commit 46826ea into hyperium:master Jan 30, 2025
GlenDC added a commit to plabayo/rama that referenced this pull request Apr 23, 2025
- feat(server): support 'auto_date_header', 'max_local_error_reset_streams', and 'ignore_invalid_headers'.
  (hyperium/hyper-util#161)
- refactor: replace manual implementations of 'ReadBufCursor' methods
  (hyperium/hyper-util#181)
- feat(rt): add 'tracing' feature that will propagate span context in TokioExecutor
  (hyperium/hyper-util#166)

Co-authored-by: Finn Bear <finntbear@gmail.com>
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
Co-authored-by: Alejandro Pedraza <alejandro.pedraza@gmail.com>
airycanon pushed a commit to airycanon/rama that referenced this pull request Jun 8, 2025
- feat(server): support 'auto_date_header', 'max_local_error_reset_streams', and 'ignore_invalid_headers'.
  (hyperium/hyper-util#161)
- refactor: replace manual implementations of 'ReadBufCursor' methods
  (hyperium/hyper-util#181)
- feat(rt): add 'tracing' feature that will propagate span context in TokioExecutor
  (hyperium/hyper-util#166)

Co-authored-by: Finn Bear <finntbear@gmail.com>
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
Co-authored-by: Alejandro Pedraza <alejandro.pedraza@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants