raiden00pl opened a new pull request, #22049:
URL: https://github.com/apache/nuttx/pull/22049

     ## Summary
     
     A RST reply to a connection request means that no socket listens on the
     destination port, but connect() failed with ECONNRESET.
     
     POSIX connect(): "[ECONNREFUSED] The target address was not listening for
     connections or refused the connection request."
     
     ## Impact
     
     vsock connect() to a port with no listener now fails with ECONNREFUSED
     instead of ECONNRESET. Nothing else changes.
     
     ## Testing
     
     qemu-armv8a with vhost-vsock-device: connect() from NuttX to a host port
     with no listener fails with ECONNREFUSED (before: ECONNRESET); stream
     echo, flow control, EOF and host-side refused connect still pass.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] net/vsock: Fail connect(... raiden00pl (via GitHub) via commits

Reply via email to