#ifndef PHP_HTTP_REQUEST_H
#define PHP_HTTP_REQUEST_H
+#include <curl/curl.h>
+
#include "php_http_request_method.h"
#include "php_http_request_pool.h"
struct {
php_http_message_parser_t *ctx;
php_http_message_t *msg;
- php_http_buffer *buf;
+ php_http_buffer_t *buf;
} parser;
struct {
- php_http_buffer cookies;
+ php_http_buffer_t cookies;
HashTable options;
struct curl_slist *headers;
+ long redirects;
} _cache;
struct {