X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=98463a0027160a3afc039d10c4653d92bd21f874;hp=bf376ac479b46b3a7d54cdf267b1801a9cd47581;hb=6be753a288ed7a42e0cd19551d85eb8eb14c4566;hpb=a0098fdbfef71be0fab417b5bc624dc884bd4549 diff --git a/http_functions.c b/http_functions.c index bf376ac..98463a0 100644 --- a/http_functions.c +++ b/http_functions.c @@ -513,7 +513,7 @@ PHP_FUNCTION(ob_etaghandler) } /* }}} */ -/* {{{ proto void http_throttle(double sec[, int bytes = 2097152]) +/* {{{ proto void http_throttle(double sec[, int bytes = 40960]) * * Sets the throttle delay and send buffer size for use with http_send() API. * Provides a basic throttling mechanism, which will yield the current process @@ -956,7 +956,7 @@ PHP_FUNCTION(http_match_request_header) * - compress: bool, whether to allow gzip/deflate content encoding * (defaults to true) * - port: int, use another port as specified in the url - * - referer: string, the referer to sends + * - referer: string, the referer to send * - useragent: string, the user agent to send * (defaults to PECL::HTTP/version (PHP/version))) * - headers: array, list of custom headers as associative array @@ -1602,7 +1602,7 @@ PHP_FUNCTION(http_uncompress) * * Accpepts an optional in parameter specifying which feature to probe for. * If the parameter is 0 or omitted, the return value contains a bitmask of - * all supported featuers that depend on external libraries. + * all supported features that depend on external libraries. * * Available features to probe for are: *