This website works better with JavaScript.
Home
Help
Register
Sign In
lighttpd
/
lighttpd1.4
Watch
2
Star
0
Fork
0
Code
Issues
Releases
72
Wiki
Activity
Browse Source
[core] fix bug when HTTP/2 frames span chunks
fix inverted logic when HTTP/2 frames span chunkqueue chunks
master
Glenn Strauss
2 months ago
parent
f2b33e7520
commit
c42b280583
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/chunk.c
+ 1
- 1
src/chunk.c
View File
@ -794,7 +794,7 @@ void chunkqueue_compact_mem(chunkqueue *cq, size_t clen) {
chunk
*
c
=
cq
-
>
first
;
buffer
*
b
=
c
-
>
mem
;
size_t
len
=
chunk_buffer_string_length
(
b
)
-
c
-
>
offset
;
if
(
len
<
=
clen
)
return
;
if
(
len
>
=
clen
)
return
;
if
(
b
-
>
size
>
clen
)
{
if
(
chunk_buffer_string_space
(
b
)
<
clen
-
len
)
chunkqueue_compact_mem_offset
(
cq
)
;
Write
Preview
Loading…
Cancel
Save