c03af00e30
WebSockets are no longer experimental
...
Now that I've made it work at all, at least in some cases.
2017-02-06 21:28:40 +01:00
9531f2b518
WebSocket: fix connection timeout
2017-02-06 21:28:40 +01:00
06e066a491
WebSocket: avoid closing an invalid FD
2017-02-06 21:12:12 +01:00
1be02128e3
WebSocket: fix reconnection
2017-02-06 21:11:17 +01:00
6017ce464d
WebSocket: fix showing the close reason
2017-02-06 20:11:29 +01:00
5946081a91
WebSocket: fix segfault in HTTP parsing
2017-02-06 19:04:58 +01:00
753d5f02ae
WebSocket: remember to send the protocol version
2017-02-06 18:39:33 +01:00
d73aa0436c
WebSocket: fix header parsing
2017-02-06 18:27:40 +01:00
58408ae74a
Fix and update LICENSE
2017-02-03 23:02:29 +01:00
66f1a6afa3
Fix OpenSSL 1.1 compatibility
2017-01-25 18:12:18 +01:00
6ab7219752
Bump liberty
2017-01-23 23:59:03 +01:00
ed77188bfd
Use TMPDIR as a fallback if set
2016-03-13 01:02:07 +01:00
dc8e84d27a
Flush output properly
2016-01-22 14:39:41 +01:00
46b926d9e5
Add ability to pipe output from calls
2016-01-21 09:26:29 +01:00
e70cd4e434
Add JSON syntax highlighting
2016-01-21 07:34:03 +01:00
d6d53a4e70
Fix segfault on config load error
2016-01-20 10:39:46 +01:00
e0aa42fb99
Allow line editing with VISUAL/EDITOR/vi
...
Let's pray I haven't broken anything so far.
2015-12-26 04:13:51 +01:00
dd9bfbe37e
Refactor backends
...
That was fucking ugly.
2015-12-26 01:42:08 +01:00
63df918482
Rewrite the input layer
...
Now we also support libedit for the backend.
2015-12-25 23:38:40 +01:00
3e2728443b
Bump liberty, use newer configuration format
...
So that we don't need to maintain our own string parser for attribute strings.
More or less just plugging in what the old code has evolved into in degesch.
2015-12-13 22:54:14 +01:00
50c8ef12ac
Bump liberty
2015-12-13 01:40:03 +01:00
f1a83abdd8
Fix compile warning
2015-12-13 01:39:27 +01:00
ff64e45988
Reorganize code
2015-12-13 01:38:53 +01:00
ac5c2f40a2
WS: allow leaving out the URL path
...
It defaults to / now, it used to cause undefined behaviour.
2015-06-25 22:32:59 +02:00
be1e424e17
WS: include the part after '?' in the query
2015-06-25 21:54:16 +02:00
a16a7940dd
Fix typo in HTTP request header
2015-06-24 20:46:42 +02:00
1c2c2bccbb
Move a comment
2015-04-08 20:43:49 +02:00
ba659a99e1
Fix an embarrasing logic error
2015-04-08 20:33:42 +02:00
ad094ebb4b
Allow specifying the CA bundle in configuration
2015-04-08 20:29:53 +02:00
e1d2626f10
WS: send messages in blocks
2015-04-08 20:00:47 +02:00
808393c537
WS: only display the "connecting" status on -v
2015-04-08 19:51:57 +02:00
fd4177157e
Fix WS masking logic
2015-04-08 19:49:45 +02:00
01757df58f
Display the IP address while connecting
...
Instead of resolving the domain name.
2015-04-08 19:49:09 +02:00
4b56f09ea6
Non-functional little fixes
2015-04-08 19:48:22 +02:00
3339f43ec9
Watch for SIGINT and SIGTERM
2015-04-08 02:35:32 +02:00
f0d60bb689
Handle quitting a bit better
...
And add some documentation.
2015-04-08 02:35:32 +02:00
ec54630fef
Fix obsolete libev API usage
2015-04-08 02:09:40 +02:00
7333f27159
Give the WebSocket backend some chance of working
...
This is all untested code.
2015-04-08 01:52:20 +02:00
950fc21ecf
Make asynchronous status messages possible
...
I. HATE. GNU. READLINE.
2015-04-07 02:58:59 +02:00
371e52d782
Cleanup, fix handshake, better errors
2015-04-07 02:56:58 +02:00
0f0c5d2617
WebSockets: use Server Name Indication with TLS
2015-04-03 00:15:44 +02:00
bdbfb915d2
Display a warning about WS status
...
So I can finally push this to GitHub.
2015-03-29 03:22:27 +02:00
64381f8d46
Move a lot of stuff to liberty
2015-03-29 03:21:03 +02:00
b0c712c146
Stubplement WebSockets
2015-03-29 00:37:12 +01:00
b400ea8d09
Not so trivial anymore
...
We're gonna implement WebSockets soon, so make appropriate changes to texts.
Updated copyright in LICENSE.
2015-03-23 23:25:43 +01:00
ecad324ef3
Move to liberty
2015-02-28 21:18:54 +01:00
f6f66c9021
Fix a leak and a null pointer dereference
2015-02-22 21:30:30 +01:00
855d02acab
Add support for attributed output
...
Colours, colours, colours. Configurable.
2015-02-22 20:06:55 +01:00
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
0f2a66e7b0
Expect UTF-8 charset in Content-Type
2015-02-22 10:24:42 +01:00
38ebe65826
Add manpage generation, update README
2015-02-14 01:19:32 +01:00
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
a24fa3e305
Don't try to send an empty method name
2014-09-29 20:40:14 +02:00
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
0cbcf60992
Avoid a resource leak
2014-09-08 20:53:46 +02:00
8824903ae2
Initial commit
2014-09-07 02:20:49 +02:00