Marko,
> optval seems used without initialization.
Dang, I was checking for the SO_NOSIGPIPE flag, and didn't check for optval. New patch coming...
Cheers,
Jeremy