Cookies are packed using protocol buffers to reduce their size.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-21 16:11:05 +02:00
parent 8ba0d563f0
commit 6ca3c4761c
10 changed files with 153 additions and 90 deletions
+3 -1
View File
@@ -204,7 +204,9 @@ typedef struct worker_st {
unsigned cert_groups_size;
char hostname[MAX_HOSTNAME_SIZE];
uint8_t cookie[COOKIE_SIZE];
uint8_t *cookie;
unsigned cookie_size;
unsigned int cookie_set;
uint8_t master_secret[TLS_MASTER_SIZE];