projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* Fixed missing "parentMessage" entry in print_r($HttpMessageObject)
[m6w6/ext-http]
/
php_http_request_pool_api.h
diff --git
a/php_http_request_pool_api.h
b/php_http_request_pool_api.h
index 1ae2056cb969cd30c00d049c7a2444066168299e..79a3e4ef946111cb1ec3a7a98a0ca5f4e94b9e12 100644
(file)
--- a/
php_http_request_pool_api.h
+++ b/
php_http_request_pool_api.h
@@
-6,7
+6,7
@@
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-200
5
, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-200
6
, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
@@
-16,18
+16,15
@@
#define PHP_HTTP_REQUEST_POOL_API_H
#ifdef HTTP_HAVE_CURL
#define PHP_HTTP_REQUEST_POOL_API_H
#ifdef HTTP_HAVE_CURL
-typedef struct {
+typedef struct
_http_request_pool_t
{
CURLM *ch;
zend_llist finished;
zend_llist handles;
CURLM *ch;
zend_llist finished;
zend_llist handles;
- zend_llist bodies;
int unfinished;
} http_request_pool;
#define http_request_pool_responsehandler _http_request_pool_responsehandler
extern void _http_request_pool_responsehandler(zval **req, CURL *ch TSRMLS_DC);
int unfinished;
} http_request_pool;
#define http_request_pool_responsehandler _http_request_pool_responsehandler
extern void _http_request_pool_responsehandler(zval **req, CURL *ch TSRMLS_DC);
-#define http_request_pool_requesthandler(r, b) _http_request_pool_requesthandler((r), (b) TSRMLS_CC)
-extern STATUS _http_request_pool_requesthandler(zval *request, http_request_body *body TSRMLS_DC);
#define http_request_pool_try \
{ \
#define http_request_pool_try \
{ \