Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/udp: Let cansend return EWOULDBLOCK when send buffer is full
Notes: 1. This commit do the same thing as TCP did: apache#10627 2. UDP uses `iob_navail(false)` but TCP uses `iob_navail(true)`, this is because of a problem related to TCP recv window (apache#4142), so we don't need to change UDP now. Signed-off-by: Zhe Weng <[email protected]>
- Loading branch information