Swoole Src Versions Save

🚀 Coroutine-based concurrency library for PHP

v4.8.10

1 year ago

v4.8.9

2 years ago
  • Added support http_auto_index for http2 server
  • Fixed #4657
  • Fixed the stream_select hook function memory leak
  • Optimized cookies parser

v4.8.8

2 years ago
  • Reduce SW_IPC_BUFFER_MAX_SIZE to 64k
  • Respect SETTINGS_HEADER_TABLE_SIZE http2 setting (#4635)
  • Fixed #4639
  • Fixed http2 server NPN errors

v4.8.7

2 years ago
  • Added curl_share supports
  • Fixed symbol undefined on arm32 platform
  • Fixed clock_gettime() compatibility
  • Fixed issue where server sending fails with PROCESS mode when kernel lacks large block of memory

v4.8.6

2 years ago
  • Added prefix to boost/context API names
  • Optimized configure options

v4.8.5

2 years ago
  • Revert parameter type of Table
  • Fix crash when received wrong data with websocket protocol

v4.8.4

2 years ago
  • Fixed compatibility of sockets hook with PHP-8.1
  • Fixed compatibility of Table with PHP-8.1
  • Fixed bug #4519

v4.8.3

2 years ago
  • Fixed compatibility of curl native hook with PHP-8.1
  • Fixed compatibility of sockets hook with PHP-8
  • Fixed the return value error of sockets hook function
  • Added Coroutine\Socket::isClosed()
  • Fixed Http2Server sendfile cannot set content-type
  • Optimize performance of HttpServer date header

中文

  1. 修复 curl native hook 在 php8.1 版本下的兼容性问题
  2. 修复 sockets hook 在 php8 下的兼容性问题
  3. 修复 sockets hook 函数返回值错误
  4. 增加 Coroutine\Socket::isClosed() 方法
  5. 修复 Http2Server sendfile 无法设置 content-type
  6. 优化 HttpServer date header 的性能,增加了 cache

v4.8.2

2 years ago
  • Fixed memory leak of proc_open hook
  • Fixed compatibility of curl native hook with PHP-8.0 and PHP-8.1
  • Fixed connection cannot be closed normally in the Manager process
  • Fixed Manager process cannot use sendMessage
  • Fixed Coroutine\Http\Server received abnormally large POST data parsing
  • Fixed cannot exit directly when a fatal error occurs in PHP8 environment
  • Adjust coroutine max_concurrency option, only allowed to be used in Co::set()
  • Adjust Coroutine::join() to ignore non-exists coroutine

中文

  • 修复 proc_open hook 内存泄露的问题
  • 修复 curl native hook 与 PHP-8.0、PHP-8.1 的兼容性问题
  • 修复 Manager 进程中无法正常关闭连接的问题
  • 修复 Manager 进程无法使用 sendMessage 的问题
  • 修复 Coroutine\Http\Server 接收超大 POST 数据解析异常的问题
  • 修复 PHP8 环境下致命错误时进行不能直接退出的问题
  • 调整 coroutine max_concurrency 配置项,只允许在 Co::set() 中使用
  • 调整 Coroutine::join() 忽略不存在的协程

v4.8.1

2 years ago

New APIs

  • Added swoole_error_log_ex(), swoole_ignore_error() (#4440) (@matyhtf)

Enhancement

  • Migrate admin api from ext-swoole_plus to swoole-src (#4441) (@matyhtf)
  • Added get_composer_packages command for admin server (swoole/library@07763f46) (swoole/library@8805dc05) (swoole/library@175f1797) (@sy-records) (@yunbaoi)
  • Added POST method request restrictions for write operations (swoole/library@ac16927c) (@yunbaoi)
  • Supported to get the method information of the class by get_function_info (swoole/library@690a1952) (@djw1028769140) (@sy-records)
  • Optimized admin server code (swoole/library#128) (swoole/library#131) (@sy-records)
  • Supported to request multiple groups of server information for admin server (swoole/library#124) (@sy-records)
  • Supported to get interface info for admin server (swoole/library#130) (@sy-records)
  • Supported CURLOPT_HTTPPROXYTUNNEL for SWOOLE_HOOK_CURL (swoole/library#126) (@sy-records)

Fixed

  • Prohibit coroutine concurrent join (#4442) (@matyhtf)
  • Fixed init_row, don't clear lock_ and lock_pid (#4446) (@Txhua) (@matyhtf)
  • Fixed missing helper options (swoole/library#123) (@sy-records)
  • Fixed get_static_property_value command error (swoole/library#129) (@sy-records)