Přemysl Eric Janouch
6e9109df4c
Don't allow whitespace in base64
2015-03-23 20:12:02 +01:00
Přemysl Eric Janouch
987eae5661
Steady progress
...
Renamed some constants, added basic UTF-8 validation.
2015-03-23 16:47:21 +01:00
Přemysl Eric Janouch
9b7dd630e3
WebSockets improvements
...
- validate more HTTP stuff, use the newer RFC
- validate the base64 key
2015-03-22 22:35:58 +01:00
Přemysl Eric Janouch
c87d684154
Steady progress
...
Started parsing Content-Type properly after studying the HTTP RFC
for a significant period of time.
Some further WebSockets stuff.
2015-03-15 04:32:04 +01:00
Přemysl Eric Janouch
23eb4cca38
Steady progress
...
Still in a state of total chaos, it appears.
2015-03-14 19:37:00 +01:00
Přemysl Eric Janouch
4337038819
Try to lock a PID file
2015-03-11 23:57:25 +01:00
Přemysl Eric Janouch
012a57b357
Steady progress
...
Some further refactoring, added a few comments, etc.
It's not about adding huge chunks of code anymore, and I'm slowly
moving towards getting the details right.
There's still a ton of TODO items, though.
2015-03-11 00:25:46 +01:00
Přemysl Eric Janouch
3c0e48a429
Refactoring
2015-03-10 20:48:25 +01:00
Přemysl Eric Janouch
5885d1aa69
Some intial WebSockets code
2015-03-09 23:32:01 +01:00
Přemysl Eric Janouch
931fc441f6
Steady progress
...
Added static content serving with sane content type detection.
Started working on WebSockets (meanwhile neither SCGI or FastCGI is
finished and almost nothing has been tested).
2015-03-08 09:41:10 +01:00
Přemysl Eric Janouch
9e0c9dd6d8
Steady progress
...
Still trying to figure out FastCGI.
At least I've finally implemented the JSON-RPC handler.
2015-03-08 05:51:51 +01:00
Přemysl Eric Janouch
2733ead30f
Figuring out how to close the connection
2015-03-06 19:49:33 +01:00
Přemysl Eric Janouch
0b0d64124b
Steady progress
2015-03-05 08:47:20 +01:00
Přemysl Eric Janouch
a54230bddb
Steady progress
...
I'm trying to figure out everything at once, i.e. the entire structure
of the application from top to bottom, trying to converge on a workable
design while refactoring still doesn't hurt as much as it would once
it's established.
2015-03-02 23:11:29 +01:00
Přemysl Eric Janouch
8a3241d5c4
Initial commit
...
Not even the demo is able to compile yet.
I'm just tracking my progress.
2015-03-02 19:14:37 +01:00
Přemysl Eric Janouch
ecad324ef3
Move to liberty
2015-02-28 21:18:54 +01:00
Přemysl Eric Janouch
49600a082b
Fix the silliest of issues in utils.c
2015-02-28 01:04:33 +01:00
Přemysl Eric Janouch
0fb4a3cb34
Miscellaneous little changes
2015-02-26 22:56:52 +01:00
Přemysl Eric Janouch
f6f66c9021
Fix a leak and a null pointer dereference
2015-02-22 21:30:30 +01:00
Přemysl Eric Janouch
f468fdf343
Travis CI: Add help2man
2015-02-22 20:32:18 +01:00
Přemysl Eric Janouch
fc197b12cf
Also build with ncursesw only
2015-02-22 20:27:31 +01:00
Přemysl Eric Janouch
855d02acab
Add support for attributed output
...
Colours, colours, colours. Configurable.
2015-02-22 20:06:55 +01:00
Přemysl Eric Janouch
66cf41f89f
Rewrite to use utils.c from ponymap
...
I'm starting to get tired of repeatingly doing this.
2015-02-22 20:06:10 +01:00
Přemysl Eric Janouch
0f2a66e7b0
Expect UTF-8 charset in Content-Type
2015-02-22 10:24:42 +01:00
Přemysl Eric Janouch
1b53c219e9
Travis CI: Try enabling Coverity scan
2015-02-14 21:59:51 +01:00
Přemysl Eric Janouch
38ebe65826
Add manpage generation, update README
2015-02-14 01:19:32 +01:00
Přemysl Eric Janouch
600b006f4b
Travis CI: Try getting a newer Jansson
2015-02-08 16:52:52 +01:00
Přemysl Eric Janouch
b7e8535610
Fix the fix
2015-02-08 05:32:18 +01:00
Přemysl Eric Janouch
8e02847b8e
Fix Travis CI dependency list
2015-02-08 05:29:43 +01:00
Přemysl Eric Janouch
799636b16c
Add Travis CI configuration
2015-02-08 05:27:36 +01:00
Přemysl Eric Janouch
8d7ea57a00
Convert to CMake, fix terminal resize behaviour
...
Fucking terminals, always broken in one way or another.
For future reference, libedit acts even worse than readline.
2014-11-18 22:06:25 +01:00
Přemysl Eric Janouch
a24fa3e305
Don't try to send an empty method name
2014-09-29 20:40:14 +02:00
Přemysl Eric Janouch
fdd447a7ea
Some twiddling
...
- also accept the obsolete application/json-rpc content type
- don't quote regular responses
- don't separate results with newlines
- instead make sure to print a newline upon receiving EOF
2014-09-08 20:53:50 +02:00
Přemysl Eric Janouch
0cbcf60992
Avoid a resource leak
2014-09-08 20:53:46 +02:00
Přemysl Eric Janouch
8824903ae2
Initial commit
2014-09-07 02:20:49 +02:00