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

feat(server): admin port and interface #709

Merged
merged 2 commits into from
Jan 19, 2023

Conversation

boazsade
Copy link
Contributor

@boazsade boazsade commented Jan 19, 2023

Signed-off-by: Boaz Sade [email protected]

Fix issue #668
This will:

  • change the flag http_admin_console --> primary_port_http_enabled.
  • Add flag admin_port that when set, enable connecting with HTTP/RESP to this port.
  • Add flag admin_bind that when set (together with admin_port), enable connection with HTTP/RESP on this address/port.
  • By default these two new flags are disabled.
  • Note that if the connection is from admin port while admin port is enabled, it will allow HTTP connection to this port/address only. Trying to connect to the console from the "normal" port will not for HTTP connection

src/server/dfly_main.cc Outdated Show resolved Hide resolved
@boazsade boazsade force-pushed the admin-panel-diff-ports branch from f184589 to 69ac390 Compare January 19, 2023 15:17
romange
romange previously approved these changes Jan 19, 2023
@boazsade boazsade requested a review from romange January 19, 2023 16:55
@romange romange merged commit 49e53d5 into dragonflydb:main Jan 19, 2023
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