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

2024-11-22 weekly sync #479

Merged

Commits on Nov 22, 2024

  1. Check content-length on end of stream h2 header

    The h2 crate does not appear to check for content-length underflow if
    only a header frame is received with END_STREAM.
    drcaramelsyrup authored and gumpt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    8b486cf View commit details
    Browse the repository at this point in the history
  2. Prune unused deps and run cargo-machete in ci

    Includes-commit: 7cee7a7
    Replicated-from: #454
    bobrik authored and gumpt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    cb3f7e8 View commit details
    Browse the repository at this point in the history
  3. Only cache GET response after bypass

    After a request is predicted uncacheable and bypasses cache, it may
    still be cached if the response is a 200. However, HEAD responses are
    not normally cacheable as they don't include the actual response body.
    drcaramelsyrup authored and gumpt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    e22b65c View commit details
    Browse the repository at this point in the history
  4. Don't parse CachePut payloads as chunked encoding

    The PUT request body itself may be chunked, but normally clients send
    the body that ought to be cached without chunked encoding applied.
    drcaramelsyrup authored and gumpt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    e90ffb5 View commit details
    Browse the repository at this point in the history
  5. update impl<T> UniqueID to use correct return type

    Includes-commit: d26d344
    Replicated-from: #471
    Co-authored-by: Matthew Gumport <[email protected]>
    georglauterbach and gumpt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    a03a03d View commit details
    Browse the repository at this point in the history
  6. Release cache lock after proxy upstream filter, serve stale

    The cache locks may be held after serving stale, proxy upstream filter,
    or revalidate uncacheable resulting in dangling cache locks.
    Also only disable cache on final error if cache was not already
    disabled, and add DeclinedToUpstream / UpstreamError no cache reasons.
    drcaramelsyrup authored and gumpt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    725329f View commit details
    Browse the repository at this point in the history