-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
EOF reached before we reached the end of the headers #358
Comments
Thank you |
Could you attach a sample message (or send me one via email) so that I can debug this as well as adding a unit test? Thanks! |
Thanks
…----- Original Message -----
From: "Jeffrey Stedfast" <[email protected]>
To: "jstedfast/MimeKit" <[email protected]>
Cc: "jangpa01" <[email protected]>; "Author" <[email protected]>
Sent: 20/11/2017 16:38:42
Subject: Re: [jstedfast/MimeKit] EOF reached before we reached the end of the headers (#358)
Could you attach a sample message (or send me one via email) so that I can debug this as well as adding a unit test?Thanks!—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/jstedfast/MimeKit","title":"jstedfast/MimeKit","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/jstedfast/MimeKit"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jstedfast in #358: Could you attach a sample message (or send me one via email) so that I can debug this as well as adding a unit test?\r\n\r\nThanks!"}],"action":{"name":"View Issue","url":"#358 (comment)"}}}
|
A few questions since I don't seem to be able to reproduce:
|
Never mind, I am hitting it. |
Thanks for reporting this! Also thankful that you took the time to debug this and narrow it down to the cause. I'll try to make a new release soonish. Working on asyncifying MailKit, but if that isn't finished by this weekend, I'll make a new release of MimeKit/MailKit anyway with the bug fixes that I have. |
Thanks so much for the superfast fix :) |
Thank you I will attend to this after work
James Thornton
…On Nov 20, 2017 8:59 AM, "jangpa01" ***@***.***> wrote:
Thanks
----- Original Message -----
From: "Jeffrey Stedfast" ***@***.***>
To: "jstedfast/MimeKit" ***@***.***>
Cc: "jangpa01" ***@***.***>; "Author" <
***@***.***>
Sent: 20/11/2017 16:38:42
Subject: Re: [jstedfast/MimeKit] EOF reached before we reached the end of
the headers (#358)
Could you attach a sample message (or send me one via email) so that I can
debug this as well as adding a unit test?Thanks!—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"
05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":
{"external_key":"github/jstedfast/MimeKit","title":"
jstedfast/MimeKit","subtitle":"GitHub repository","main_image_url":"
https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-
11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://
cloud.githubusercontent.com/assets/143418/15842166/
7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in
GitHub","url":"https://github.com/jstedfast/MimeKit"}},"
***@***.*** in #358:
Could you attach a sample message (or send me one via email) so that I can
debug this as well as adding a unit test?\r\n\r\nThanks!"}],"action":{"name":"View
Issue","url":"https://github.com/jstedfast/MimeKit/issues/
358#issuecomment-345732828"}}}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AebhUIyr0ZNiGDK7r8sXBd7EE6p05YhMks5s4bALgaJpZM4QkZtO>
.
|
A message with a very long header not properly folded :
800 chars + (0x0d0x0a not followed by space) + 164 chars
Mimeparser.cs ReadAhead:881 returns Available = Left and so detects EOF.
Incermenting ReadAheadSize from 128 to 200 'solved' the problem.
Apparently it depends on the position in the stream of this malformed header because different messages
with the same malformed header decode without problems.
thanks
The text was updated successfully, but these errors were encountered: