1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine config directive token parsing. v6.0.135 (#4042)

make sure one directive token don't span more than two lines.

try to fix #2228

---------

Co-authored-by: winlin <winlinvip@gmail.com>
This commit is contained in:
Jacob Su 2024-07-08 18:19:25 +08:00 committed by GitHub
parent 6bbd461ec9
commit baf22d01c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 175 additions and 36 deletions

View file

@ -2,7 +2,7 @@
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/drm
# @see full.conf for detail config.
listen 1935
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;

View file

@ -2687,7 +2687,7 @@ vhost stream.transcode.srs.com {
#
# @see https://github.com/ossrs/srs/issues/1399
#############################################################################################
include include.vhost.conf;
include ./conf/include.vhost.conf;
#############################################################################################
# The origin cluster section

View file

@ -1,7 +1,7 @@
# the config for srs http heartbeat, report its info to api-server
# @see full.conf for detail config.
listen 1935
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;