1
0
mirror of http://git.haproxy.org/git/haproxy.git/ synced 2025-03-25 04:17:42 +00:00

MEDIUM: shctx: use unsigned int for len and block_count

Allows bigger objects to be cached in the shctx, the first
implementation was only storing small ssl session, but we want to store
bigger HTTP response.
This commit is contained in:
William Lallemand 2017-11-21 20:01:25 +01:00 committed by Willy Tarreau
parent 75d93291c9
commit 111bfef33c

View File

@ -21,8 +21,8 @@
/* generic shctx struct */
struct shared_block {
struct list list;
short int len; /* data length for the row */
short int block_count; /* number of blocks */
unsigned int len; /* data length for the row */
unsigned int block_count; /* number of blocks */
unsigned int refcount;
unsigned char data[0];
};