{"author":"Stefan Eissing","author_email":"stefan@eissing.org","author_time":1738840124,"commit_time":1738919375,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"d23f8fec5295392951cfed5faf5c9e65a34219d2","message":"smtp: TLS upgrade fix\n\nThere were two places in the code that tried to connect the SSL filter,\ne.g. do the TLS handshake, but only one changed stmp state to EHLO\nafterwards.\n\nDepending on timing, the wrong path was taken and the connection was\nhanging, waiting for a server reply to a command not sent.\n\nDo the upgrade to tls in one place and update connection filter and\nsmtps protocol handler at the same time. Always transition to EHLO on\nsuccess.\n\nFixes #16189\nReported-by: Christian Schmitz\nCloses #16206\n","parents":["06bb1587373dcc42ffbe104b214c900936acfb3c"],"tree_hash":"084ddc1dfe88a03cddba2966fc36bd28e66a91c8"}