8f985b8241246b321db52b9f63d2e6a4a83d4707 |
|
26-Feb-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: message parsers: Record beginning of parsed data. |
7ebcb054e0d3cc4be54038cbf763ec4189d9725b |
|
11-Jul-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: Restructured the header, message, request, and response parsers to have an extensible and consistent API using flags.
Extended the test suites with a few cases that test parsing with and without the STRICT flag. |
1ec26e0b70ac7f8a4e3dfbc59aa77f572651d5ae |
|
15-Feb-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: message parser: Don't allocate a pool for the next message until it is needed.
This prevents wasting memory when no message is being parsed. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
e0cf44fb802a5e7aa4cbeee5e80ef8f3f6aecdbe |
|
10-Jan-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Added option to the header parser to make it lenient towards illegal characters in header field content.
The offending characters are then skipped without error. This is required
for the http client as a workaround for bugs in certain HTTP servers. This
behavior is explicitly not enabled for the http-request-parser as used by
our own HTTP server implementation. |
1175415b88ff168e367c77df23901eada13225b9 |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Added support for enforcing a payload limit for incoming HTTP messages. |
208dcaf62332b80b220c8c66e776f7cc0c39253b |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Adjusted message and request parsers to return an error code. |
feba5e502b2131c9a1c766b7ef9ff041dbf71d1d |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Implemented limits on overall HTTP header size, size of individual header fields and the number of fields in the header. |
e8f1e510df3ab051a816715c2056f0d10aee929e |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Unified http-request.h and http-response.h headers.
Renamed struct http_response_header to struct http_header_field,
encapsulated the array in struct http_header and put it all in
http-header.h/c Added inline utility functions for header querying and
getting response/request payload size. |
9e7bf91667639a2390207ab4d90bf88e2afcec2a |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Improved message header and body parsing for better RFC compliance.
Added pre-parsed transfer-encoding and connection header content (array) to
parsed message struct. Fixed message body handling for when both
transfer-encoding and content-length headers are missing. Now duplicates of
unique important message headers yield an error. |
6dad0888fcec8372f230941c70d8940b8c203b32 |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Adjusted message parser to accept pool from caller. |
b72c3363092b73cab1da2de4a9d75592e7d8fd6b |
|
11-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
lib-http: Implemented http-request-parser for HTTP servers.
Moved code common with it and http-response-parser to http-message-parser. |