diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-25 16:07:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-25 16:07:13 +0000 |
commit | 9c6008b72736d076c52853fb8cff8cb8c3dbf893 (patch) | |
tree | 434d62be798ab25918cd7fa55eba9895166f28b4 /out.h | |
parent | f0ed82f19fa760aaaa0d02bcbbda9f34357649f2 (diff) | |
download | mandoc-9c6008b72736d076c52853fb8cff8cb8c3dbf893.tar.gz mandoc-9c6008b72736d076c52853fb8cff8cb8c3dbf893.tar.zst mandoc-9c6008b72736d076c52853fb8cff8cb8c3dbf893.zip |
Rewrite http_parse() completely:
1. Make sure the last occurrence of each key is used, even if
it is empty, in which case it resets the value to the default.
2. When there is an HTTP encoding error, skip the affected
key-value pair only, but not all subsequent key-value pairs.
3. Do not modify a string returned from getenv(3).
4. Do not assume the NULL pointer is all null bits.
Diffstat (limited to 'out.h')
0 files changed, 0 insertions, 0 deletions