On Wed, Apr 1, 2020 at 12:32 PM zyxwvu S <[email protected]> wrote:
>
> Hi. I've encountered a strange behaviour from uv_getpeername on Linux 4.4.0.
>
> uv_getpeername returns ENOTCONN randomly on freshly accepted sockets. I have 
> coredump and coredump indicates that io_watcher.fd is 15 and flags include 
> UV_HANDLE_BOUND, UV_HANDLE_READABLE or UV_HANDLE_WRITABLE. It seems the 
> handle is in good condition.
>
> This is rare (about once per two days).
>
> What can I do to dig into it?
>
> Thanks.

What you're describing is normal: the peer connected and immediately
disconnected again. If you tried to read, you'd probably also get
ENOTCONN or ECONNRESET.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/libuv/CAHQurc-D%2Bxf59FbXfVqzAZD3Rg45B_ELw9PPK%2BE9j-SbJu1BkQ%40mail.gmail.com.

Reply via email to