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
45de3ad2
Commit
45de3ad2
authored
Sep 07, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VSL the frame before holding the mtx
parent
88f326a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+2
-2
No files found.
bin/varnishd/http2/cache_http2_proto.c
View file @
45de3ad2
...
...
@@ -513,6 +513,8 @@ h2_rxframe(struct worker *wrk, struct h2_sess *h2)
/* XXX: later full DATA will not be rx'ed yet. */
HTC_RxPipeline
(
h2
->
htc
,
h2
->
htc
->
rxbuf_b
+
h2
->
rxf_len
+
9
);
h2_vsl_frame
(
h2
,
h2
->
htc
->
rxbuf_b
,
9L
+
h2
->
rxf_len
);
Lck_Lock
(
&
h2
->
sess
->
mtx
);
VTAILQ_FOREACH
(
r2
,
&
h2
->
streams
,
list
)
if
(
r2
->
stream
==
h2
->
rxf_stream
)
...
...
@@ -523,8 +525,6 @@ h2_rxframe(struct worker *wrk, struct h2_sess *h2)
r2
=
h2_new_req
(
wrk
,
h2
,
h2
->
rxf_stream
,
NULL
);
}
h2_vsl_frame
(
h2
,
h2
->
htc
->
rxbuf_b
,
9L
+
h2
->
rxf_len
);
ft
=
(
enum
h2frame
)
h2
->
htc
->
rxbuf_b
[
3
];
switch
(
ft
)
{
#define H2_FRAME(l,u,t,f) \
...
...
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