Displaying 4 results from an estimated 4 matches for "last_cr".
2003 Jun 19
1
\0\n at end of lines
Since upgrading to -test11, mail fetched from imap has every line terminated
with a nul and a newline ("\0\n"). This also happens with -test12. It
seems to happen with both mbox and maildir.
I'm running on NetBSD/sparc (NetBSD-current as of April 1, 1.6Q).
If it matters, I have "mail_save_crlf" set to "no" and "mail_read_mmaped"
also set to
2010 Sep 01
3
Dovecot - some more optimisations
I did some more optimisation.
Most performance hit in Dovecot do "for loop" in string operations.
In one case (in message-parser.c) "for loop" has another "for" inside
with the same variable used as iterator. This case is very hard to
optimise by compiler.
I do changes only in top functions listed in oprofile.
Maybe I do more in future.
Code was analysed and
2008 Sep 16
2
assertion failure in current hg, file istream.c: line 303 (i_stream_read_data): assertion failed: (stream->stream_errno != 0) (1.1.3 was working fine)
...4, size_r=0xbfe64440, threshold=0) at istream.c:303
ret = -1
read_more = false
__PRETTY_FUNCTION__ = "i_stream_read_data"
#7 0x08065ba1 in imap_fetch_send (ctx=0x90716e0, output=0x90714ec,
input=0x9094a08, cr_skipped=false, virtual_size=169,
add_missing_eoh=false, last_cr=0x9071734) at imap-fetch-body.c:132
msg = (const unsigned char *) 0x0
i = 3219539032
size = 0
vsize_left = 169
sent = 0
ret = 581237648214344776
add = 16 '\020'
blocks = false
#8 0x08065d7f in fetch_stream_send (ctx=0x90716e0)...
2007 Nov 15
1
imap process consuming 100% CPU (Dovecot 1.0.3)
...ze >= body->physical_size);
> > 114 }
> > 115
> > 116 void message_size_add(struct message_size *dest,
> > (dbx) dump
> > message_get_body_size(input = 0x2004aabc, body = 0x2002827c, has_nuls = (nil)), line 107 in "message-size.c"
> > last_cr = 0
> > missing_cr_count = 83389
> > msg = "dd"
> > i = 4095
> > size = 1
> > (dbx) up
> > index_mail_init_stream(_mail = 0x200281a8, hdr_size = 0x2ff227a8, body_size = 0x2ff227b8), line 502 in "index-mail.c"
> > (dbx) list
> > 5...