aboutsummaryrefslogtreecommitdiff
path: root/examples/put
Commit message (Collapse)AuthorAgeFilesLines
* Add HTTP op and resource to length callbackXavier Del Campo Romero2026-02-121-3/+3
| | | | | | 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.
* examples: Add distclean targetXavier Del Campo Romero2025-10-021-0/+3
|
* Move signal handling to processesXavier Del Campo Romero2024-08-221-6/+74
| | | | | | | | | | | | | | So far, libweb installed a signal handler so as to handle SIGTERM, SIGPIPE and SIGINT signals so that processes would not have to care about such details. However, it is not advisable for libraries to install signal handlers, as signals are handled on a per-process basis. The previous approach would be incompatible if several instances of the library were allocated by the same process. Unfortunately, this has the undesired side effect of adding the boilerplate code into the process.
* Add PUT server exampleXavier Del Campo2023-11-204-0/+138