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
11aa2c98
Commit
11aa2c98
authored
Apr 09, 2024
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flexelinting
parent
2f4a9c8d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
cache_http2_hpack.c
bin/varnishd/http2/cache_http2_hpack.c
+3
-2
cache_http2_panic.c
bin/varnishd/http2/cache_http2_panic.c
+1
-1
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+1
-1
vdef.h
include/vdef.h
+1
-1
No files found.
bin/varnishd/http2/cache_http2_hpack.c
View file @
11aa2c98
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include "vct.h"
#include "vct.h"
static
void
static
void
h2h_assert_ready
(
struct
h2h_decode
*
d
)
h2h_assert_ready
(
const
struct
h2h_decode
*
d
)
{
{
CHECK_OBJ_NOTNULL
(
d
,
H2H_DECODE_MAGIC
);
CHECK_OBJ_NOTNULL
(
d
,
H2H_DECODE_MAGIC
);
...
@@ -280,7 +280,8 @@ h2h_decode_init(const struct h2_sess *h2)
...
@@ -280,7 +280,8 @@ h2h_decode_init(const struct h2_sess *h2)
d
->
reset
=
d
->
out
;
d
->
reset
=
d
->
out
;
if
(
cache_param
->
h2_max_header_list_size
==
0
)
if
(
cache_param
->
h2_max_header_list_size
==
0
)
d
->
limit
=
h2
->
local_settings
.
max_header_list_size
*
1
.
5
;
d
->
limit
=
(
long
)(
h2
->
local_settings
.
max_header_list_size
*
1
.
5
);
else
else
d
->
limit
=
cache_param
->
h2_max_header_list_size
;
d
->
limit
=
cache_param
->
h2_max_header_list_size
;
...
...
bin/varnishd/http2/cache_http2_panic.c
View file @
11aa2c98
...
@@ -79,7 +79,7 @@ h2_sess_panic(struct vsb *vsb, const struct sess *sp)
...
@@ -79,7 +79,7 @@ h2_sess_panic(struct vsb *vsb, const struct sess *sp)
VSB_printf
(
vsb
,
"refcnt = %d, bogosity = %d, error = %s
\n
"
,
VSB_printf
(
vsb
,
"refcnt = %d, bogosity = %d, error = %s
\n
"
,
h2
->
refcnt
,
h2
->
bogosity
,
h2_panic_error
(
h2
->
error
));
h2
->
refcnt
,
h2
->
bogosity
,
h2_panic_error
(
h2
->
error
));
VSB_printf
(
vsb
,
VSB_printf
(
vsb
,
"open_streams = %
u
, highest_stream = %u,"
"open_streams = %
d
, highest_stream = %u,"
" goaway_last_stream = %u,
\n
"
,
" goaway_last_stream = %u,
\n
"
,
h2
->
open_streams
,
h2
->
highest_stream
,
h2
->
goaway_last_stream
);
h2
->
open_streams
,
h2
->
highest_stream
,
h2
->
goaway_last_stream
);
VSB_cat
(
vsb
,
"local_settings = {"
);
VSB_cat
(
vsb
,
"local_settings = {"
);
...
...
bin/varnishd/http2/cache_http2_proto.c
View file @
11aa2c98
...
@@ -732,7 +732,7 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
...
@@ -732,7 +732,7 @@ h2_rx_headers(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
* increase under our feet.
* increase under our feet.
*/
*/
if
(
h2
->
open_streams
>=
if
(
h2
->
open_streams
>=
h2
->
local_settings
.
max_concurrent_streams
)
{
(
int
)
h2
->
local_settings
.
max_concurrent_streams
)
{
VSLb
(
h2
->
vsl
,
SLT_Debug
,
VSLb
(
h2
->
vsl
,
SLT_Debug
,
"H2: stream %u: Hit maximum number of "
"H2: stream %u: Hit maximum number of "
"concurrent streams"
,
h2
->
rxf_stream
);
"concurrent streams"
,
h2
->
rxf_stream
);
...
...
include/vdef.h
View file @
11aa2c98
...
@@ -263,7 +263,7 @@ typedef struct {
...
@@ -263,7 +263,7 @@ typedef struct {
#define Tcheck(t) do { (void)pdiff((t).b, (t).e); } while (0)
#define Tcheck(t) do { (void)pdiff((t).b, (t).e); } while (0)
#define Tlen(t) (pdiff((t).b, (t).e))
#define Tlen(t) (pdiff((t).b, (t).e))
#define Tstr(s) ((txt){(s), (s) + strlen(s)})
#define Tstr(s) (
/*lint -e(446)*/
(txt){(s), (s) + strlen(s)})
#define Tstrcmp(t, s) (strncmp((t).b, (s), Tlen(t)))
#define Tstrcmp(t, s) (strncmp((t).b, (s), Tlen(t)))
/* #3020 dummy definitions until PR is merged*/
/* #3020 dummy definitions until PR is merged*/
...
...
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