Skip to content

Commit 7bac3d3

Browse files
fix: Creation of dynamic property $serverLastStreamId
1 parent ce934b8 commit 7bac3d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext-src/swoole_http2_client_coro.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ void php_swoole_http2_client_coro_minit(int module_number) {
331331

332332
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("errCode"), 0, ZEND_ACC_PUBLIC);
333333
zend_declare_property_string(swoole_http2_client_coro_ce, ZEND_STRL("errMsg"), "", ZEND_ACC_PUBLIC);
334+
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("serverLastStreamId"), 0, ZEND_ACC_PUBLIC);
334335
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("sock"), -1, ZEND_ACC_PUBLIC);
335336
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("type"), 0, ZEND_ACC_PUBLIC);
336337
zend_declare_property_null(swoole_http2_client_coro_ce, ZEND_STRL("setting"), ZEND_ACC_PUBLIC);

0 commit comments

Comments
 (0)