Commit Graph

29 Commits

Author SHA1 Message Date
Přemysl Eric Janouch c4ebf2ccd5
Fix segfault on missing Sec-WebSocket-Key 2017-02-06 18:28:53 +01:00
Přemysl Eric Janouch a785dc9670
WebSocket: fix header parsing 2017-02-06 18:28:40 +01:00
Přemysl Eric Janouch 2b7d455471
Fix quitting 2017-02-06 17:18:24 +01:00
Přemysl Eric Janouch 0ec0685714
Bump liberty 2017-02-05 22:44:01 +01:00
Přemysl Eric Janouch 733451cf2a
Fix and update LICENSE 2017-02-03 22:43:09 +01:00
Přemysl Eric Janouch 8b66a3f074 Bump liberty 2016-01-17 04:48:17 +01:00
Přemysl Eric Janouch f273151447 Overall revision after a year
Use something closer to inheritance for clients
2016-01-17 04:48:00 +01:00
Přemysl Eric Janouch a95867dbee Fix daemonization 2016-01-16 22:33:57 +01:00
Přemysl Eric Janouch 5298d802bb Fix compiler warning 2016-01-16 22:16:01 +01:00
Přemysl Eric Janouch af3cb3aaba Bump liberty 2016-01-16 06:41:31 +01:00
Přemysl Eric Janouch 6785d3a9ed Implement shutdown 2015-04-10 02:44:13 +02:00
Přemysl Eric Janouch 4dbdc849d9 Steady progress
On the WebSocket service.

It's not too far from being finished now.  I just have to make some
sense of the code again and make sure it's correct.

Now that json-rpc-shell should be able to run against this, I can
also finally test if both of them work as they should.
2015-04-10 01:42:41 +02:00
Přemysl Eric Janouch db6dff4216 Move a lot of stuff to liberty 2015-03-29 03:14:20 +02:00
Přemysl Eric Janouch 8aa232d32e Add and fix some preliminary tests 2015-03-23 20:12:53 +01:00
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