aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-runserver/httpd.c
Commit message (Collapse)AuthorAgeFilesLines
* *: update copyrightRafael G. Martins2020-05-311-1/+1
| | | | this time I'm only updating the files I touched this year.
* runserver: replace u_int16_t with uint16_tRafael G. Martins2020-05-311-2/+2
|
* include `unistd.h` after `sys/stat.h`Rafael G. Martins2020-04-221-1/+1
|
* runserver: exit 1 on errorRafael G. Martins2019-03-281-8/+8
|
* *: update copyrightRafael G. Martins2019-01-151-1/+1
|
* git-receiver: make: runserver: improved realpath(3) usageRafael G. Martins2018-12-171-2/+8
|
* *: update copyrightRafael G. Martins2018-10-141-1/+1
|
* runserver: fixed potential null dereferenceRafael G. Martins2018-03-131-3/+5
| | | | this bug was reported by clang-analyzer.
* runserver: fixed memory leakRafael G. Martins2018-03-131-0/+2
| | | | this bug was reported by clang-analyzer.
* runserver: fixed double-freeRafael G. Martins2018-03-131-1/+0
| | | | this bug was reported by clang-analyzer.
* runserver: initialize integer varsRafael G. Martins2017-04-131-2/+2
|
* runserver: improved error reporting on write failuresRafael G. Martins2017-03-051-8/+11
|
* runserver: fixed error reporting and memory managementRafael G. Martins2017-03-051-35/+64
|
* runserver: close socket if skippedRafael G. Martins2017-03-051-0/+1
|
* runserver: reuse addressRafael G. Martins2017-03-051-7/+4
|
* runserver: move var declarations to loopRafael G. Martins2017-03-051-13/+13
|
* runserver: implemented ipv6 supportRafael G. Martins2017-03-051-39/+97
|
* runserver: fixed memory leaksRafael G. Martins2017-03-051-0/+3
|
* runserver: improve listen url outputRafael G. Martins2017-03-041-3/+5
|
* *: updated copyrightRafael G. Martins2017-02-251-1/+1
|
* *: binaries should always return 3 on errors, for consistency.Rafael G. Martins2016-12-261-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 includesRafael G. Martins2016-11-191-2/+0
|
* runserver: blogc/loader: improve strto*l handlingRafael G. Martins2016-10-141-0/+5
|
* *: fixed includesRafael G. Martins2016-10-071-4/+0
|
* runserver: always reply with content-lengthRafael G. Martins2016-09-271-2/+4
|
* runserver: implemented a thread pool and fixed few bugsRafael G. Martins2016-09-251-12/+60
|
* runserver: silent a few warningsRafael G. Martins2016-09-251-4/+12
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-251-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! ;)