Kyle Johnsen
|
85cc1d5a39
|
moved timeout to config
|
2022-03-18 16:33:35 -04:00 |
Kyle Johnsen
|
792054749f
|
important change, added 5s timeout on all connections. Must send heartbeat
|
2022-03-18 08:59:41 -04:00 |
Kyle Johnsen
|
aa792c736c
|
accidentally sending messages twice
|
2022-03-16 00:30:59 -04:00 |
Kyle Johnsen
|
5fa0855b9b
|
bug fix
|
2022-03-15 13:27:09 -04:00 |
Kyle Johnsen
|
983308aabe
|
untested hotfix
|
2022-03-14 15:07:24 -04:00 |
Kyle Johnsen
|
3a03ceb8ce
|
fixed another unwrap bug
|
2022-03-12 21:54:52 -05:00 |
Kyle Johnsen
|
b8f65ecf9d
|
fixed crash condition
|
2022-03-07 13:08:19 -05:00 |
Kyle Johnsen
|
5f42d33040
|
added 'proper' error handling
|
2022-03-07 09:49:32 -05:00 |
Kyle Johnsen
|
84096c2d98
|
removed some debug messages
|
2022-03-07 02:30:47 -05:00 |
Kyle Johnsen
|
317d2a84c9
|
test scene fully working, should be drop in compatible
|
2022-03-07 02:24:16 -05:00 |
Kyle Johnsen
|
8336412fb3
|
async version
|
2022-03-07 02:09:04 -05:00 |
Kyle Johnsen
|
b37edb0222
|
no more magic numbers
|
2022-02-22 08:24:34 -05:00 |
Kyle Johnsen
|
68b334f33c
|
using try_send now, because yoda was wrong. Try is better than do
|
2022-02-22 01:09:59 -05:00 |
Kyle Johnsen
|
cfc6a0720a
|
left a note to fix technical debt
|
2022-02-21 20:57:50 -05:00 |
Kyle Johnsen
|
26af2a7f17
|
also added write timeout
|
2022-02-21 20:53:56 -05:00 |
Kyle Johnsen
|
fd02ce4ede
|
added config timeout, and set default as 30
|
2022-02-21 19:15:27 -05:00 |
Kyle Johnsen
|
de78812fbb
|
added timeout
|
2022-02-21 18:24:08 -05:00 |
Kyle Johnsen
|
c2a30171e3
|
added config file
|
2022-02-13 16:40:26 -05:00 |
Kyle Johnsen
|
5f2401d004
|
kills connection if it speaks incorrect protocol
|
2022-02-13 16:10:30 -05:00 |
Kyle Johnsen
|
ec2c150404
|
missed a message
|
2022-02-13 14:38:10 -05:00 |
Kyle Johnsen
|
7f94b70c4e
|
improved logging
|
2022-02-13 14:33:47 -05:00 |
Kyle Johnsen
|
39d7359475
|
another potential race condition, though this one is less likely
|
2022-02-13 07:07:26 -05:00 |
Kyle Johnsen
|
6eb92d3657
|
fix for race condition
|
2022-02-13 06:49:53 -05:00 |
Kyle Johnsen
|
4ce8d48349
|
accidentally grabbed a lock twice
|
2022-02-08 17:13:42 -05:00 |
Kyle Johnsen
|
38eb7f2c0e
|
more reduction in long write locks
|
2022-02-08 10:20:26 -05:00 |
Kyle Johnsen
|
d5cfc471e2
|
added further refinements to reduce locking unecessarily
|
2022-02-08 10:13:18 -05:00 |
Kyle Johnsen
|
031db08eb0
|
addressed race condition
|
2022-02-08 08:59:33 -05:00 |
Kyle Johnsen
|
a263c0d028
|
small bug fix and attempt to fix random server locking by taking a lock only after reads from the client have completed
|
2022-02-07 08:15:12 -05:00 |
Kyle Johnsen
|
5d44185f65
|
fixed leaving room
|
2022-02-03 17:50:32 -05:00 |
Kyle Johnsen
|
4ed4c256c1
|
added room name to getroomdata response
|
2022-02-02 23:46:49 -05:00 |
Kyle Johnsen
|
c311e95c12
|
added getroomdata message
|
2022-02-02 23:21:32 -05:00 |
Kyle Johnsen
|
1dd93d2848
|
application specific rooms
|
2022-02-02 17:32:34 -05:00 |
Kyle Johnsen
|
02e91964df
|
removed magic numbers and fixed udp bug
|
2022-02-02 15:34:40 -05:00 |
Kyle Johnsen
|
cfbcaf86e9
|
added separate message for joining and leaving. joining gives you all ids in room now
|
2022-01-31 00:57:51 -05:00 |
Kyle Johnsen
|
63d3d7ed8e
|
fixed bug in udp loop that could crash loop
|
2022-01-24 19:24:02 -05:00 |
Kyle Johnsen
|
9f422d46b6
|
changed 127.0.0.1 to 0.0.0.0 so it accepts from anywhere
|
2022-01-21 10:24:22 -05:00 |
Kyle Johnsen
|
25218d0a14
|
added ordered messages
|
2022-01-21 08:44:00 -05:00 |
Kyle Johnsen
|
6bcd8708ba
|
fixed bug that left clients in room
|
2022-01-21 08:22:24 -05:00 |
Kyle Johnsen
|
6f79a700b4
|
removed println and warnings
|
2022-01-20 00:59:25 -05:00 |
Kyle Johnsen
|
1629adcc12
|
fixed udp bug
|
2022-01-20 00:56:15 -05:00 |
Kyle Johnsen
|
e35ec560d4
|
added rooms message implementation
|
2022-01-20 00:13:26 -05:00 |
Kyle Johnsen
|
af9d77e0cd
|
a little more comments
|
2022-01-19 17:17:37 -05:00 |
Kyle Johnsen
|
1caf16ef44
|
okay, so RWlocks are not so simple
|
2022-01-19 16:06:53 -05:00 |
Kyle Johnsen
|
2f1c216d62
|
switched to RWLock over mutex, so it should be much more performant now
|
2022-01-19 15:11:55 -05:00 |
Kyle Johnsen
|
01e3e0c808
|
master client messages are sent now
|
2022-01-19 02:06:01 -05:00 |
Kyle Johnsen
|
d40435ae71
|
bug fixes
|
2022-01-19 00:29:40 -05:00 |
Kyle Johnsen
|
89123a605e
|
udp mostly done, but untested
|
2022-01-18 14:46:04 -05:00 |
Kyle Johnsen
|
9b8395806d
|
progress towards udp
|
2022-01-18 10:27:36 -05:00 |
Kyle Johnsen
|
8a5591c8bc
|
fixed bug introduced by not assigning client to room
|
2022-01-18 09:30:31 -05:00 |
Kyle Johnsen
|
4c8180dc17
|
added group messaging to tcp
|
2022-01-18 09:14:14 -05:00 |