Files
floci/src/main/java/io/github
Priamo Germosen cb06a73b78 fix(lambda): disable HTTP/2 cleartext on the runtime API server (#2181)
RuntimeApiServerTest.extensionRegister_racedAgainstStop_eventuallyDeliversShutdown
flaked intermittently with an EOFException from the JDK HTTP/2 client,
surviving #2156's fix for the write-vs-close ordering bug. stop() already
waits for each parked write's flush to complete before closing the
httpServer, but that only confirms the bytes were locally flushed, not
that the peer received them before the connection is torn down -
multiplexed HTTP/2 stream-completion bookkeeping on the same connection
can still race that close.

Real AWS's Runtime/Extensions API is plain HTTP/1.1; nothing here needs
HTTP/2. Disabling h2c removes the class of multiplexed-connection races
entirely and the JDK HttpClient falls back to HTTP/1.1 automatically, no
client-side change required.

Fixes #2180.
2026-08-08 22:15:29 -05:00
..