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:
parent
75d93291c9
commit
111bfef33c
@ -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];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user