Skip to content

Conversation

@francisbouvier
Copy link
Member

This PR ensure that all read and write I/O are done asynchronously:

  • on the readCbk the next read is sent to the kernel before doing the actual command work (so both are concurrent)
  • on the write part the sendSync command was removed in favor of the sendAsync

@krichprollsch
Copy link
Member

The end of a connection results always with a error.FileDescriptorNotASocket error

$ ./zig-out/bin/browsercore
info(server): Listening on: 127.0.0.1:3245...
info(server): accepting new conn...
info(server): close cmd, closing conn...
info(server): accepting new conn...
error(server): Server error: error.FileDescriptorNotASocket

@francisbouvier francisbouvier merged commit 64779ac into main Nov 1, 2024
7 checks passed
@francisbouvier francisbouvier deleted the cdp_full_async branch November 1, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants