nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Not-so) hypothetical question: What to do about NULs?


From: Michael Richardson
Subject: Re: (Not-so) hypothetical question: What to do about NULs?
Date: Thu, 23 Feb 2023 09:28:38 -0500

Ken Hornstein <kenh@pobox.com> wrote:
    > Right, but that's mostly because of the way multiline responses are
    > handled in POP.  It's never "read X bytes", it's "read lines until you
    > get a line that is just .\r\n".  With IMAP, it's "the next X bytes are
    > the data you asked for".  So you're used to dealing with "lines" and
    > that lends itself to C strings.

I assumed that the nuls we are concerned about are either inside the base64,
when it's a text/*, or are in the binary transfer when it's not base64.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]