Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *: update copyright | Rafael G. Martins | 2020-05-31 | 1 | -1/+1 |
| | | | | this time I'm only updating the files I touched this year. | ||||
* | runserver: replace u_int16_t with uint16_t | Rafael G. Martins | 2020-05-31 | 1 | -2/+2 |
| | |||||
* | include `unistd.h` after `sys/stat.h` | Rafael G. Martins | 2020-04-22 | 1 | -1/+1 |
| | |||||
* | runserver: exit 1 on error | Rafael G. Martins | 2019-03-28 | 1 | -8/+8 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | git-receiver: make: runserver: improved realpath(3) usage | Rafael G. Martins | 2018-12-17 | 1 | -2/+8 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2018-10-14 | 1 | -1/+1 |
| | |||||
* | runserver: fixed potential null dereference | Rafael G. Martins | 2018-03-13 | 1 | -3/+5 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | runserver: fixed memory leak | Rafael G. Martins | 2018-03-13 | 1 | -0/+2 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | runserver: fixed double-free | Rafael G. Martins | 2018-03-13 | 1 | -1/+0 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | runserver: initialize integer vars | Rafael G. Martins | 2017-04-13 | 1 | -2/+2 |
| | |||||
* | runserver: improved error reporting on write failures | Rafael G. Martins | 2017-03-05 | 1 | -8/+11 |
| | |||||
* | runserver: fixed error reporting and memory management | Rafael G. Martins | 2017-03-05 | 1 | -35/+64 |
| | |||||
* | runserver: close socket if skipped | Rafael G. Martins | 2017-03-05 | 1 | -0/+1 |
| | |||||
* | runserver: reuse address | Rafael G. Martins | 2017-03-05 | 1 | -7/+4 |
| | |||||
* | runserver: move var declarations to loop | Rafael G. Martins | 2017-03-05 | 1 | -13/+13 |
| | |||||
* | runserver: implemented ipv6 support | Rafael G. Martins | 2017-03-05 | 1 | -39/+97 |
| | |||||
* | runserver: fixed memory leaks | Rafael G. Martins | 2017-03-05 | 1 | -0/+3 |
| | |||||
* | runserver: improve listen url output | Rafael G. Martins | 2017-03-04 | 1 | -3/+5 |
| | |||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 1 | -1/+1 |
| | |||||
* | *: binaries should always return 3 on errors, for consistency. | Rafael G. Martins | 2016-12-26 | 1 | -9/+9 |
| | | | | | | We used to return 1 or 2 in case of errors, with no special meaning, other than "something is wrong", but these codes are reserved. Now we always return 3. | ||||
* | fixed includes | Rafael G. Martins | 2016-11-19 | 1 | -2/+0 |
| | |||||
* | runserver: blogc/loader: improve strto*l handling | Rafael G. Martins | 2016-10-14 | 1 | -0/+5 |
| | |||||
* | *: fixed includes | Rafael G. Martins | 2016-10-07 | 1 | -4/+0 |
| | |||||
* | runserver: always reply with content-length | Rafael G. Martins | 2016-09-27 | 1 | -2/+4 |
| | |||||
* | runserver: implemented a thread pool and fixed few bugs | Rafael G. Martins | 2016-09-25 | 1 | -12/+60 |
| | |||||
* | runserver: silent a few warnings | Rafael G. Martins | 2016-09-25 | 1 | -4/+12 |
| | |||||
* | runserver: reimplemented http server without libevent | Rafael G. Martins | 2016-09-25 | 1 | -0/+254 |
yeah, this patch implements a "complete" http server for static files. It is not the best code possible, and would be easily DDoS'able if used in production, as it spawns a thread for each request, without limiting. I'm sickish and this is the best code I can deliver now. At least it works! ;) |