You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read into a temporary buffer instead of using prediction-based growth
Removed the 'presize' logic which attempted to predict packet size by dynamic resizing.
There is no evidence that such prediction improves performance over using a fixed-size
temporary buffer followed by memcpy. The new approach reduces memory operations,
and can offer better real-time responsiveness.
TCP_READ_BUF_SIZE is introduced as a configurable macro (default: 4096 bytes).
0 commit comments