You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
What is your machine environment used (show your uname -a & php -v & gcc -v) ?
6bcd0d6d19c6:/home/bingcool/wwwroot/workerfy/tests#uname -a
Linux 6bcd0d6d19c6 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 Linux
6bcd0d6d19c6:/home/bingcool/wwwroot/workerfy/tests#php -v
PHP 7.3.19 (cli) (built: Jun 12 2020 12:27:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.19, Copyright (c) 1999-2018, by Zend Technologies
The text was updated successfully, but these errors were encountered:
bingcool
changed the title
when set 'hook_flags' => SWOOLE_HOOK_ALL | SWOOLE_HOOK_CURL, \GuzzleHttp\Client->request() will auto var dump response content on the terminal
when set 'hook_flags' => SWOOLE_HOOK_ALL | SWOOLE_HOOK_CURL, \GuzzleHttp\Client->request() will auto echo response content on the terminal
Nov 2, 2020
As of v4.5.4, SWOOLE_HOOK_ALL includes SWOOLE_HOOK_CURL, So you don't need SWOOLE_HOOK_ALL | SWOOLE_HOOK_CURL.
There is a problem with Guzzle, so you need to disable SWOOLE_HOOK_CURL, set SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_CURL, then use a handler that supports coroutine, or use yurunsoft/guzzle-swoole
Please answer these questions before submitting your issue. Thanks!
Dot need auto echo response on the terminal
this will uto echo response on the terminal
php --ri swoole
)?6bcd0d6d19c6:/home/bingcool/wwwroot/workerfy/tests#php --ri swoole
swoole
Swoole => enabled
Author => Swoole Team team@swoole.com
Version => 4.5.5
Built => Oct 31 2020 19:36:01
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
pcre => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => 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
uname -a
&php -v
&gcc -v
) ?6bcd0d6d19c6:/home/bingcool/wwwroot/workerfy/tests#uname -a
Linux 6bcd0d6d19c6 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 Linux
6bcd0d6d19c6:/home/bingcool/wwwroot/workerfy/tests#php -v
PHP 7.3.19 (cli) (built: Jun 12 2020 12:27:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.19, Copyright (c) 1999-2018, by Zend Technologies
6bcd0d6d19c6:/home/bingcool/wwwroot/workerfy/tests#gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-musl/9.3.0/lto-wrapper
Target: x86_64-alpine-linux-musl
Configured with: /home/buildozer/aports/main/gcc/src/gcc-9.3.0/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --target=x86_64-alpine-linux-musl --with-pkgversion='Alpine 9.3.0' --enable-checking=release --disable-fixed-point --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers --enable-__cxa_atexit --enable-default-pie --enable-default-ssp --enable-cloog-backend --enable-languages=c,c++,d,objc,fortran,ada --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --enable-shared --enable-threads --enable-tls --with-system-zlib --with-linker-hash-style=gnu
Thread model: posix
gcc version 9.3.0 (Alpine 9.3.0)
The text was updated successfully, but these errors were encountered: