set MaxOperationsPerDrain to 0 causes worker thread busy spinning #4705
Labels
Area: Core
Related to the shared, core protocol logic
Bug: Core
A code bug in the Core MsQuic code
external
Proposed by non-MSFT
Milestone
Describe the bug
set connection Settings.MaxOperationsPerDrain to 0 causes worker busy spinning and connection hang (no callback.)
Affected OS
Additional OS information
No response
MsQuic version
v2.3
Steps taken to reproduce bug
QUIC_LISTENER_EVENT_NEW_CONNECTION
MaxOperationsPerDrain
to zero withand it returns success.
In the same thread same as above, set conn configuration with
MsQuic->ConnectionSetConfiguration
and it returns success.
One of the worker thread busy spin (100% CPU usage)
Expected behavior
Worker thread should not busy spin.
OR
Disallow set
MaxOperationsPerDrain
to0
and step 3) should return error.AND
Document the usecase of
MaxOperationsPerDrain=0
if it is by design.Actual outcome
Additional details
This is found during prop based fuzzy test of quicer
The text was updated successfully, but these errors were encountered: