I'd call that a bug in trickle. If the select system call reports that the file descriptor is writable, it's perfectly reasonable to assume that the write system call will write at least one byte rather than fail with EAGAIN.
/Bo Lindbergh
I'd call that a bug in trickle. If the select system call reports that the file descriptor is writable, it's perfectly reasonable to assume that the write system call will write at least one byte rather than fail with EAGAIN.
/Bo Lindbergh