Commit Graph

7 Commits

Author SHA1 Message Date
Valentin Bartenev
dc95b2f3de Controller: pretty-printing of JSON responses. 2017-05-16 22:02:01 +03:00
Valentin Bartenev
0ca2c2fce2 Controller: trivial abilities to save and request configuration.
Now you can get current configuration with:

   $ curl 127.0.0.1:8443

and put new configuration with:

   $ curl -X PUT -d @conf.json 127.0.0.1:8443
2017-05-15 22:39:53 +03:00
Igor Sysoev
60ae0314c0 Fixed building on MacOSX. 2017-04-11 15:59:17 +03:00
Valentin Bartenev
cddbab6312 JSON output in controller. 2017-04-11 00:29:47 +03:00
Valentin Bartenev
6af2d1cfc6 JSON parser: fixed missing initialization of short string length. 2017-04-11 00:29:29 +03:00
Valentin Bartenev
b01865c023 Style and micro-optimizations in JSON parsing. 2017-04-10 23:04:34 +03:00
Valentin Bartenev
bf401fa544 JSON parsing in controller. 2017-04-10 17:06:22 +03:00