History log of /dovecot/src/lib-http/http-request-parser.h
Revision Date Author Comments Expand
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.

d7b94e1721d86926891c74ca1998141d55d1adea 10-Feb-2016 Stephan Bosch <stephan@rename-it.nl>

lib-http: request parser: Added support for explicitly finishing payload of previous request.

22b47ecd1e6fd11d69433e4111adc57c40dde270 15-Sep-2013 Stephan Bosch <stephan@rename-it.nl>

lib-http: Added support for parsing Expect: header (currently only accepts `100-continue').

b8a1b8eb4f13971c0539ce95edcd99503cc6f475 15-Sep-2013 Stephan Bosch <stephan@rename-it.nl>

lib-http: http-request-parser: Added function to test whether payload from previous request is still being parsed. This is needed in the server implementation to check whether a request is completely read.

fa4d00f73d120603a7886aed7433d6c3fceb9bf5 15-Sep-2013 Stephan Bosch <stephan@rename-it.nl>

lib-http: Implemented limits on request method and target length.

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.

6a90041707f1290c8970a3bacb0f8f928aeaaba6 15-Sep-2013 Stephan Bosch <stephan@rename-it.nl>

lib-http: Adjusted response and request parsers to accept a request/response object to fill with data, rather than have it return one.

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.