Jonathan Barrow
5f38bf34bf
Merge pull request #46 from PabloMK7/disconnectbyid
2024-04-19 13:05:05 -04:00
PabloMK7
90d81f6eb9
Implement and use deleteConnectionByID
2024-04-18 14:51:01 +02:00
Daniel López Guimaraes
eb3f1be3ae
resend_scheduler: Restructure finished check
2024-04-13 20:43:48 +01:00
Daniel López Guimaraes
edb4f2fc7a
resend_scheduler: Fix memory leaks
...
When a packet gets acknowledged, the goroutine timer doesn't return, and
instead waits forever for the timer that has already been stopped.
Return if the packet has been acknowledged of if the connection has
timed out to avoid wasting resources.
2024-04-13 16:50:16 +01:00
Jonathan Barrow
b37dede3c4
prudp: added nil check to pendingPacket.ticker
2024-03-15 13:19:59 -04:00
Jonathan Barrow
ab069f3410
chore: formatting
2024-03-15 13:17:00 -04:00
PabloMK7
89ef0596a1
Apply suggestions
2024-03-06 13:59:14 +01:00
PabloMK7
652dbecf48
Use more fields from StreamSettings
2024-03-05 19:30:53 +01:00
Daniel López Guimaraes
3b90bdc96b
refactor: Update ServerInterface to EndpointInterface
...
This requires a lot of refactor but it brings back the option of getting
events when a connection disconnects.
2024-02-11 00:03:05 +00:00
Jonathan Barrow
9cec5d9e9c
prudp: completely redo virtual connections
2024-01-15 15:01:26 -05:00
Jonathan Barrow
0272e25723
prudp: forgot to commit resend changes last night
2023-12-11 14:01:08 -05:00
Jonathan Barrow
1970b2a73e
prudp: support server vports and move client vport to discriminator
2023-12-08 16:08:27 -05:00
Jonathan Barrow
7b7b9c59d7
prudp: add support for virtual connections
2023-12-08 01:24:57 -05:00
Jonathan Barrow
a880ec1566
removed debug fmt logs
2023-11-18 22:30:42 -05:00
Daniel López Guimaraes
b39018bb19
prudp: Create copies of packets for fragments
...
This makes the resend scheduler to not have the same pointer to a packet
when sending fragments.
2023-11-12 20:52:48 +00:00
Jonathan Barrow
18c6d73fc6
added debug logs. delete later
2023-11-12 06:49:29 -05:00
Jonathan Barrow
dfbbc192ba
added OnClientRemoved and OnDisconnect on PRUDPServer
2023-11-12 03:01:05 -05:00
Jonathan Barrow
0e4ff2bec9
added FindClientByConnectionID field on PRUDPServer
2023-11-12 01:28:44 -05:00
Jonathan Barrow
f9f4d3bca4
total rewrite
2023-11-10 01:28:25 -05:00