swoole 5.0.0

Event-driven asynchronous and concurrent networking engine with high performance for PHP.


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

License: Apache2.0

Changes

Added
---
* Added max_concurrency option for Server
* Added max_retries option for Coroutine\Http\Client
* Added name_resolver global option
* Added upload_max_filesize option for Server
* Added Coroutine::getExecuteTime()
* Added SWOOLE_DISPATCH_CONCURRENT_LB dispatch_mode for Server

Changed
---
* Enhanced type system, added types for parameters and return values of all functions
* Optimized error handling, all constructors will throw exceptions when fail
* Adjusted the default mode of Server, the default is SWOOLE_BASE mode
* Migrate pgsql coroutine client to core
* Contains all bugfixes from the 4.8.x branch

Removed
---
- Removed PSR-0 style class names
- Removed the automatic addition of Event::wait() in shutdown function
- Removed Server::tick/after/clearTimer/defer aliases
- Removed --enable-http/--enable-swoole-json, adjusted to be enable by default

Deprecated
---
- Deprecated Coroutine\Redis and Coroutine\MySQL