Skip to content

Conversation

@themilchenko
Copy link
Contributor

@themilchenko themilchenko commented Oct 23, 2025

There were no way to update config on the run with method config:reload() instead of listen parameters.

This patch fixes it, all options support config reload.

Closes #216

@themilchenko themilchenko self-assigned this Oct 23, 2025
@themilchenko themilchenko force-pushed the themilchenko/gh-216-fix-update-opts-on-config-reload branch 2 times, most recently from 66ad8e7 to 3105f0a Compare October 23, 2025 09:42
@themilchenko themilchenko marked this pull request as ready for review October 23, 2025 09:42
@DerekBum
Copy link
Contributor

Maybe the target issue is #216?

@themilchenko themilchenko force-pushed the themilchenko/gh-216-fix-update-opts-on-config-reload branch from 3105f0a to 07d6404 Compare October 23, 2025 13:15
@themilchenko
Copy link
Contributor Author

Maybe the target issue is #216?

I don't know how I missed this, thank you very much!

@themilchenko themilchenko force-pushed the themilchenko/gh-216-fix-update-opts-on-config-reload branch from 07d6404 to ac601f5 Compare October 23, 2025 13:41
@themilchenko themilchenko force-pushed the themilchenko/gh-216-fix-update-opts-on-config-reload branch 2 times, most recently from 45a000c to 2668aba Compare October 24, 2025 08:34
@themilchenko themilchenko force-pushed the themilchenko/gh-216-fix-update-opts-on-config-reload branch from 2668aba to b80bec5 Compare October 24, 2025 09:25
ita-sammann and others added 5 commits October 24, 2025 12:43
Changing the address during a configuration reload resulted in incorrect
assertions, which always recreated the server.

After this patch server will recreate itself only in changing a listen
parameter.

Closes #219
Global log level settings were declared that were only used in one test,
but all tests in group were re-run because of it.

This patch fixes it and update config with its log level only for this
test.
There were no way to update config on the run with method
`config:reload()` instead of listen parameters.

This patch fixes it, all options support config reload.

Closes #216
Since Debain buster distribution has reached its end-of-life building on
it is no longer supported.
@themilchenko themilchenko force-pushed the themilchenko/gh-216-fix-update-opts-on-config-reload branch from b80bec5 to b1f18ba Compare October 24, 2025 09:47

## Fixed

- Do not recreate server if it's address and port were not changed (#219).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Do not recreate server if it's address and port were not changed (#219).
- Do not recreate server if it's address and port were not changed (#216).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a new issue on this problem

@sergos sergos merged commit 91a14b8 into master Oct 24, 2025
64 checks passed
@sergos sergos deleted the themilchenko/gh-216-fix-update-opts-on-config-reload branch October 24, 2025 11:27
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.

Support not uri options for config reload on the run

6 participants