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 issue is in SmtpStream::ReadResponse. ReadAhead() only gives it one byte (a "4") and so it gets into an infinite loop. Debugging it through doesn't always show the problem because it's timing related. Without spending too much time on what's going on, I changed ln 468 to if (memory.Length >= 0 || inputIndex == inputEnd) just so I could progress. The logic there can't seem to handle reading one byte at a time. Maybe ReadAhead should give it a whole line.
The text was updated successfully, but these errors were encountered:
The call to Authenticate hangs.
I turned on the ProtocolLogger and this is what I get.
(it really ends at the S: 4)
Win 8.1 / VS 2012
MailKit 1.2.10.0
edit:
The issue is in SmtpStream::ReadResponse. ReadAhead() only gives it one byte (a "4") and so it gets into an infinite loop. Debugging it through doesn't always show the problem because it's timing related. Without spending too much time on what's going on, I changed ln 468 to
if (memory.Length >= 0 || inputIndex == inputEnd)
just so I could progress. The logic there can't seem to handle reading one byte at a time. Maybe ReadAhead should give it a whole line.The text was updated successfully, but these errors were encountered: