branchrust_reboot/main/multithreaded_networking_2cancel

28 Commits over 0 Days - ∞cph!

2 Years Ago
Fixed DemoClient not returning NetRead to pool
2 Years Ago
Merge from main
2 Years Ago
Splitting network thread into two threads (read thread and write thread)
2 Years 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
2 Years Ago
2 Years Ago
Merge from main
2 Years Ago
Merge from main
2 Years 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
2 Years Ago
NetRead and NetWrite use less space while pooled
2 Years 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
2 Years Ago
Formatting fixes
2 Years Ago
Merge from main
2 Years Ago
Merge from main
2 Years 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
2 Years Ago
Replacing lock-synchronized queue with concurrent queue
2 Years Ago
Replaced Stopwatch.Reset + Stopwatch.Start with Stopwatch.Restart
2 Years Ago
Enabled by default inside editor
2 Years Ago
Added client.maxreceivequeue and server.maxreceivequeue convars Ensure maxreceivetime is still respected on the main thread even with multithreading enabled
2 Years Ago
Rearranging and simplifying some things, cleaning up, removing duplicate code
2 Years 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)
2 Years Ago
Steam networking log tweak to be more in line with Raknet
2 Years Ago
Fixed client main thread accessing peer directly in some console logs
2 Years Ago
Compile fix
2 Years Ago
Startup parameter to enable network thread (-networkthread)
2 Years Ago
Encryption support (forgotten file)
2 Years Ago
Encryption support
2 Years Ago
Baseline (disabled by default)
2 Years Ago
Merge from main