New
v6.1.5
🐛 Bug Fixes
- Fixed a crash issue when users manually suspend coroutines in a multithreaded environment
- Fixed the issue where the
System::socket_poll()function incorrectly closed sockets after failing to add events - Fixed decompression failure in
WebSocketwhen compressing message frames, caused by certain server environments not supportingMAX_MEM_LEVEL=9 - Fixed data reception errors in
WebSocketwhen receiving consecutive compressed data frames, caused by the buffer not being cleared in time - Fixed the
data raceissue in thepdo_ocicoroutine client when processing non-PDO_PARAM_LOBdata
⭐️ Optimizations
- In
Http Server, when developers set theContent-Encodingheader,Swoolewill no longer automatically compress the response body. Instead, developers need to implement compression logic themselves and output the corresponding content.
🗑 Removals
- Removed the
PDO::sqliteCreateAggregate(), , and functions in the coroutine environment. Their implementation principle involves calling PHP functions as callbacks in the engine, which is only feasible in single-threaded synchronous blocking mode. In coroutine mode, the functions of need to run in asynchronous threads. In the version, this can cause null pointer reads, while in the version, it may lead to issues and occasional crashes.