Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-30 | HTTP parser: removed unused "exten" field. | Valentin Bartenev | 1 | -22/+0 | |
This field was intended for MIME type lookup by file extension when serving static files, but this use case is too narrow; only a fraction of requests targets static content, and the URI presumably isn't rewritten. Moreover, current implementation uses the entire filename for MIME type lookup if the file has no extension. Instead of extracting filenames and extensions when parsing requests, it's easier to obtain them right before serving static content; this behavior is already implemented. Thus, we can drop excessive logic from parser. | |||||
2019-09-17 | HTTP parser: fixed parsing of target after literal space character. | Valentin Bartenev | 1 | -1/+14 | |
In theory, all space characters in request target must be encoded; however, some clients may violate the specification. For the sake of interoperability, Unit supports unencoded space characters. Previously, if there was a space character before the extension or arguments parts, those parts weren't recognized. Also, quoted symbols and complex target weren't detected after a space character. | |||||
2019-09-16 | HTTP parser: removed unused "plus_in_target" flag. | Valentin Bartenev | 1 | -20/+10 | |
2019-09-16 | HTTP parser: removed unused "exten_start" and "args_start" fields. | Valentin Bartenev | 1 | -16/+8 | |
2018-07-03 | HTTP parser: relaxed checking of fields values. | Valentin Bartenev | 1 | -1/+1 | |
Allowing characters up to 0xFF doesn't conflict with RFC 7230. Particularly, this make it possible to pass unencoded UTF-8 data through HTTP headers, which can be useful. | |||||
2018-03-15 | HTTP parser: allowing tabs in field values as per RFC 7230. | Valentin Bartenev | 1 | -0/+24 | |
2018-03-15 | HTTP parser: restricting allowed characters in fields values. | Valentin Bartenev | 1 | -0/+18 | |
According to RFC 7230 only printable 7-bit ASCII characters are allowed in field values. | |||||
2018-03-15 | HTTP parser: fixed parsing of field values ending with space. | Valentin Bartenev | 1 | -0/+6 | |
This closes #82 issue on GitHub. | |||||
2018-01-24 | Fixed formatting in nxt_sprintf() and logging. | Sergey Kandaurov | 1 | -1/+1 | |
2018-01-24 | Using size_t for the field width type of the "%*s" specifier. | Sergey Kandaurov | 1 | -2/+3 | |
2018-01-15 | Checking for major HTTP version. | Valentin Bartenev | 1 | -0/+5 | |
2018-01-15 | HTTP parser: improved error reporting. | Valentin Bartenev | 1 | -11/+11 | |
2018-01-09 | HTTP parser: allowing underscore in header field names. | Valentin Bartenev | 1 | -1/+1 | |
2017-12-25 | HTTP parser: reworked header fields handling. | Valentin Bartenev | 1 | -28/+89 | |
2017-11-21 | Tests: move existing tests to "src" folder. | Andrey Zelenkov | 1 | -0/+714 | |