Christian Neukirchen
|
266b904897
|
blaze822: rewrite inner loop
Do nul and crlf clean up first, only when required.
Replace line-detection loop with strchr.
|
2016-07-13 23:50:06 +02:00 |
|
Christian Neukirchen
|
4798cb386e
|
blaze822: allow freeing of null pointers
|
2016-07-13 21:55:17 +02:00 |
|
Christian Neukirchen
|
005037e254
|
blaze822: blaze822_mem: use body=bodyend instead of body=0
Else we lose track of where we are during multipart when there is no
body (really a body of length 0).
|
2016-07-13 21:35:42 +02:00 |
|
Christian Neukirchen
|
411c9b632a
|
blaze822: detect too short/empty headers
|
2016-07-13 21:08:05 +02:00 |
|
Christian Neukirchen
|
d0d371114c
|
blaze822: compression fixes
|
2016-07-13 20:32:44 +02:00 |
|
Christian Neukirchen
|
d687378b62
|
blaze822: give in and actually unfold the lines
|
2016-07-13 18:00:09 +02:00 |
|
Christian Neukirchen
|
00954008cc
|
blaze822: free line in blaze822_loop
|
2016-07-13 17:17:18 +02:00 |
|
Christian Neukirchen
|
39006b8c89
|
blaze822: off by one in blaze822_mem
|
2016-07-13 17:02:29 +02:00 |
|
Christian Neukirchen
|
5b84593e78
|
blaze822: fix blaze822_mem body start
|
2016-07-13 16:03:35 +02:00 |
|
Christian Neukirchen
|
6b639da842
|
blaze822: fix blaze822_file return value on error
|
2016-07-13 16:03:16 +02:00 |
|
Christian Neukirchen
|
8ba55bae99
|
blaze822_priv.h: macro cleanup
|
2016-07-13 15:56:50 +02:00 |
|
Christian Neukirchen
|
17355dbe63
|
blaze822: api refactoring
|
2016-07-13 15:52:39 +02:00 |
|
Christian Neukirchen
|
7c0663e0e5
|
blaze822: don't prefix first header with nul bytes
Instead, look for the first header as a special case.
This allows us to parse a header as-is without shifting in memory.
|
2016-07-13 15:22:47 +02:00 |
|
Christian Neukirchen
|
dab7da7bbc
|
blaze822: parsing of in-memory messages
|
2016-07-13 15:01:38 +02:00 |
|
Christian Neukirchen
|
19ba414abc
|
blaze822: header cleanup
|
2016-07-13 15:01:09 +02:00 |
|
Christian Neukirchen
|
5bc288f1aa
|
blaze822: hackfix
|
2016-07-12 21:11:18 +02:00 |
|
Christian Neukirchen
|
4805ef9cce
|
blaze822: default to 0 seconds when none given
|
2016-07-12 15:11:01 +02:00 |
|
Christian Neukirchen
|
44f781db44
|
blaze822: only increment end if we found the a header separator
|
2016-07-12 15:00:46 +02:00 |
|
Christian Neukirchen
|
a59445e614
|
blaze822: avoid tolower
|
2016-07-12 15:00:35 +02:00 |
|
Christian Neukirchen
|
d548547d99
|
add show
|
2016-07-11 21:50:04 +02:00 |
|
Christian Neukirchen
|
aa08ae31a0
|
extract main loop
|
2016-07-11 16:28:22 +02:00 |
|
Christian Neukirchen
|
171f44915f
|
make blaze822 a library
|
2016-07-11 14:23:41 +02:00 |
|
Christian Neukirchen
|
30f0686fb2
|
various code that may end up as a mail client
|
2016-07-10 20:27:27 +02:00 |
|