We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7603159 commit 23a8e0eCopy full SHA for 23a8e0e
1 file changed
src/HttpParser.h
@@ -242,8 +242,8 @@ struct HttpParser {
242
static inline bool isUnlikelyFieldNameByte(unsigned char c)
243
{
244
/* Digits and 14 of the 15 non-alphanum characters (lacking hyphen) */
245
- return (c == '~' | c == '|' | c == '`' | c == '_' | c == '^' | c == '.' | c == '+' | c == '*'
246
- | c == '\'' | c == '&' | c == '%' | c == '$' | c == '#' | c == '!') || ((c >= 48) & (c <= 57));
+ return ((c == '~') | (c == '|') | (c == '`') | (c == '_') | (c == '^') | (c == '.') | (c == '+') | (c == '*')
+ | (c == '\'') | (c == '&') | (c == '%') | (c == '$') | (c == '#') | (c == '!')) || ((c >= 48) & (c <= 57));
247
}
248
249
static inline bool isFieldNameByteFastLowercased(unsigned char &in) {
0 commit comments