userandrecancel
branchrust_reboot/main/multithreaded_networking_2cancel

28 Commits over 0 Days - ∞cph!

1 Year Ago
Fixed DemoClient not returning NetRead to pool
1 Year Ago
Merge from main
1 Year Ago
Splitting network thread into two threads (read thread and write thread)
1 Year Ago
Removing locks in GetStat, GetLastPing and GetDebug since they're only called from the main thread, which is the only thread that can disconnect the peer
1 Year Ago
1 Year Ago
Merge from main
1 Year Ago
Merge from main
1 Year Ago
Added 1 second timeout to all AutoResetEvent.WaitOne calls (large enough to notice something is wrong, but never deadlock) Ensure everything is cleaned up / reinitialized after disconnect / reconnect
1 Year Ago
NetRead and NetWrite use less space while pooled
1 Year Ago
Decryption is running in its own thread (separate from network thread) -- this allows us to add multiple decryption threads in the future EACServer uses ConcurrentDictionary to manage its client IDs
1 Year Ago
Formatting fixes
1 Year Ago
Merge from main
1 Year Ago
Merge from main
1 Year Ago
Replacing Thread.Sleep with AutoResetEvent Block main thread if worker thread can't keep up Added client.maxsendqueue and server.maxsendqueue convars Added some comments to network threading
1 Year Ago
Replacing lock-synchronized queue with concurrent queue
1 Year Ago
Replaced Stopwatch.Reset + Stopwatch.Start with Stopwatch.Restart
1 Year Ago
Enabled by default inside editor
1 Year Ago
Added client.maxreceivequeue and server.maxreceivequeue convars Ensure maxreceivetime is still respected on the main thread even with multithreading enabled
1 Year Ago
Rearranging and simplifying some things, cleaning up, removing duplicate code
1 Year Ago
Sleep network thread when read queue is at capacity and write queue is empty (i.e. we're waiting for the main thread to catch up with us)
1 Year Ago
Steam networking log tweak to be more in line with Raknet
1 Year Ago
Fixed client main thread accessing peer directly in some console logs
1 Year Ago
Compile fix
1 Year Ago
Startup parameter to enable network thread (-networkthread)
1 Year Ago
Encryption support (forgotten file)
1 Year Ago
Encryption support
1 Year Ago
Baseline (disabled by default)
1 Year Ago
Merge from main