locked
windows RIO bug RRS feed

  • Question

  • I'm using windows RIO(Registered IO) and did the following test.

    1. Client connects server.
    2. Client doesn't receive anything.
    3. Server sends AAA to client.
    4. AAA is pending, not completed because client doesn't receive.
    5. Server close the client socket.

    After the step 5,

    The socket status of server machine is FIN_WAIT_1.

    The socket status of client machine is ESTABLISHED.

    AAA remains pending on server for long time.(maybe forever?)

    I think AAA should be returned to RIO_CQ with error like using IOCP.

    Is this a bug of RIO?

    Wednesday, December 24, 2014 7:18 AM

All replies

  • I found the reason. I forgot to apply SO_UPDATE_ACCEPT_CONTEXT to the accepted socket.
    Tuesday, December 30, 2014 12:59 AM