projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- raise default timeouts (were way too low for e.g. modem commections
[m6w6/ext-http]
/
php_http_message_api.h
diff --git
a/php_http_message_api.h
b/php_http_message_api.h
index d529a0a0878b01bed5b3fa8da461f7bdac1bb718..866acee54040ff923aef01a710ebc11e1a3b0448 100644
(file)
--- a/
php_http_message_api.h
+++ b/
php_http_message_api.h
@@
-35,13
+35,13
@@
struct _http_message {
union {
struct {
union {
struct {
-
float
http_version;
+
double
http_version;
char *method;
char *URI;
} request;
struct {
char *method;
char *URI;
} request;
struct {
-
float
http_version;
+
double
http_version;
int code;
} response;
int code;
} response;
@@
-77,6
+77,9
@@
PHP_HTTP_API void _http_message_serialize(http_message *message, char **string,
#define http_message_send(m) _http_message_send((m) TSRMLS_CC)
PHP_HTTP_API STATUS _http_message_send(http_message *message TSRMLS_DC);
#define http_message_send(m) _http_message_send((m) TSRMLS_CC)
PHP_HTTP_API STATUS _http_message_send(http_message *message TSRMLS_DC);
+#define http_message_dup(m) _http_message_dup((m) TSRMLS_CC)
+PHP_HTTP_API http_message *_http_message_dup(http_message *msg TSRMLS_DC);
+
#define http_message_dtor(m) _http_message_dtor((m))
PHP_HTTP_API void _http_message_dtor(http_message *message);
#define http_message_dtor(m) _http_message_dtor((m))
PHP_HTTP_API void _http_message_dtor(http_message *message);