The GitHub Actions job "Nightly Builds" on pekko-http.git/main has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
5b5a91cde416b3a75d97f352fb3a96e0de470b44 / He-Pin(kerr) <[email protected]>
fix: recover HTTP/2 handler errors as 500 (#1041)

Motivation:
Port upstream akka-http fix 02bb9872e1d391f53e21b663336e5052085a0b8c, which is 
now Apache licensed. HTTP/2 user handler failures should be converted into 500 
responses instead of leaking through the connection handling path.

Modification:
Wrap HTTP/2 handlers with NonFatal error recovery for failed futures and 
synchronous throws. Keep HTTP/1 fallback on the original handler so existing 
HTTP/1 error classification is preserved, and reject unknown HTTP/2 
pseudo-headers during request parsing so protocol errors are not converted to 
500 responses.

Result:
HTTP/2 handler failures now return InternalServerError while malformed 
pseudo-headers still produce HTTP/2 protocol errors. Added regression coverage 
for failed futures, synchronous throws, and verified h2spec pseudo-header 
behavior.

References:
Upstream: 
https://github.com/akka/akka-http/commit/02bb9872e1d391f53e21b663336e5052085a0b8c

Report URL: https://github.com/apache/pekko-http/actions/runs/26379857676

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to