Skip to content

Commit

Permalink
Set UHTTPD_MAX_HEADER_NUM to 50
Browse files Browse the repository at this point in the history
Signed-off-by: zhaojh329 <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Sep 6, 2020
1 parent 30729cf commit e02e9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "config.h"

#define UHTTPD_CONNECTION_TIMEOUT 30.0
#define UHTTPD_MAX_HEADER_NUM 20
#define UHTTPD_MAX_HEADER_NUM 50

#define CONN_F_SEND_AND_CLOSE (1 << 0) /* Push remaining data and close */
#define CONN_F_SSL_HANDSHAKE_DONE (1 << 1) /* SSL hanshake has completed */
Expand Down

0 comments on commit e02e9b0

Please sign in to comment.