You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The STARTTLS_SLEEP timeout increase from 1 second to 10 seconds in d1e7498, caused --starttls=mysql to stop working.
The starttls_mysql_dialog() function was using starttls_just_read(), which would return after 1 second. Now, after waiting 10 seconds, the server gives up on the connection and resets TCP.
The proper fix is to read the MySQL reply as a stream, detect its size from its header, and return after reading that many bytes, instead of relying on a timeout or newline.