Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Fork
libwebsockets
Commits
09f59ba3
This project is archived. Its data is
read-only
.
Commit
09f59ba3
authored
Oct 29, 2017
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
lwjp-conf: quieten init logging
parent
1f37ec0b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/context.c
+6
-6
6 additions, 6 deletions
lib/context.c
lib/server/lejp-conf.c
+1
-1
1 addition, 1 deletion
lib/server/lejp-conf.c
with
7 additions
and
7 deletions
lib/context.c
+
6
−
6
View file @
09f59ba3
...
@@ -233,7 +233,7 @@ lws_protocol_init(struct lws_context *context)
...
@@ -233,7 +233,7 @@ lws_protocol_init(struct lws_context *context)
pvo
=
pvo1
->
options
;
pvo
=
pvo1
->
options
;
while
(
pvo
)
{
while
(
pvo
)
{
lwsl_
notice
(
lwsl_
debug
(
" vhost
\"
%s
\"
, "
" vhost
\"
%s
\"
, "
"protocol
\"
%s
\"
, "
"protocol
\"
%s
\"
, "
"option
\"
%s
\"\n
"
,
"option
\"
%s
\"\n
"
,
...
@@ -242,14 +242,14 @@ lws_protocol_init(struct lws_context *context)
...
@@ -242,14 +242,14 @@ lws_protocol_init(struct lws_context *context)
pvo
->
name
);
pvo
->
name
);
if
(
!
strcmp
(
pvo
->
name
,
"default"
))
{
if
(
!
strcmp
(
pvo
->
name
,
"default"
))
{
lwsl_
notice
(
"Setting default "
lwsl_
info
(
"Setting default "
"protocol for vh %s to %s
\n
"
,
"protocol for vh %s to %s
\n
"
,
vh
->
name
,
vh
->
name
,
vh
->
protocols
[
n
].
name
);
vh
->
protocols
[
n
].
name
);
vh
->
default_protocol_index
=
n
;
vh
->
default_protocol_index
=
n
;
}
}
if
(
!
strcmp
(
pvo
->
name
,
"raw"
))
{
if
(
!
strcmp
(
pvo
->
name
,
"raw"
))
{
lwsl_
notice
(
"Setting raw "
lwsl_
info
(
"Setting raw "
"protocol for vh %s to %s
\n
"
,
"protocol for vh %s to %s
\n
"
,
vh
->
name
,
vh
->
name
,
vh
->
protocols
[
n
].
name
);
vh
->
protocols
[
n
].
name
);
...
@@ -687,7 +687,7 @@ lws_create_vhost(struct lws_context *context,
...
@@ -687,7 +687,7 @@ lws_create_vhost(struct lws_context *context,
mounts
=
info
->
mounts
;
mounts
=
info
->
mounts
;
while
(
mounts
)
{
while
(
mounts
)
{
(
void
)
mount_protocols
[
0
];
(
void
)
mount_protocols
[
0
];
lwsl_
notice
(
" mounting %s%s to %s
\n
"
,
lwsl_
info
(
" mounting %s%s to %s
\n
"
,
mount_protocols
[
mounts
->
origin_protocol
],
mount_protocols
[
mounts
->
origin_protocol
],
mounts
->
origin
,
mounts
->
mountpoint
);
mounts
->
origin
,
mounts
->
mountpoint
);
...
...
...
...
This diff is collapsed.
Click to expand it.
lib/server/lejp-conf.c
+
1
−
1
View file @
09f59ba3
...
@@ -380,7 +380,7 @@ lejp_vhosts_cb(struct lejp_ctx *ctx, char reason)
...
@@ -380,7 +380,7 @@ lejp_vhosts_cb(struct lejp_ctx *ctx, char reason)
a
->
pvo
->
next
=
a
->
info
->
pvo
;
a
->
pvo
->
next
=
a
->
info
->
pvo
;
a
->
info
->
pvo
=
a
->
pvo
;
a
->
info
->
pvo
=
a
->
pvo
;
a
->
pvo
->
name
=
a
->
p
;
a
->
pvo
->
name
=
a
->
p
;
lwsl_
notice
(
" adding protocol %s
\n
"
,
a
->
p
);
lwsl_
info
(
" adding protocol %s
\n
"
,
a
->
p
);
a
->
p
+=
n
;
a
->
p
+=
n
;
a
->
pvo
->
value
=
a
->
p
;
a
->
pvo
->
value
=
a
->
p
;
a
->
pvo
->
options
=
NULL
;
a
->
pvo
->
options
=
NULL
;
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment