X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=5ae77b4ef3f82c99a5ff6182f0188edaeb4af33e;hp=348940b6bad82e654832dd159ade4b6f48aef538;hb=9b6cff9fb09a6a49d75439b03201f8e6c8995e22;hpb=84a00407857506ab8cfb9335cbe5f495a68e0880 diff --git a/http.c b/http.c index 348940b..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) @@ -107,9 +108,7 @@ zend_function_entry http_functions[] = { PHP_FE(http_put_file, http_arg_pass_ref_4) PHP_FE(http_put_stream, http_arg_pass_ref_4) PHP_FE(http_request, http_arg_pass_ref_5) -#ifdef HAVE_CURL_GETFORMDATA PHP_FE(http_request_body_encode, NULL) -#endif #endif PHP_FE(http_request_method_register, NULL) PHP_FE(http_request_method_unregister, NULL) @@ -190,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; }