Thank you very much :-)

On Apr 3, 2009, at 21:29 , Timo Sirainen wrote:

On Fri, 2009-04-03 at 21:25 +0400, Konstantin Lepa wrote:
Yeah, but it doesn't work without i_stream_seek(stream, 0) before.

How can I remove EOH after i_stream_create_header_filter (second
'\n')? Is it possible?

You can give i_stream_create_header_filter() a callback function, which gets called for each header line, and once for the EOH with hdr->eoh ==
TRUE. There you can set *matched = FALSE and it won't add the EOH.


Reply via email to