aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-runserver
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-282-12/+12
|
* *: update copyrightRafael G. Martins2019-01-157-7/+7
|
* git-receiver: make: runserver: improved realpath(3) usageRafael G. Martins2018-12-171-2/+8
|
* *: update copyrightRafael G. Martins2018-10-147-7/+7
|
* runserver: do not ignore ctrl-c. move from signal() to sigaction()Rafael G. Martins2018-05-131-8/+5
|
* make: git-receiver: fixed conversion from wait status to status codeRafael G. Martins2018-05-131-1/+1
|
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-202-3/+3
|
* 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: allow users to override default host/port with env varRafael G. Martins2017-04-101-12/+17
|
* 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: fixed request read. increased bufferRafael G. Martins2017-03-052-6/+15
|
* runserver: move var declarations to loopRafael G. Martins2017-03-051-13/+13
|
* runserver: implemented ipv6 supportRafael G. Martins2017-03-053-47/+105
|
* 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-257-7/+7
|
* runserver: exit cleanly on ^CRafael G. Martins2016-12-271-0/+7
|
* runserver: fixed bug when calling with -mRafael G. Martins2016-12-271-1/+1
|
* *: binaries should always return 3 on errors, for consistency.Rafael G. Martins2016-12-262-13/+13
| | | | | | 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-142-4/+19
|
* *: fixed includesRafael G. Martins2016-10-074-13/+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-255-20/+85
|
* runserver: silent a few warningsRafael G. Martins2016-09-251-4/+12
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-257-314/+572
| | | | | | | | | 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! ;)
* typoRafael G. Martins2016-09-221-1/+1
|
* runserver: removed libmagic dependencyRafael G. Martins2016-09-221-71/+116
|
* *: s/sb_/bc_/gRafael G. Martins2016-09-031-13/+13
|
* *: big code reorganization.Rafael G. Martins2016-09-031-0/+386
- source and tests are now splitted by target - utils lib is now called common still pending move error.c from blogc to common