projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
let the header parser fail more accurately
[m6w6/ext-http]
/
php_http_misc.h
diff --git
a/php_http_misc.h
b/php_http_misc.h
index 8e901da3c135e546ebb8f7b6bb239be6756c8a92..cf00f24ef5a71e3d3b21c1a8e0283f2c439e8b97 100644
(file)
--- a/
php_http_misc.h
+++ b/
php_http_misc.h
@@
-27,6
+27,9
@@
/* send buffer size */
#define PHP_HTTP_SENDBUF_SIZE 40960
/* send buffer size */
#define PHP_HTTP_SENDBUF_SIZE 40960
+/* allowed characters of header field names */
+#define PHP_HTTP_HEADER_NAME_CHARS "!#$%&'*+-.^_`|~1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
+
/* SLEEP */
#define PHP_HTTP_DIFFSEC (0.001)
/* SLEEP */
#define PHP_HTTP_DIFFSEC (0.001)