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 parsing of inet[/127.0.0.1:9200] #49

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

robbat2
Copy link
Contributor

@robbat2 robbat2 commented Mar 22, 2023

Detected while upgrading application from elasticsearch-transport-1.0.6 to elastic-transport-8

Signed-off-by: Robin H. Johnson [email protected]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: elastic#48
Signed-off-by: Robin H. Johnson <[email protected]>
@cla-checker-service
Copy link

cla-checker-service bot commented Mar 22, 2023

💚 CLA has been signed

@robbat2

This comment was marked as outdated.

@picandocodigo picandocodigo merged commit 44c4d0e into elastic:main Mar 23, 2023
@picandocodigo
Copy link
Member

Thank you very much for this fix @robbat2!

picandocodigo pushed a commit that referenced this pull request Jul 4, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 4, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 4, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 5, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 5, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 5, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 5, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
picandocodigo pushed a commit that referenced this pull request Jul 5, 2023
* sniffer: fix parsing of inet[hostname/ip:port]

Prior to commit 53f37cb,
publish_address of the format `inet[hostname/ip:port]` worked correctly.

When the sniffer code was refactored, this format broke, and is an easy
fix to restore.

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

* sniffer: fix empty hostname like inet[/127.0.0.1:9200]

Fixes: #48
Signed-off-by: Robin H. Johnson <[email protected]>

---------

Signed-off-by: Robin H. Johnson <[email protected]>
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