core: bind to all addresses#11389
Merged
sergepetrenko merged 3 commits intotarantool:masterfrom Jun 27, 2025
Merged
Conversation
a4160e9 to
f47df85
Compare
f47df85 to
f0ecce4
Compare
1a15c8d to
9d002da
Compare
a20be6c to
a2457c8
Compare
3d1e0e4 to
a1c41f8
Compare
a1c41f8 to
9510fb3
Compare
9510fb3 to
0d054c4
Compare
locker
approved these changes
Jun 20, 2025
locker
reviewed
Jun 20, 2025
nshy
requested changes
Jun 20, 2025
97d075f to
630caa2
Compare
nshy
approved these changes
Jun 23, 2025
Fix the indentation in the `struct evio_service` so now any changes there can meet the checkpatch requirements. Part of tarantool#7152 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Refactor the `struct evio_service` so it contains an rlist of entries which doesn't need to have some fixed size after the creation. The main reason for the change is that we don't know the number of bounded entries for each uri on service creation once tarantool#7152 being fixed. Part of tarantool#7152 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Bind all addresses returned by `getaddrinfo` except for duplicates caused by glibc behavior which is the case on the CI machine and may be the result of multiple `localhost` entries in `/etc/hosts`. Also bind all ipv6 results with the `IPV6_V6ONLY` option so it is possible to listen ipv4 and ipv6 services on a single port number. Fixes tarantool#7152 @TarantoolBot document Title: bind all URIs matching the `listen` box configuration parameters.
630caa2 to
21795e0
Compare
nshy
approved these changes
Jun 25, 2025
Collaborator
|
Successfully created backport PR for |
Collaborator
|
Successfully created backport PR for |
Collaborator
|
Successfully created backport PR for |
Collaborator
Backport summary
|
Collaborator
|
/backport 2.11 |
Collaborator
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release/2.11
git worktree add -d .worktree/backport/release/2.11/11389 origin/release/2.11
cd .worktree/backport/release/2.11/11389
git switch --create backport/release/2.11/11389
git cherry-pick -x aba83a42fc7364e5ab1ee0389f4e3770ddd75e29 2cf6d3f95b7db41389b3061e6335f25e42f36b48 4c8463cc498d53b2de549be461fce7c06bd75760 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bind all addresses returned by
getaddrinfoexcept for duplicatescaused by glibc behavior which is the case on the CI machine and may be
the result of multiple
localhostentries in/etc/hosts. Also bindall ipv6 results with the
IPV6_V6ONLYoption so it is possible tolisten ipv4 and ipv6 services on a single port number.
Fixes #7152
NO_DOC=bugfix