Various fixes in imap4d.
Imap4d successfully passes all tests. * imap4d/close.c (imap4d_close0): Fix improper use of MU_STREAM_READ (flags changed their semantics since then). * imap4d/fetch.c: Send \n terminated lines, rely on filters to recode line terminators to \r\n. (fetch_io): Rewrite using CRLF encoder and util_copy_out. (_frt_header_fields): Rewind memory stream before reading from it. * imap4d/auth_gsasl.c: Send \n terminated lines, rely on filters to recode line terminators to \r\n. * imap4d/auth_gss.c: Likewise. * imap4d/capability.c: Likewise. * imap4d/copy.c: Likewise. * imap4d/id.c: Likewise. * imap4d/idle.c: Likewise. * imap4d/list.c: Likewise. * imap4d/namespace.c: Likewise. * imap4d/preauth.c: Likewise. * imap4d/search.c: Likewise. * imap4d/status.c: Likewise. * imap4d/store.c: Likewise. * imap4d/select.c: Likewise. (imap4d_select_status): Fix improper use of MU_STREAM_READ. * imap4d/util.c: Send \n terminated lines, rely on filters to recode line terminators to \r\n. (util_setio): Apply CRLF filters to both input and output streams (in opposite directions). (util_copy_out): New function. (remove_cr): Remove. * imap4d/imap4d.h (util_copy_out): New prototype.
Showing
17 changed files
with
66 additions
and
78 deletions
-
Please register or sign in to post a comment