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
I'm using go-libaudit to receive data from a TCP socket using the recvfrom syscall. However, I'm encountering the ENOBUFS (No buffer space available) error in certain scenarios.
The issue occurs when the received data volume exceeds the default socket buffer size. I've tried increasing the buffer size using setsockoptInt(sock, SOL_SOCKET, SO_RCVBUF, newBufferSize), but the problem persists.
(i set the newBufferSize to the max size it can support = 416 *1024)
Ideally, go-libaudit should handle these situations more gracefully, perhaps by providing mechanisms for automatic buffer management or offering ways to handle buffer overflows programmatically.
The text was updated successfully, but these errors were encountered:
I'm using go-libaudit to receive data from a TCP socket using the recvfrom syscall. However, I'm encountering the ENOBUFS (No buffer space available) error in certain scenarios.
The issue occurs when the received data volume exceeds the default socket buffer size. I've tried increasing the buffer size using setsockoptInt(sock, SOL_SOCKET, SO_RCVBUF, newBufferSize), but the problem persists.
(i set the newBufferSize to the max size it can support = 416 *1024)
Ideally, go-libaudit should handle these situations more gracefully, perhaps by providing mechanisms for automatic buffer management or offering ways to handle buffer overflows programmatically.
The text was updated successfully, but these errors were encountered: