- rather use a list of disallowed chars
[m6w6/ext-http] / http_functions.c
index 665facf7765ad01187cb0655975c0e95435b01fa..225019dc52f26924d85e94be508e59ab51d372ad 100644 (file)
@@ -702,8 +702,8 @@ PHP_FUNCTION(http_throttle)
                return;
        }
 
-       HTTP_G(send).throttle_delay = interval;
-       HTTP_G(send).buffer_size = chunk_size;
+       HTTP_G->send.throttle_delay = interval;
+       HTTP_G->send.buffer_size = chunk_size;
 }
 /* }}} */
 
@@ -1207,6 +1207,8 @@ PHP_FUNCTION(http_match_request_header)
  *                      like array("header" => "value")
  *  - cookies:          array, list of cookies as associative array
  *                      like array("cookie" => "value")
+ *  - encodecookies:    bool, whether to urlencode the cookies (default: true)
+ *  - resetcookies:     bool, wheter to reset the cookies
  *  - cookiestore:      string, path to a file where cookies are/will be stored
  *  - resume:           int, byte offset to start the download from;
  *                      if the server supports ranges