X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=5ae77b4ef3f82c99a5ff6182f0188edaeb4af33e;hp=874528ed0221d96c0429655de979a23daea2d3e9;hb=c5daa65dcad8fd0a916038c7567f610ea34c6315;hpb=c8dff7011092296f9fcc12e68ad8eef18b19cdf4 diff --git a/http.c b/http.c index 874528e..5ae77b4 100644 --- a/http.c +++ b/http.c @@ -93,6 +93,7 @@ zend_function_entry http_functions[] = { PHP_FE(http_parse_message, NULL) PHP_FE(http_parse_headers, NULL) PHP_FE(http_parse_cookie, NULL) + PHP_FE(http_build_cookie, NULL) PHP_FE(http_parse_params, NULL) PHP_FE(http_get_request_headers, NULL) PHP_FE(http_get_request_body, NULL) @@ -188,7 +189,7 @@ static inline void _http_globals_init(zend_http_globals *G TSRMLS_DC) #else G->request.time = time(NULL); #endif - G->send.buffer_size = HTTP_SENDBUF_SIZE; + G->send.buffer_size = 0; G->send.not_found_404 = 1; G->read_post_data = 0; }