Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
0bbadc56
Commit
0bbadc56
authored
Jan 31, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtc_http2: Avoid weak symbol names for temp variables
parent
f5c7d24f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vtc_http2.c
bin/varnishtest/vtc_http2.c
+6
-6
No files found.
bin/varnishtest/vtc_http2.c
View file @
0bbadc56
...
...
@@ -1913,7 +1913,7 @@ cmd_txprio(CMD_ARGS)
static
void
cmd_txsettings
(
CMD_ARGS
)
{
struct
stream
*
s
,
*
_s
;
struct
stream
*
s
,
*
s2
;
struct
http
*
hp
;
char
*
p
;
uint32_t
val
=
0
;
...
...
@@ -1953,8 +1953,8 @@ cmd_txsettings(CMD_ARGS)
PUT_KV
(
av
,
vl
,
maxstreams
,
val
,
0x3
);
else
if
(
!
strcmp
(
*
av
,
"-winsize"
))
{
PUT_KV
(
av
,
vl
,
winsize
,
val
,
0x4
);
VTAILQ_FOREACH
(
_s
,
&
hp
->
streams
,
list
)
_s
->
win_self
+=
(
val
-
hp
->
h2_win_self
->
init
);
VTAILQ_FOREACH
(
s2
,
&
hp
->
streams
,
list
)
s2
->
win_self
+=
(
val
-
hp
->
h2_win_self
->
init
);
hp
->
h2_win_self
->
init
=
val
;
}
else
if
(
!
strcmp
(
*
av
,
"-framesize"
))
...
...
@@ -2439,7 +2439,7 @@ cmd_rxwinup(CMD_ARGS)
static
void
cmd_rxsettings
(
CMD_ARGS
)
{
struct
stream
*
s
,
*
_s
;
struct
stream
*
s
,
*
s2
;
uint32_t
val
=
0
;
struct
http
*
hp
;
struct
frame
*
f
;
...
...
@@ -2451,8 +2451,8 @@ cmd_rxsettings(CMD_ARGS)
CHKFRAME
(
f
->
type
,
TYPE_SETTINGS
,
0
,
*
av
);
if
(
!
isnan
(
f
->
md
.
settings
[
SETTINGS_INITIAL_WINDOW_SIZE
]))
{
val
=
f
->
md
.
settings
[
SETTINGS_INITIAL_WINDOW_SIZE
];
VTAILQ_FOREACH
(
_s
,
&
hp
->
streams
,
list
)
_s
->
win_peer
+=
(
val
-
hp
->
h2_win_peer
->
init
);
VTAILQ_FOREACH
(
s2
,
&
hp
->
streams
,
list
)
s2
->
win_peer
+=
(
val
-
hp
->
h2_win_peer
->
init
);
hp
->
h2_win_peer
->
init
=
val
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment