socket_send is broken for high throughput #601

Open
opened 2026-07-24 08:03:07 +00:00 by hidnplayr · 0 comments
Owner

When socket buffer (kernel side) is full, the function will return 0 immediately.
This is incorrect.
For blocking sockets, the function should block.
For non blocking sockets, the function should return errorcode EWOULDBLOCK.

When socket buffer (kernel side) is full, the function will return 0 immediately. This is incorrect. For blocking sockets, the function should block. For non blocking sockets, the function should return errorcode EWOULDBLOCK.
hidnplayr added the
Category
Kernel
Kind
Bug
Priority
High
2
Subsystem/Network
labels 2026-07-24 08:04:01 +00:00
hidnplayr self-assigned this 2026-07-24 08:04:11 +00:00
hidnplayr added this to the Network stack project 2026-08-02 15:57:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#601