aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-runserver/main.c
Commit message (Collapse)AuthorAgeFilesLines
* *: use squareballRafael G. Martins2018-04-051-8/+9
| | | | yeah, changed my mind again :)
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-201-2/+2
|
* runserver: allow users to override default host/port with env varRafael G. Martins2017-04-101-12/+17
|
* runserver: implemented ipv6 supportRafael G. Martins2017-03-051-7/+7
|
* *: updated copyrightRafael G. Martins2017-02-251-1/+1
|
* 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-261-4/+4
| | | | | | 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.
* runserver: blogc/loader: improve strto*l handlingRafael G. Martins2016-10-141-4/+14
|
* *: fixed includesRafael G. Martins2016-10-071-1/+0
|
* runserver: implemented a thread pool and fixed few bugsRafael G. Martins2016-09-251-4/+20
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-251-314/+2
| | | | | | | | | 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