Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffered connection #8

Closed
bung87 opened this issue Oct 25, 2020 · 1 comment
Closed

buffered connection #8

bung87 opened this issue Oct 25, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@bung87
Copy link
Owner

bung87 commented Oct 25, 2020

in buffered branch I change protocol.receivePacket body's socket.recv to socket.recvInto with flags = {}

during handshake phrase , sent auth data to server, tcpdump shows it actually sent, when I receive server response I got
Connection reset by peer

@bung87 bung87 added the help wanted Extra attention is needed label Oct 25, 2020
@bung87
Copy link
Owner Author

bung87 commented Oct 28, 2020

I shouldn't recvInto more than expected size data otherwise server will disconnect

@bung87 bung87 closed this as completed Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant