Commit Graph

54 Commits (master)

Author SHA1 Message Date
Karchnu cb0594fe5a IPCd: working. 2020-11-08 17:51:00 +01:00
Karchnu 5497011a1d More exceptions. 2020-11-04 14:24:42 +01:00
Karchnu d9c53342dc Better CLI messages, better comments, cleaner code. 2020-11-04 02:59:42 +01:00
Karchnu e2bb0b3122 Better error management. 2020-11-03 19:11:01 +01:00
Karchnu 01fdb317c1 IPCd: file ordering. 2020-11-03 19:01:16 +01:00
Karchnu da683e96fa lib modifications: in lib/ 2020-11-03 18:40:57 +01:00
Karchnu 53ed216132 ipcd with new libipc API (v 0.7) 2020-11-03 16:18:52 +01:00
Karchnu 9912ef8a5e Sending real ip address in websocketd. 2020-09-20 12:54:47 +02:00
Karchnu 80b98e3ba6 Removing useless logs. 2020-09-14 16:15:21 +02:00
Karchnu b1ac2dacee Web sockets fragments are supported (silly implementation). 2020-09-01 02:32:46 +02:00
Karchnu af1c7e1875 print_timer option 2020-09-01 00:44:12 +02:00
Karchnu 188f4fc701 closing become a simple information (not an error) 2020-08-31 05:05:27 +02:00
Karchnu 4ae93338a5 websocketd: replace warnings with debug (for example: ping/pong messages) 2020-08-31 05:04:00 +02:00
Karchnu fca1b29a47 websocketd bugfix: removing the right fd. 2020-08-31 03:58:20 +02:00
Karchnu 8ede5bea3d Websocketd: more error-proof fd removal. 2020-08-29 02:01:18 +02:00
Karchnu a70b633c42 -M to print messages. 2020-08-28 18:08:20 +02:00
Karchnu b42e38eda8 Baguette::Log. 2020-08-28 02:02:19 +02:00
Karchnu 185a87431c Final catch for the IPC loop. 2020-08-26 16:50:14 +02:00
Karchnu 6a5496a393 Test with IPC::Connection -> IPC::Client. 2020-08-24 19:58:43 +02:00
Karchnu be32df0d46 New log system. 2020-08-24 16:55:35 +02:00
Karchnu 7fc1632d17 info -> debug messages. 2020-08-24 14:09:45 +02:00
Karchnu 0797a1a6e5 Limits the display to relevant messages. 2020-08-24 01:20:27 +02:00
Karchnu 5839ba98b4 websocketd updated to new libipc API 2020-08-23 17:30:54 +02:00
Karchnu 6355596d6d TestWS: up to the newest libipc bindings version. 2020-07-18 12:14:19 +02:00
Karchnu e86c09d6cb Websocketd now uses float64 timer. 2020-06-12 02:03:55 +02:00
Karchnu b3265025cf Remove "-" in "ipaddress" for the trackerd deamon. 2020-06-08 21:01:15 +02:00
Karchnu 949964e2ec Pongd: `-n` option, to avoid sending responses. 2020-06-04 17:20:03 +02:00
Karchnu 119ccbca3c wsd now sends {"ip-address": "10.0.0.3"} to `tracker` at client connection. 2020-06-04 17:18:48 +02:00
Karchnu 2ddcdfb27b Fixes close() call on websockets. 2020-05-27 15:01:50 +02:00
Philippe PITTOLI a5e2e8f340 Baguette. 2020-04-13 18:17:14 +02:00
Philippe PITTOLI 794ee62603 websocketd: code simplifications (WIP) 2020-02-04 02:06:13 +01:00
Philippe PITTOLI a022d25913 New IO and WebSocket (private) API. 2020-01-17 13:01:07 +01:00
Philippe PITTOLI 7d554b0e67 Adding some tests on websockets. 2020-01-16 17:43:02 +01:00
Philippe PITTOLI 6a871e8267 websocketd: bin msg, conf. timer delay, loop on buffered msg 2020-01-16 17:41:07 +01:00
Philippe PITTOLI 02a6ac97c1 pongd is now an IPC service real-life example 2020-01-16 17:31:26 +01:00
Philippe PITTOLI 63d2999ccb readme updated 2020-01-16 17:30:49 +01:00
Philippe PITTOLI c302f5df6b plumberd => ipcd 2020-01-06 15:35:09 +01:00
Philippe PITTOLI 2f3ece0739 Adapting ipcd code to new ipc.cr bindings. 2019-12-29 16:09:57 +01:00
Philippe PITTOLI 73ca696aef release 0.0.1 2019-11-04 15:35:01 +01:00
Philippe PITTOLI fb341274ee tcp -> tcpc 2019-11-04 13:48:51 +01:00
Philippe PITTOLI 1495728777 Websocketd: `-l host` parameter 2019-11-04 09:15:42 +01:00
Philippe PITTOLI 115e6f5b0a .gitignore 2019-11-04 08:59:27 +01:00
Philippe PITTOLI 176d8d1507 Networkd => Plumberd, websocketd working. 2019-11-04 08:56:57 +01:00
Philippe PITTOLI 550f4e77ae Websocketd: support for crystal 0.31.0 2019-09-29 18:39:47 +02:00
Philippe PITTOLI d6e0bd4a2f Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/networkd into testing 2019-09-29 18:21:02 +02:00
Luka Vandervelden bbe015ccf1 Updated shard.yml. 2019-08-21 13:09:54 +02:00
Philippe PITTOLI 66c7cbaa58 websocketd now understands JSON messages 2019-08-11 05:40:20 +02:00
Philippe PITTOLI 48201acea4 websocketd: simpler protocol 2019-08-10 15:31:19 +02:00
Philippe PITTOLI 608a467f89 playing with websockets 2019-08-05 01:53:35 +02:00
Philippe PITTOLI 75197d34e3 websockets: handle errors 2019-08-05 01:53:05 +02:00