Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Added EVHTP_FLAG_ENABLE_ALL to enable all socket flags
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFrench committed Dec 14, 2017
1 parent d890899 commit 756a7e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/evhtp/evhtp.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ struct evhtp_s {
#define EVHTP_FLAG_ENABLE_NODELAY (1 << 3)
#define EVHTP_FLAG_ENABLE_DEFER_ACCEPT (1 << 4)
#define EVHTP_FLAG_DEFAULTS EVHTP_FLAG_ENABLE_100_CONT
#define EVHTP_FLAG_ENABLE_ALL EVHTP_FLAG_ENABLE_100_CONT \
| EVHTP_FLAG_ENABLE_REUSEPORT \
| EVHTP_FLAG_ENABLE_NODELAY \
| EVHTP_FLAG_ENABLE_DEFER_ACCEPT

uint16_t flags; /**< the base flags set for this context, see: EVHTP_FLAG_* */
uint16_t parser_flags; /**< default query flags to alter 'strictness' (see EVHTP_PARSE_QUERY_FLAG_*) */

Expand Down

0 comments on commit 756a7e2

Please sign in to comment.