Skip to content

Commit 931f811

Browse files
guandeng10951
and
10951
authored
Fix bug #5382 (#5383)
Co-authored-by: 10951 <[email protected]>
1 parent ce934b8 commit 931f811

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
@@ -349,6 +349,7 @@ void php_swoole_http2_client_coro_minit(int module_number) {
349349
zend_declare_property_bool(swoole_http2_request_ce, ZEND_STRL("usePipelineRead"), 0, ZEND_ACC_PUBLIC);
350350

351351
zend_declare_property_long(swoole_http2_response_ce, ZEND_STRL("streamId"), 0, ZEND_ACC_PUBLIC);
352+
zend_declare_property_long(swoole_http2_response_ce, ZEND_STRL("serverLastStreamId"), 0, ZEND_ACC_PUBLIC);
352353
zend_declare_property_long(swoole_http2_response_ce, ZEND_STRL("errCode"), 0, ZEND_ACC_PUBLIC);
353354
zend_declare_property_long(swoole_http2_response_ce, ZEND_STRL("statusCode"), 0, ZEND_ACC_PUBLIC);
354355
zend_declare_property_bool(swoole_http2_response_ce, ZEND_STRL("pipeline"), 0, ZEND_ACC_PUBLIC);

0 commit comments

Comments
 (0)