Releases: WarriorXK/PHPWebSockets
Releases · WarriorXK/PHPWebSockets
v2.6.0
v2.5.0
- Added a timeout to disconnects (10 seconds by default) with will cause a Read:: C_DISCONNECT_TIMEOUT update
- Added Error:: C_READ_NO_STREAM_FOR_NEW_MESSAGE if the stream handler returned an invalid value
- Changed Read::C_NEWCONNECTION to Read::C_NEW_CONNECTION
- Changed the accept timeout response to HTTP 504 (Gateway Timed Out) instead of HTTP 408 (Request Timeout)
- Fixed C_READ updates still being triggered after the connection has been closed
- Fixed sending close frames before finishing normal messages
v2.4.1
v2.4.0
v2.3.2
v2.3.1
v2.3.0
Added the option to trust X-Forwarded-For and X-Real-IP
Added IStreamContainer->afterStreamSelect()
Fixed frames still being allowed after an disconnect
Fixed ->close() not causing an disconnect event
Removed all mentions of TCP in favour of the more generic term "socket" or "connection"
v2.2.0
v2.1.0
- Added an UpdatesWrapper class which simplifies usage by calling methods based on the updates returned
- Added the option to not mask outgoing messages for websocket clients
- Added AConnection->writeUntilEmpty
- Added AUpdate->getSourceConnection
- Added C_READ_DISCONNECT_DURING_HANDSHAKE
- Added Connection->detach()
- Updated PHPDocs
- Changed the RSV bits to a single value in Frame instead of 3 seperate bools
- Deprecated AUpdate->getSourceObject
- Fixed PSR-4 include
- Fixed autobahn CI