Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Top Level :: Event :: swoole :: 6.3.0RC2

swoole 6.3.0RC2

Package Information
Summary Event-driven asynchronous and concurrent networking engine with high performance for PHP.
Maintainers Han Tianfeng < rango at swoole dot com > (lead) [details]
Bruce Dou < doubaokun at php dot net > (developer) [details]
Lufei < lufei at php dot net > (developer) [details]
License Apache2.0
Description Event-driven asynchronous and concurrent networking engine with high performance for PHP.
- event-driven
- coroutine
- asynchronous non-blocking
- multi-thread reactor
- multi-process worker
- multi-protocol
- millisecond timer
- built-in tcp/http/websocket/http2 server
- coroutine tcp/http/websocket client
- coroutine read/write file system
- coroutine dns lookup
- support IPv4/IPv6/UnixSocket/TCP/UDP
- support SSL/TLS encrypted transmission
Homepage https://github.com/swoole/swoole-src
Release notes
Version 6.3.0RC2
(alpha)
- Support for the HTTP QUERY method.
- The coroutine HTTP server can send 100 Continue.
- Runtime hooks for socket-based standard streams STDIN/STDOUT/STDERR.
- Coroutine preemption enabled in threaded builds.
- Coroutine cancellation now carries a cancellation reason.
- sendfile supports passing a file object.
- The HTTP/2 coroutine client exposes trailing HEADERS frames via Response::$trailers.
- Socket\Coro adds export() to duplicate a socket fd.
- The sockets extension warns about non-blocking and UNIX datagram limitations.
- Sockets now track observed stream EOF separately.
- Atomic adds acquire/release atomic operations.
- name-resolver adds automatic service discovery lifecycle and isolates resolver state.
- Added ssh2_set_timeout().
- Added ssh2_keepalive_config() and ssh2_keepalive_send().
- Added ssh2_send_signal().
- Accept trailing OWS after chunked transfer coding.
- Handle optional whitespace in HTTP/1 headers.
- Ignore 100-continue for HTTP/1.0 requests.
- Handle HTTP body boundaries and 100 Continue.
- Parse chunked requests precisely in the coroutine server.
- The coroutine server's chunked request buffer can now grow.
- Clean up trailers before terminating a chunked response.
- Fix the completion determination for HTTP/1 trailers.
- Ignore HTTP/1 request trailers.
- Re-parse when subsequent data arrives while the request line is incomplete.
- Preserve request fields across multiple parse calls.
- Prevent underflow in the package length limit.
- Preserve response header values from being rewritten.
- Free the captured HTTP/1 content type.
- Decompress the response body before passing it to write_func.
- Output the Date header of static responses in GMT.
- Harden static file response handling.
- The upgrade/redis handler tolerates connections being closed concurrently.
- Fix an HTTP IP memory leak.
- Reject oversized HTTP Upgrade values.
- Fix multipart upload temporary file errors.
- Harden multipart parsing and upload lifecycle.
- Keep uploaded file paths alive.
- Retain upload cleanup after tmpfiles replacement.
- Preserve overly long upload temporary directory paths.
- Add bounds checking to URL encoding and allocate the output in one pass.
- Fix HTTP/2 header and frame size handling.
- Finalize HPACK decoding when response headers end.
- Defer Content-Type setting until headers are complete.
- Isolate request trailers and unify the body completion path.
- The connection-level flow control window starts at 65535.
- Validate the payload length of fixed-length frames before reading.
- Reject GOAWAY frames with insufficient field length.
- Limit GOAWAY debug data to the peer's frame size.
- Send the correct PING payload and reject PING frames with an incorrect length.
- Control frames no longer kill the worker when the buffer is full.
- Reuse stream reset when rejecting an oversized body.
- Fix HTTP/2 write stalls after stream termination.
- Fix client sending while another write is pending.
- Close the client connection on write failure.
- Avoid crashes when releasing an incomplete response.
- Fix double free and UAF caused by callbacks closing the connection in BASE mode.
- Fix unpacking of masked compressed WebSocket frames.
- Negotiate compression across multiple extension offers.
- Grow the compression output buffer safely.
- Reject unsuccessful WebSocket upgrades.
- Reject WebSocket token parsing errors.
- Fix socket initialization for the coroutine HTTP client.
- Reject truncated responses at EOF.
- Connection close state is tracked per request exchange.
- Clean up download state without losing the retry target.
- Preserve the request error on repeated close.
- Handle chunked HTTP proxy responses.
- Preserve SOCKS5 response boundaries.
- Fix the lifecycle of queued cURL resume.
- Sync curl fixes published in php-src for PHP 8.4.
- Preserve curl multi select readiness when using the socket API.
- Keep PHP stream callbacks on the request thread.
- FastCGI preserves cookies and accepts response frames with padding.
- Update the built-in FastCGI client and add response regressions.
- Release async client references after the callback ends.
- Check socket status before returning a connection to the pool.
- Allow receiving fragmented packets under a custom package_length_func.
- Allocate the swoole_client_select() pollfd array based on the total size of the three arrays.
- Fix Redis server receive buffer handling.
- Re-parse Redis fragmented requests from a clean state.
- Add bounds checking for RESP numbers in get_number and parse.
- Pass packet boundaries to Redis server number parsing.
- Preserve exec errors, Redis command names, and cookie state.
- pgsql tries the next host after a blocking connection timeout.
- The PDO pgsql driver enforces connect_timeout.
- Fix cancellation of pgsql query waits.
- Empty PDO pgsql error messages no longer read ahead prematurely.
- Move ODBC SQLParamData/SQLDescribeParam to the AIO thread pool.
- Move ODBC SQLCloseCursor and statement SQLFreeHandle to the AIO thread pool.
- Normalize empty credential lengths in the ODBC connection pool.
- Oracle hooks server attachment during PDO connection.
- Keep Oracle statement re-execution safe.
- Fix SSH2 resource release lifecycle.
- Wait for the shell exit status.
- Refresh poll direction after EAGAIN.
- Avoid integer overflow in ssh2_set_timeout().
- Allocate libssh2 memory using malloc.
- Free the parsed URL when the wrapper path is rejected.
- SFTP wrapper paths preserve # and ?.
- SCP receive stops at premature EOF.
- Sync upstream SCP receive write checks.
- Fix Coroutine::setTimeLimit() precision and cleanup.
- Allow clearing the time limit with 0.
- Ignore external interrupts when preemption is disabled.
- Fix coroutine exception delivery during SPL directory iteration.
- Delayed resume no longer touches a finished EventWaiter.
- Allocate the saved timeout array by element count.
- Retain queued tasks after coroutine creation failure.
- ssl_sendfile does not send more data than the requested size.
- Limit header reception in length protocol recv.
- swoole_coroutine_accept respects the caller's address buffer.
- Coroutine lock count reentrancy and validate the holder on unlock.
- Reject timer deadlines that would overflow before insertion.
- Detach global timers before releasing them.
- RSHUTDOWN cleans up PHP timers when there is no request heap.
- Validate timer intervals on Windows and protect process tests.
- After a force-unlock timeout, retain row locks for live holders (previous force unlocks have been rolled back).
- Cache the configured default value for error reporting.
- Propagate UnwindExit to ZendVM.
- Preserve native zero-timeout stream behavior.
- Apply stream timeouts to hooked write operations.
- Hooked write operations cancelled after a partial write must fail.
- Fix socket_recv behavior for empty datagrams and EOF.
- Reject null bytes in IP stream addresses.
- Let mysqlnd recognize hooked Unix sockets.
- Reject setting global HTTP response headers in coroutines.
- Preserve the cleanup path for synchronous failures in the factory.
- Release streams on connection errors and stop after cancellation.
- Initialize Windows stdio operations for include.
- Register the after-fork hook during the MINIT phase.
- Settings accept empty arrays and preserve enabled SSL.
- Settings propagate exceptions and isolate thread callbacks.
- Preserve the package limit when partially configuring settings.
- Manage worker lifecycle and improve shutdown handling.
- Preserve worker exit and advance reload in order.
- Release the reactor of a worker stopped by a fatal error.
- Restore the caller's worker when a BASE server stops.
- Keep BASE connection boundaries local.
- Initialize the port protocol only once before starting reactor threads.
- get_port for worker threads can match SSL ports.
- Fix server SSL context initialization.
- Enforce server-side TLS peer verification.
- Fix the return handling of Server Port set.
- Accept pre-bound datagram sockets passed in by systemd.
- Send FIN after peer shutdown on macOS.
- Close the connection when a queued sendfile cannot start.
- Close the connection when a queued sendfile cannot complete.
- Close the connection directly on unrecoverable send errors.
- Parse buffered packets when a paused connection resumes.
- Keep the connection and avoid duplicate delivery when onPackage pauses an EOF protocol connection.
- Settle delivered packets when onPackage pauses a connection.
- Keep length protocol header reception within the buffer.
- recv_with_length_protocol resets stale HTTP parse offsets.
- Avoid signed overflow in default_length_func.
- Fail pipe reads when readv errors on a chunk.
- Keep the dgram pipe send buffer above the maximum IPC datagram size.
- Unify the result contract of taskCo and taskWaitMulti.
- Share atomic task IDs between workers and threads.
- Isolate task results and fix idle and DTLS handling.
- Validate task results and tighten failure cleanup.
- Handle force-kill alarms synchronously and skip packaging stale large results.
- Reject illegal task reply sources.
- Clarify warnings for illegal task reply workers.
- Name task stream sockets with the creator PID.
- Restrict access to task stream sockets.
- Restrict task message queues to the worker account.
- process-pool supports explicit message queue access.
- Reject message queue keys outside the key_t range.
- Reuse the message bus across multiple starts.
- Reject oversized worker_num instead of aborting.
- Fix truncated ProcessPool stream packets.
- Validate ProcessPool packet boundaries.
- Release the master's system timers after start().
- Dispatch timers for synchronous workers.
- Release MessageBus resources when the owner closes.
- Release BASE event pool resources after shutdown.
- Fix queued writes for thread workers.
- Release startup arguments when thread creation fails.
- Preserve the main thread's signal handlers when other threads exit.
- PHP and server workers inherit blocked signals.
- Preserve the signal mask when starting background threads.
- Register SIGCHLD to the reactor thread in thread context.
- Do not discard signals that arrive while a signal handler is executing.
- Restore signal actions when removing listeners.
- Reset signal listener state in forked child processes.
- Clean up inherited handlers when there is no kqueue reactor.
- Prevent worker processes from executing manager-specific signal handlers.
- Child processes that inherited manager handlers no longer lose SIGTERM.
- Reset inherited manager runtime state.
- Defer handling of log reopen signals in synchronous processes.
- Harden manager signals, task timeout cleanup, and core helper functions.
- Retain pending reload tasks before initialization completes.
- Prevent losing reload wakeups before waiting.
- Cancel shutdown timers after worker exit.
- Use pcntl_waitpid to preserve exit statuses of unrelated child processes.
- Apply the configured CPU affinity to workers.
- Fix cpu_affinity_ignore handling.
- Fix CPU affinity IDs.
- Validate affinity IDs against the number of CPUs.
- get_connection_by_session_id validates the session id.
- Do not narrow admin numeric identifier validation.
- Restrict reactor thread information to the reactor owner.
- Free exit callback results and validate admin parameters.
- Fix handler types and stop on conversion exceptions.
- Function aliases preserve variadic arguments.
- Use reentrant localtime/gmtime for the logger and static handlers.
- Reject duplicate construction of native resource objects.
- Allow TCP listeners to rebind.
- Complete pending closes and clean up UNIX paths.
- Fix UNIX datagram address ownership.
- recvfrom preserves the source address for empty datagrams.
- Fix the length parameter of socket send and improve peek.
- Interpret socket options at their respective protocol levels.
- Initialize the option buffer before a short kernel reply.
- Preserve incomplete packets after a receive timeout.
- Allow SSL descriptor duplication and fix cross-platform regressions.
- Preserve native coroutine socket errors.
- Drain Windows IOCP operations before PHP close returns.
- Fix IOCP completion errors and stale readiness dispatch.
- Pass null to getaddrinfo() when no service is given.
- Handle EPOLLERR on c-ares sockets to stop worker busy loops.
- Use ares_socket_t for c-ares socket callbacks.
- Randomize DNS request ids and only accept replies from DNS servers.
- Change DNS request ids to sequential increments starting from a random value.
- Avoid invalid weight conversion warnings in name-resolver.
- io_uring records SSL_ERROR_ZERO_RETURN as SW_ERROR_SSL_RESET.
- io_uring validates runtime compatibility.
- io_uring allows compatible liburing minor versions.
- Improve io_uring initialization error messages.
- Preserve Atomic wakeups during interrupted waits.
- Preserve futex timeout and non-zero value semantics.
- Use usleep for non-futex atomic waits.
- Prevent lost wakeups when the AIO thread pool shuts down.
- Fix crashes caused by PHP requests starting in threads not created by Swoole.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]

Dependencies for release 6.3.0RC2
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks