版本: Swoole-v4.3.5
直接报
A bug occurred in Swoole-v4.3.5, please report it.
The Swoole developers probably don't know about it,
and unless you report it, chances are it won't be fixed.
You can read How to report a bug doc before submitting any bug reports:
>> https://github.com/swoole/swoole-src/issues/2000
Please do not send bug reports in the mailing list or personal letters.
The issue page is also suitable to submit feature requests.
跟踪到"swoole_server.cc" 3996行
add_assoc_stringl(return_value, "ssl_client_cert", conn->ssl_client_cert.str, conn->ssl_client_cert.length - 1);
只要调用conn->ssl_client_cert.str就出错, 直接memcpy也不行.
求指点, 在线等!!
这是个bug:
查看github issues