model-writtenrun 3159 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Heikki Linnakangas opened #1 with the direct-SSL status: he favored orthogonal SSL-use and negotiation settings, planned the ALPN name "postgresql", and deferred broader encryption defaults, server controls, and eventual retirement of traditional negotiation.
- Ranier Vilela proposed rejecting missing ALPN during ClientHello in #2, but Heikki explained in #3 that traditional SSLRequest connections must support older clients without ALPN; earlier rejection for direct connections remained a possible improvement, with no revised attachment or landing shown.
- Jacob Champion reported changed SSL and GSS fallback behavior in #7; discussion in #8, #9, #12, and #13 distinguished fatal SSLRequest errors from GSSRequest errors that can indicate a pre-v12 server.
- Andres Freund reported that Wireshark could not decode direct-SSL PostgreSQL traffic and suggested improving buffering below OpenSSL in #10, raising separate tooling and performance follow-ups.
- After testing an older server, Heikki established in #14 that unsupported GSS requests produce protocol-v3 errors, so immediate failure on protocol-v2 errors could remain; he attached the SSL fallback fix, a comment correction, and two test patches.
- The tests in #14 used injection points to simulate early startup and handshake failures, but initially depended on an unsafe locking workaround; a standalone Perl error server served as a manual-testing aid rather than the selected automated-test implementation.
- Vladimir Sitnikov and Dave Cramer requested more consistent PostgreSQL and TLS naming in #15 and #16, while Jacob argued in #18 that a new option should remain consistent with existing sslmode and sslrootcert names; no naming change emerged in the attached series.
- The comment correction from #14 landed unchanged as cc68ca6d42 on July 8, leaving the fallback fix and tests outstanding.
- Michael Paquier reviewed the remaining work in #19, accepted the fallback fix, noted that updated injection-point infrastructure removed the locking obstacle, and suggested moving protocol manipulation into a module callback to reduce backend test code.
- Heikki resent the remainder in #20, adapting it to the updated infrastructure and documenting IS_INJECTION_POINT_ATTACHED(); he retained test logic beside the backend code and left broader fallback refactoring for future work.
- Michael accepted that design in #21 and requested cleanup; the fallback component landed unchanged as c95d2159c1, the early-startup tests landed with light cleanup and corrected expectations as 20e0e7da9b, and the handshake tests landed with formatting changes as ef7fa900fb.
- Heikki confirmed completion of the fallback-and-tests series in #22 and closed the thread by reporting a Wireshark merge request in #23; the earlier ALPN callback proposal, buffering improvements, and broader policy changes had no demonstrated landing here.