X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_std_defs.h;h=4b5f44d7b149143a7b8125ee654067afd9f465da;hp=489e37283ee3b2831b967c34e073766f54d9bbb9;hb=05c863a6faa9a3ddd83ac1bdf62edbfc7a6ccf4f;hpb=64f9c50ce4d7f7ecc5b414b46fe44c28bf54974d diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 489e372..4b5f44d 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -96,7 +96,7 @@ typedef int STATUS; #define HTTP_DEFAULT_CACHECONTROL "private, must-revalidate, max-age=0" /* max URL length */ -#define HTTP_URL_MAXLEN 2048 +#define HTTP_URL_MAXLEN 4096 #define HTTP_URI_MAXLEN HTTP_URL_MAXLEN /* def URL arg separator */ @@ -210,7 +210,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(); \ }