Skip to content

Fix client side connection timeout breaks mail authentication #53704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

bytestream
Copy link
Contributor

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #53647
License MIT

The authentication loop should only continue when an unexpected response has been received. Any other exception, for example, throw new TransportException('Connection to "localhost" timed out.')); should be treated as fatal and thrown.

As demonstrated in #53647, when anything other than a server response is skipped it results in later commands not matching their expected response codes.

@carsonbot carsonbot added this to the 6.4 milestone Jan 31, 2024
@bytestream bytestream changed the title Fix client side ConnectionTimeout breaks mail authentication Fix client side connection timeout breaks mail authentication Jan 31, 2024
@bytestream bytestream changed the title Fix client side connection timeout breaks mail authentication [Mailer] Fix client side connection timeout breaks mail authentication Jan 31, 2024
@carsonbot carsonbot changed the title [Mailer] Fix client side connection timeout breaks mail authentication Fix client side connection timeout breaks mail authentication Feb 3, 2024
@fabpot
Copy link
Member

fabpot commented Feb 3, 2024

Thank you @bytestream.

@fabpot fabpot merged commit 03ebef7 into symfony:6.4 Feb 3, 2024
@bytestream bytestream deleted the 53647 branch February 3, 2024 21:48
This was referenced Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants