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

fix(ci): require correct socket module #13026

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

samugi
Copy link
Member

@samugi samugi commented May 13, 2024

Summary

require 'socket.unix' was causing a different socket module to be loaded

If 'socket.unix' was loaded before the socket module, it resulted in a different socket implementation to be used, which resulted in failures when trying to access nil fields of the socket object.

Checklist

  • (no) The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • (no) There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

KAG-4472

require 'socket.unix' was causing a different socket module to be loaded

If 'socket.unix' was loaded before the `socket` module, it resulted
in a different socket implementation to be used, which resulted in
failures when trying to access nil fields of the socket object.

More info: https://konghq.atlassian.net/browse/KAG-4472
@github-actions github-actions bot added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label May 13, 2024
@bungle bungle merged commit a212d89 into master May 14, 2024
34 checks passed
@bungle bungle deleted the fix/ci-require-correct-socket branch May 14, 2024 05:56
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

locao pushed a commit that referenced this pull request Jun 21, 2024
require 'socket.unix' was causing a different socket module to be loaded

If 'socket.unix' was loaded before the `socket` module, it resulted
in a different socket implementation to be used, which resulted in
failures when trying to access nil fields of the socket object.

More info: https://konghq.atlassian.net/browse/KAG-4472

(cherry picked from commit a212d89)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee size/XS skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants