summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Endpoint.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-11-13 10:17:27 +0100
committerBenoit Foucher <benoit@zeroc.com>2012-11-13 10:17:27 +0100
commit99b44d083eeee5583adfe642081a827224fa1309 (patch)
tree46bb3af634cbd5d90b9e5d46099f4e0e85f70ec6 /php/src/IcePHP/Endpoint.cpp
parentCosmetic updates to IceGrid Admin connection wizard (diff)
downloadice-99b44d083eeee5583adfe642081a827224fa1309.tar.bz2
ice-99b44d083eeee5583adfe642081a827224fa1309.tar.xz
ice-99b44d083eeee5583adfe642081a827224fa1309.zip
Fixed ICE-4927: fixed proxy encoding to marshal protocol/encoding version instead of encoding it in endpoints
Diffstat (limited to 'php/src/IcePHP/Endpoint.cpp')
-rw-r--r--php/src/IcePHP/Endpoint.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/php/src/IcePHP/Endpoint.cpp b/php/src/IcePHP/Endpoint.cpp
index a0f3829c010..417c7f475b6 100644
--- a/php/src/IcePHP/Endpoint.cpp
+++ b/php/src/IcePHP/Endpoint.cpp
@@ -286,10 +286,6 @@ IcePHP::endpointInit(TSRMLS_D)
ce.create_object = handleEndpointInfoAlloc;
endpointInfoClassEntry = zend_register_internal_class(&ce TSRMLS_CC);
memcpy(&_endpointInfoHandlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
- zend_declare_property_null(endpointInfoClassEntry, STRCAST("protocol"), sizeof("protocol") - 1,
- ZEND_ACC_PUBLIC TSRMLS_CC);
- zend_declare_property_null(endpointInfoClassEntry, STRCAST("encoding"), sizeof("encoding") - 1,
- ZEND_ACC_PUBLIC TSRMLS_CC);
zend_declare_property_long(endpointInfoClassEntry, STRCAST("timeout"), sizeof("timeout") - 1, 0,
ZEND_ACC_PUBLIC TSRMLS_CC);
zend_declare_property_bool(endpointInfoClassEntry, STRCAST("compress"), sizeof("compress") - 1, 0,
@@ -456,18 +452,6 @@ IcePHP::createEndpointInfo(zval* zv, const Ice::EndpointInfoPtr& p TSRMLS_DC)
add_property_long(zv, STRCAST("port"), static_cast<long>(info->port));
}
- zval* protocol;
- MAKE_STD_ZVAL(protocol);
- createProtocolVersion(protocol, p->protocol TSRMLS_CC);
- add_property_zval(zv, STRCAST("protocol"), protocol);
- zval_ptr_dtor(&protocol); // add_property_zval increased the refcount of protocol
-
- zval* encoding;
- MAKE_STD_ZVAL(encoding);
- createEncodingVersion(encoding, p->encoding TSRMLS_CC);
- add_property_zval(zv, STRCAST("encoding"), encoding);
- zval_ptr_dtor(&encoding); // add_property_zval increased the refcount of encoding
-
add_property_long(zv, STRCAST("timeout"), static_cast<long>(p->timeout));
add_property_bool(zv, STRCAST("compress"), static_cast<long>(p->compress));