Honour client's MTU choice.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-07 18:19:10 +01:00
parent 2478c519b2
commit 534ddfbfcc
3 changed files with 23 additions and 0 deletions
+4
View File
@@ -30,6 +30,8 @@ enum {
HEADER_COOKIE = 1,
HEADER_MASTER_SECRET,
HEADER_HOSTNAME,
HEADER_CSTP_MTU,
HEADER_DTLS_MTU,
};
typedef struct worker_st {
@@ -87,6 +89,8 @@ struct req_data_st {
char *body;
unsigned int headers_complete;
unsigned int message_complete;
unsigned dtls_mtu;
unsigned cstp_mtu;
};
void __attribute__ ((format(printf, 3, 4)))