mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-07 17:33:02 +01:00
* iobuf.c (block_filter): Properly handle a partial body stream that ends
with a 5-byte length.
This commit is contained in:
parent
986db050c4
commit
e872c35cfa
@ -1,3 +1,8 @@
|
|||||||
|
2003-12-24 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* iobuf.c (block_filter): Properly handle a partial body stream
|
||||||
|
that ends with a 5-byte length.
|
||||||
|
|
||||||
2003-12-05 David Shaw <dshaw@jabberwocky.com>
|
2003-12-05 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* http.c (send_request): Add a Host: header for virtual hosts.
|
* http.c (send_request): Add a Host: header for virtual hosts.
|
||||||
|
@ -665,6 +665,7 @@ block_filter(void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
a->size |= c;
|
a->size |= c;
|
||||||
|
a->partial = 2;
|
||||||
}
|
}
|
||||||
else { /* next partial body length */
|
else { /* next partial body length */
|
||||||
a->size = 1 << (c & 0x1f);
|
a->size = 1 << (c & 0x1f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user