summaryrefslogtreecommitdiffstats
path: root/src/libutil/http_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/http_private.h')
-rw-r--r--src/libutil/http_private.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libutil/http_private.h b/src/libutil/http_private.h
index a944cb31b..38fbec742 100644
--- a/src/libutil/http_private.h
+++ b/src/libutil/http_private.h
@@ -18,6 +18,7 @@
#include "http.h"
#include "str_util.h"
+#include "ref.h"
#include "../../contrib/mumhash/mum.h"
#define HASH_CASELESS
#include "uthash_strcase.h"
@@ -52,8 +53,11 @@ struct rspamd_http_message {
/* Internal storage */
union _rspamd_storage_u {
rspamd_fstring_t *normal;
- struct {
- gchar *shm_name;
+ struct _rspamd_storage_shared_s {
+ struct _rspamd_storage_shmem_s {
+ gchar *shm_name;
+ ref_entry_t ref;
+ } *name;
gint shm_fd;
} shared;
} c;