diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-02-21 21:55:00 +0000 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-02-21 21:55:00 +0000 |
commit | fc134965c878fc16d40f8004e0d8ec33565affcd (patch) | |
tree | e4f0f98da62134ba28a3df7400ed7a277bdbbf3b /main/streams/php_stream_context.h | |
parent | 37272e46def5673492ed926e9631a4e01568e42e (diff) | |
download | php-git-fc134965c878fc16d40f8004e0d8ec33565affcd.tar.gz |
- Revert r134029. The streams pooling API was never used in more
than 8 years and therefore unnecessarily adds complexity.
Diffstat (limited to 'main/streams/php_stream_context.h')
-rw-r--r-- | main/streams/php_stream_context.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/main/streams/php_stream_context.h b/main/streams/php_stream_context.h index 5767b74d26..19acb08441 100644 --- a/main/streams/php_stream_context.h +++ b/main/streams/php_stream_context.h @@ -53,7 +53,6 @@ struct _php_stream_notifier { struct _php_stream_context { php_stream_notifier *notifier; zval *options; /* hash keyed by wrapper family or specific wrapper */ - zval *links; /* hash keyed by hostent for connection pooling */ int rsrc_id; /* used for auto-cleanup */ }; @@ -65,13 +64,6 @@ PHPAPI int php_stream_context_get_option(php_stream_context *context, PHPAPI int php_stream_context_set_option(php_stream_context *context, const char *wrappername, const char *optionname, zval *optionvalue); -PHPAPI int php_stream_context_get_link(php_stream_context *context, - const char *hostent, php_stream **stream); -PHPAPI int php_stream_context_set_link(php_stream_context *context, - const char *hostent, php_stream *stream); -PHPAPI int php_stream_context_del_link(php_stream_context *context, - php_stream *stream); - PHPAPI php_stream_notifier *php_stream_notification_alloc(void); PHPAPI void php_stream_notification_free(php_stream_notifier *notifier); END_EXTERN_C() |