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
To simplify the MboxoReader code, it currently forces a read of less than 7 bytes to read 7 bytes.
The response can potentially return more bytes than requested.
The existing Python mailbox code which calls it either reads everything or uses a size of 8192, so this should not be a problem in practise, but it should be at least noted that the code is not completely generic.
The text was updated successfully, but these errors were encountered:
Note: the simplification only really works for mboxo format mailboxes.
A different approach would be needed to support mboxrd format as this can have an arbitrary number of '>' chars before the From.
To simplify the MboxoReader code, it currently forces a read of less than 7 bytes to read 7 bytes.
The response can potentially return more bytes than requested.
The existing Python mailbox code which calls it either reads everything or uses a size of 8192, so this should not be a problem in practise, but it should be at least noted that the code is not completely generic.
The text was updated successfully, but these errors were encountered: