Skip to content

Conversation

HertzDevil
Copy link
Contributor

It does not appear the use of read_timeout here was intended.

This applies to connection-oriented sockets only. Connectionless sockets like UDPSocket call Crystal::System::Socket#system_connect_connectionless instead which ignores the timeout parameter.

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. platform:windows Windows support based on the MSVC toolchain / Win32 API topic:stdlib:networking labels Sep 3, 2024
@straight-shoota straight-shoota added this to the 1.14.0 milestone Sep 3, 2024
@straight-shoota straight-shoota merged commit 24b243b into crystal-lang:master Sep 4, 2024
59 of 61 checks passed
@HertzDevil HertzDevil deleted the bug/windows-socket-connect-timeout branch September 5, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. platform:windows Windows support based on the MSVC toolchain / Win32 API topic:stdlib:networking
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants