userandrecancel
branchrust_reboot/main/multithreaded_networking_2cancel

28 Commits over 0 Days - Infinitycph!

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