model-writtenrun 7435 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed disabling client-initiated SSL renegotiation on the server using the documented SSL_OP_NO_RENEGOTIATION option, citing Robert Haas's security report and Andres Freund's argument for retaining client-side compatibility with older endpoints #1.
- Daniel Gustafsson reviewed the patch, suggested considering an older-OpenSSL fallback, corrected the spelling of renegotiation, and requested a comment explaining that only TLSv1.2 and earlier support renegotiation #2.
- Michael favored the documented option because accessing OpenSSL internals raised compatibility concerns, and explained that it already overrides the unsafe legacy renegotiation option Daniel had mentioned #3.
- Michael posted a revision with the comment improvements and a tested fallback for OpenSSL 1.0.2 and older, but explicitly proposed committing only the documented-option hunk; Daniel subsequently agreed with the compatibility concerns and endorsed the patch #4 #5.
- The documented-option hunk from #4 landed as 01e6f1a842 and was backpatched through PostgreSQL 9.6, leaving out the undocumented fallback; Michael closed the thread by confirming application #6.