X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_std_defs.h;h=0cc40c9fb73c6acbc8eb250c6f18cbd1e6fa94e4;hb=2945591b02528824cc52b0affb44cdd64743d820;hp=489e37283ee3b2831b967c34e073766f54d9bbb9;hpb=64f9c50ce4d7f7ecc5b414b46fe44c28bf54974d;p=m6w6%2Fext-http diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 489e372..0cc40c9 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -96,12 +96,10 @@ typedef int STATUS; #define HTTP_DEFAULT_CACHECONTROL "private, must-revalidate, max-age=0" /* max URL length */ -#define HTTP_URL_MAXLEN 2048 -#define HTTP_URI_MAXLEN HTTP_URL_MAXLEN +#define HTTP_URL_MAXLEN 4096 /* def URL arg separator */ #define HTTP_URL_ARGSEP "&" -#define HTTP_URI_ARGSEP HTTP_URL_ARGSEP /* send buffer size */ #define HTTP_SENDBUF_SIZE 40960 @@ -210,7 +208,6 @@ typedef int STATUS; name## _ce = zend_register_internal_class_ex(&ce, parent, NULL TSRMLS_CC); \ name## _ce->ce_flags |= flags; \ memcpy(& name## _handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); \ - zend_hash_init(& name## _ce->constants_table, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1); \ name## _declare_default_properties(); \ }