aboutsummaryrefslogtreecommitdiff
path: root/doc/man7/libweb_handler.7
Commit message (Collapse)AuthorAgeFilesLines
* Add HTTP op and resource to length callbackXavier Del Campo Romero2026-02-121-2/+2
| | | | | | Users might want to know which HTTP operation (i.e., POST or PUT) and/or resource is being requested before determining whether the request should be accepted or not.
* Allow custom backlog connectionsXavier Del Campo Romero2025-10-061-1/+16
| | | | | | | | | libweb calls listen(2) when setting up the HTTP server, and its backlog argument was hardcoded to 10. While probably not an issue for some applications, it can be too limiting for some others. Therefore, it is desirable to allow library users to set up their own limits. Otherwise, 10 is still chosen as a sane default.
* Bump version to 0.4.0v0.4.0Xavier Del Campo Romero2024-08-221-1/+1
|
* Bump version to 0.3.0v0.3.0Xavier Del Campo Romero2024-02-191-1/+1
|
* Limit maximum multipart/form-data pairs and filesXavier Del Campo Romero2024-02-191-2/+4
| | | | | | A malicious user could inject an infinite number of empty files or key/value pairs into a request in order to exhaust the device's resources.
* Bump version to 0.2.0v0.2.0Xavier Del Campo Romero2024-02-121-1/+1
|
* Update copyright notices to 2024Xavier Del Campo Romero2024-02-121-1/+1
|
* doc: Update handler_{loop,listen}Xavier Del Campo2023-11-201-3/+16
|
* Send HTTP headers to payload callbackXavier Del Campo Romero2023-11-181-3/+5
| | | | | | | | | | | | Even if libweb already parses some common headers, such as Content-Length, some users might find it interesting to inspect which headers were received from a request. Since HTTP/1.1 does not define a limit on the number of maximum headers a client can send, for security reasons a maximum value must be provided by the user. Any extra headers shall be then discarded by libweb. An example application showing this new feature is also provided.
* Rename project from slweb to libwebv0.1.0-rc3Xavier Del Campo Romero2023-10-111-0/+229
It was found out there was another project of the same name around (https://git.sr.ht/~strahinja/slweb/), also related to website generation. In order to avoid confusion, a new name has been chosen for this project. Surprisingly, libweb was not in use by any distributions (according to https://repology.org and AUR index), and it should reflect well the intention behind this project i.e., being a library to build web-related stuff.