
if ioctl() return 0 bytes, recv(..., MSG_PEEK) is called, reading 1 byte. if recv returns 0 or -1 the socket is closed and dcb->func.close(dcb) is called. Client, session and backend connections will be closed Tested with 4 MaxScale running threads
if ioctl() return 0 bytes, recv(..., MSG_PEEK) is called, reading 1 byte. if recv returns 0 or -1 the socket is closed and dcb->func.close(dcb) is called. Client, session and backend connections will be closed Tested with 4 MaxScale running threads