Skip to content

Fix return value for connect() with unix and tcp sockets#3191

Merged
stevenengler merged 1 commit intoshadow:mainfrom
stevenengler:new-tcp
Sep 28, 2023
Merged

Fix return value for connect() with unix and tcp sockets#3191
stevenengler merged 1 commit intoshadow:mainfrom
stevenengler:new-tcp

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

These sockets were returning the wrong value when connect() was called on a listening socket. The C TCP sockets were panicking due to a failed assert.

@stevenengler stevenengler self-assigned this Sep 28, 2023
@github-actions github-actions bot added Component: Libraries Support functions like LD_PRELOAD and logging Component: Testing Unit and integration tests and frameworks Component: Main Composing the core Shadow executable labels Sep 28, 2023
@stevenengler stevenengler changed the title Fixe return value for connect() with unix and tcp sockets Fix return value for connect() with unix and tcp sockets Sep 28, 2023
These sockets were returning the wrong value when connect() was called on a
listening socket. The C TCP sockets were panicking due to a failed assert.
@stevenengler stevenengler merged commit 036acd4 into shadow:main Sep 28, 2023
@stevenengler stevenengler deleted the new-tcp branch September 28, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Libraries Support functions like LD_PRELOAD and logging Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants