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 http_hooks env don't support multi values; #4092

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

suzp1984
Copy link
Contributor

@suzp1984 suzp1984 commented Jun 16, 2024

  1. add on_connect & on_close directives to conf/full.conf;
  2. let http_hooks env overwrite support multi values; e.g. SRS_VHOST_HTTP_HOOKS_ON_CONNECT="http://127.0.0.1/api/connect http://localhost/api/connect"

related to #1222 (comment)
Above comments said http_hook env may not works as expected, as I found there are still has some issue in http_hooks env configuration, but this PR may not target above problem.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jun 16, 2024
1. add on_connect & on_close directives to conf/full.conf;
2. let http_hooks env overwrite support multi values;
   e.g. SRS_VHOST_HTTP_HOOKS_ON_CONNECT="http://127.0.0.1/api/connect
   http://localhost/api/connect"
@suzp1984 suzp1984 force-pushed the fix/http_hooks_env_overwriten branch from 5f6f0a9 to 5ba500c Compare June 16, 2024 14:33
@suzp1984 suzp1984 requested a review from winlinvip June 16, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants