swoole-src
swoole-src copied to clipboard
Can you add RST_STREAM frame to terminate stream to Swoole\Coroutine\Http2\Client?
Please answer these questions before submitting your issue. Thanks!
- What did you do? If possible, provide a simple script for reproducing the error.
I want to have buffer connections to same host. I transfer bigger data between endpoints, but at any moment, by business logic a decide terminate stream and don't want more read response. But, i don't want close main connection, so as not to interrupt other threads.
- What did you expect to see?
New method terminate()
-
What did you see instead?
-
What version of Swoole are you using (show your
php --ri swoole)?
Swoole => enabled Author => Swoole Team [email protected] Version => 4.6.1 Built => Jan 11 2021 12:30:02 coroutine => enabled with boost asm context trace_log => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled openssl => OpenSSL 1.0.2k-fips 26 Jan 2017 http2 => enabled json => enabled curl-native => enabled pcre => enabled zlib => 1.2.7 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled mysqlnd => enabled async_redis => enabled
Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608