Skip to content

(LTH-163) Call ruby_sysinit to initialize Windows sockets#298

Merged
ciprianbadescu merged 1 commit intopuppetlabs:1.5.xfrom
GabrielNagy:LTH-163/initialize-winsock
Aug 6, 2019
Merged

(LTH-163) Call ruby_sysinit to initialize Windows sockets#298
ciprianbadescu merged 1 commit intopuppetlabs:1.5.xfrom
GabrielNagy:LTH-163/initialize-winsock

Conversation

@GabrielNagy
Copy link
Contributor

Ruby >= 2.5 has changed how the Windows sockets are started (see: ruby/ruby@e33b1690), requiring a call to rb_w32_sysinit for starting them.

Not having this call causes segmentation faults when querying custom facts that use Windows Sockets with Ruby versions 2.5 and higher.

Ruby >= 2.5 has changed how the Windows sockets are started (see:
ruby/ruby@e33b1690), requiring a call to rb_w32_sysinit for starting
them.

Not having this call causes segmentation faults when querying custom
facts that use Windows Sockets with Ruby versions 2.5 and higher.
@mihaibuzgau mihaibuzgau requested a review from a team August 2, 2019 09:58
@puppetcla
Copy link

CLA signed by all contributors.

@ciprianbadescu ciprianbadescu merged commit 99aeac6 into puppetlabs:1.5.x Aug 6, 2019
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.

4 participants