Skip to content

Conversation

@osiris-plus
Copy link

for some reason it times out when trying to read a line from socket connection

for some reason it times out when trying to read a line from socket connection
@osiris-plus
Copy link
Author

@Cynosphere
Copy link
Member

This fix did not change anything in my testing of using both gnu-netcat and openbsd-netcat in MinGW.

nmap's ncat works fine without needing this fix.

@osiris-plus
Copy link
Author

This happens with nmap for windows.

@osiris-plus
Copy link
Author

osiris-plus commented Dec 21, 2024

Idk why there's even a zero timeout, I guess luasocket is not async? Then the correct fix would be trying to read the socket next frame if there's a timeout error (vararg 2 of read)

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.

2 participants