mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-20 23:23:35 +00:00
Middleware (#662)
* removed suspicious shadowing and clarified failure message; customized skipped bundling * smp history is now a no-less-efficient circular array * adjustment to bundle dispatch timing; adjustment to inbound sequence reorder queue * adjustments to handling inbound packets with missing subslots * unused PacketCoding features * comments; delayed start of the queue processor task; turned sequence reorder task and subslot missing task into function literals * optimizations to the inbound re-order by sequence routines by controlling execution flow * the subslot request timer has been separated from the standard bundling processor; config values for bundling, sequence resolution, and subslot requests in the middleware actor have been included * replacing func-array with conditional logic
This commit is contained in:
parent
563afcdb19
commit
b5fc2ecf70
4 changed files with 649 additions and 248 deletions
|
|
@ -99,6 +99,23 @@ anti-cheat {
|
|||
}
|
||||
|
||||
network {
|
||||
middleware {
|
||||
# How often between executions of the outbound bundling process
|
||||
packet-bundling-delay = 25 milliseconds
|
||||
|
||||
# Pause inbound packet transmission towards the network if the sequence number is out of order
|
||||
# Packets are put aside until the sequence is restored, or this timeout passes
|
||||
in-reorder-timeout = 50 milliseconds
|
||||
|
||||
# Wait on inbound packets if that packet is a SlottedMetaPacket and the next subslot number is greater than expected
|
||||
# Does not stop the transmission of packets to the server
|
||||
# but dictates how long between requests to the network (client) for missing packets with anticipated subslot numbers
|
||||
in-subslot-missing-delay = 50 milliseconds
|
||||
|
||||
# How many attempts at resolving missing packets with anticipated subslot numbers
|
||||
in-subslot-missing-attempts = 10
|
||||
}
|
||||
|
||||
session {
|
||||
# The maximum amount of time since the last inbound packet from a UDP session
|
||||
# before it is dropped.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue