summaryrefslogtreecommitdiff
path: root/internal/server/session/session.go
AgeCommit message (Collapse)Author
2025-01-06Server and client now properly handle the same user logging in fromKyren223
different locations, fixed the issue where it'd only work for the first time by checking if the addresses match before remove the session
2025-01-06Server now disconnects connection when a new connection matches the sameKyren223
user ID, note that there seems to be a weird thing where if 2 clients are from the same IP, the disconnected client will just reconnect to the new client's socket, so they will both use the same connection for communication
2025-01-06Fleshed out and fixed issues in both the server and client for howKyren223
networks and members work
2024-11-27Fixed server hanging until the client closes the connection,Kyren223
it now forcibly closes the connection when it's terminated
2024-11-27Refactored server infrastructureKyren223
2024-11-03feat: add username and timestamp to messagesKyren223
2024-10-24refactor: server split into server, session and apiKyren223