aboutsummaryrefslogtreecommitdiff
path: root/demo-json-rpc-server.c
Commit message (Collapse)AuthorAgeFilesLines
* Clarify EOF behaviourPřemysl Janouch2018-10-171-5/+6
|
* Clean up and better document client_vtablePřemysl Janouch2018-10-161-30/+35
|
* Rename client_vtable::destroy to finalizePřemysl Janouch2018-10-161-11/+10
| | | | Matches a similar concept from garbage-collected languages.
* Improve WebSocket shutdownPřemysl Janouch2018-10-161-12/+13
|
* CleanupPřemysl Janouch2018-10-161-3/+3
|
* Call ws_handler_start()Přemysl Janouch2018-10-161-0/+2
|
* Eliminate unnecessary user_data pointersPřemysl Janouch2018-10-161-65/+57
| | | | The CONTAINER_OF macro can find the parent structure just as well.
* Improve documentationPřemysl Janouch2018-10-161-6/+15
|
* Make Doxygen a bit more usefulPřemysl Janouch2018-10-151-0/+12
|
* Eliminate some warningsPřemysl Janouch2018-10-151-4/+10
|
* Handle FastCGI null request IDs betterPřemysl Janouch2018-10-151-8/+24
|
* Clarify and degrade FastCGI multiplexingPřemysl Janouch2018-10-151-13/+15
| | | | No need to support more than 255 concurrent requests on one connection.
* Fix fcgi_muxer_send()Přemysl Janouch2018-10-131-2/+6
| | | | Outgoing records were missing padding and the reserved field.
* Update code commentsPřemysl Janouch2018-10-131-3/+15
|
* More transient errorsPřemysl Janouch2018-10-121-1/+2
|
* Fix text message UTF-8 validationPřemysl Janouch2018-06-241-1/+1
|
* Add the missing Date headerPřemysl Janouch2018-06-241-0/+13
|
* Bump libertyPřemysl Janouch2018-06-241-64/+42
|
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-241-3/+2
| | | | | | | | | I've come to the conclusion that copyright mostly just stands in the way of software development. In my jurisdiction I cannot give up my own copyright and 0BSD seems to be the closest thing to public domain. The updated mail address, also used in my author/committer lines, is shorter and looks nicer. People rarely interact anyway.
* Fix teardownPřemysl Janouch2017-06-201-0/+1
|
* Don't respond to notificationsPřemysl Janouch2017-02-061-2/+3
|
* Fix segfault in WebSocket parsingPřemysl Janouch2017-02-061-0/+1
|
* Fix segfault on client destruction etc.Přemysl Janouch2017-02-061-0/+1
|
* Fix segfault on missing Sec-WebSocket-KeyPřemysl Janouch2017-02-061-0/+3
|
* WebSocket: fix header parsingPřemysl Janouch2017-02-061-4/+8
|
* Fix quittingPřemysl Janouch2017-02-061-4/+6
|
* Bump libertyPřemysl Janouch2017-02-051-28/+28
|
* Fix and update LICENSEPřemysl Janouch2017-02-031-1/+0
|
* Bump libertyPřemysl Janouch2016-01-171-51/+4
|
* Overall revision after a yearPřemysl Janouch2016-01-171-231/+242
| | | | Use something closer to inheritance for clients
* Fix daemonizationPřemysl Janouch2016-01-161-17/+56
|
* Fix compiler warningPřemysl Janouch2016-01-161-2/+2
|
* Bump libertyPřemysl Janouch2016-01-161-6/+6
|
* Implement shutdownPřemysl Janouch2015-04-101-19/+72
|
* Steady progressPřemysl Janouch2015-04-101-54/+180
| | | | | | | | | | 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.
* Move a lot of stuff to libertyPřemysl Janouch2015-03-291-1503/+7
|
* Add and fix some preliminary testsPřemysl Janouch2015-03-231-31/+225
|
* Don't allow whitespace in base64Přemysl Janouch2015-03-231-5/+5
|
* Steady progressPřemysl Janouch2015-03-231-41/+126
| | | | Renamed some constants, added basic UTF-8 validation.
* WebSockets improvementsPřemysl Janouch2015-03-221-66/+352
| | | | | - validate more HTTP stuff, use the newer RFC - validate the base64 key
* Steady progressPřemysl Janouch2015-03-151-89/+405
| | | | | | | Started parsing Content-Type properly after studying the HTTP RFC for a significant period of time. Some further WebSockets stuff.
* Steady progressPřemysl Janouch2015-03-141-42/+272
| | | | Still in a state of total chaos, it appears.
* Try to lock a PID filePřemysl Janouch2015-03-111-4/+51
|
* Steady progressPřemysl Janouch2015-03-111-94/+165
| | | | | | | | | 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.
* RefactoringPřemysl Janouch2015-03-101-58/+56
|
* Some intial WebSockets codePřemysl Janouch2015-03-091-5/+518
|
* Steady progressPřemysl Janouch2015-03-081-7/+185
| | | | | | | 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).
* Steady progressPřemysl Janouch2015-03-081-34/+650
| | | | | | Still trying to figure out FastCGI. At least I've finally implemented the JSON-RPC handler.
* Figuring out how to close the connectionPřemysl Janouch2015-03-061-90/+110
|
* Steady progressPřemysl Janouch2015-03-051-10/+206
|