tt2468
e89c0c2b05
Base: More code cleanup and fixes
2021-09-04 10:47:51 -07:00
tt2468
807a1501b7
base: Refactor request stuff and finish more logic
2021-05-03 13:31:22 -07:00
tt2468
36af7f6f58
base: Lots of stuff, including RequestHandler progress
2021-05-02 19:48:44 -07:00
tt2468
ffaac93ba6
WebSocketSession: Add mutex for operations which change session parameters
2021-04-30 08:56:08 -07:00
tt2468
4be9b995fb
base: Use shared_ptr instead of explicit ref counts
...
Took a night of sleep but I realized how I could solve the
concurrency issues in a good way. Uses shared_ptr, where the map
always accounts for one reference to a session.
2021-04-30 08:45:34 -07:00
tt2468
32758198ab
WebSocketSession: Add refcount
...
Working towards fixing concurrency issues. Todo:
- Wait for refcount to be 0 before deleting object
- Use .at() instead of operator[] to prevent recreating deleted
sessions
- There was a third thing. Dont remember what it was
2021-04-29 22:11:24 -07:00
tt2468
e151a9a8db
base: Use Unix EOL
2021-04-29 21:13:34 -07:00
tt2468
d1d5dd74ea
WebSocketServer: Send hello in onOpen
2021-04-28 22:03:23 -07:00
tt2468
53e773b1a2
WebSocketSession: Add remoteAddress string
2021-04-28 11:23:12 -07:00
tt2468
0af2724ee9
WebSocketSession: Add connectedAt
2021-04-28 11:12:53 -07:00
tt2468
1245958031
WebSocketSession: Add encoding
2021-04-28 10:41:51 -07:00
tt2468
0f7683af4e
WebSocketSession: Add challenge var
2021-04-28 08:52:23 -07:00
tt2468
d9ee288cf1
base: cmake is fucking retarded
2021-04-27 16:33:47 -07:00
tt2468
fb22b31612
base: Add WebSocketSession
2021-04-27 14:52:04 -07:00