Commit Graph

31 Commits

Author SHA1 Message Date
Chris Boden
c5055fa6f2 Merge branch 'pr/485-react-socket' into 0.4
# Conflicts:
#	composer.json
2017-09-10 11:40:08 -04:00
Christian Lück
a86be3c526 Forward-compatibility with future Socket v1.0 and Socket v0.8
Socket v0.8 only contains some minor breaking changes, which can be
circumvented by ignoring URI schemes here.
Future Socket v1.0 will not contain any BC breaks, so it's actually
compatible with the last release.
2017-07-19 16:12:26 +02:00
Chris Boden
b8caf37039 Merge branch 'ssl-server' into 0.4
# Conflicts:
#	src/Ratchet/Server/IoServer.php
2017-04-19 17:05:11 -04:00
Eliseu dos Santos
13c9fdfb15 Changed sslConf parameter validation, according to review on PR 2017-03-13 07:27:13 -03:00
Christian Lück
22e500d02a Fix event arguments 2017-03-10 15:40:54 +01:00
Chris Boden
b00da833ce Use $this in closure, fixed ref to handleData 2017-03-10 09:22:43 -05:00
Christian Lück
1fd6f24371 Fix event arguments 2017-03-10 15:13:39 +01:00
Eliseu dos Santos
369227dc1c Add WSS support using recently added class SecureServer from React. 2017-02-21 09:22:38 -03:00
Christian Lück
b8967b999a Update Socket component to v0.5 2017-02-14 08:41:59 +01:00
Chris Boden
989235132e [App] Reverted API API changes - back to v0.3.1 version 2014-06-07 11:09:00 -04:00
Gerrit Drost
77c6d53a4d Made changes as suggested in pull request. Getters have been removed from IoServer and desired properties have been made public. 2014-06-04 16:59:30 +02:00
Gerrit Drost
a1c27ac91b Added the property socket to the IOServer class and exposed the app and socket properties through getters. 2014-05-23 16:21:13 +02:00
Kinn Coelho Julião
daaff6c326 gc_enable is not called if running with HHVM
Since HHVM doesn't support garbage collector (for obvious reasons), the following patch make Ratchet works with HHVM as well.
2013-11-28 14:05:20 -05:00
Chris Boden
e7887a4b17 OCD API documentation updates 2013-01-05 16:10:21 -05:00
Chris Boden
75bb5ac891 Cleaning 2013-01-04 19:52:57 -05:00
Pascal Borreli
ebcc66f1bf Fixed typos 2012-10-11 18:33:29 +00:00
Chris Boden
b43c29a183 Micro optimization 2012-07-22 09:46:57 -04:00
Chris Boden
bd5b7d09aa [WAMP][Tests] Coverage
Sight bug fixes in WAMP topics
Unit tests coverage
2012-07-19 01:38:08 -04:00
Chris Boden
534375160a [Server] IoServer cleanup
Removed React event loop as a requirement; loop can be run outside
Removed Server as a requirement for Connection; wasn't used anymore
2012-07-17 17:22:51 -04:00
Chris Boden
188e9f04ce [Server][WebSocket] Performance
Switched IoServer::factory to use React factory (libevent stable)
Bit operations in Frame for performance gains
Added performance tests back to fuzzing config
2012-07-14 11:58:26 -04:00
Chris Boden
5755a5f739 Merge branch 'refs/heads/master' into 0.2-beta 2012-07-13 01:16:08 -04:00
Chris Boden
3c617d96a2 Plugging memory leak
Apparently assigning a property to an object will prevent the object from being destroyed.
Thanks to @igorw to finding this memory leak
2012-07-13 00:55:15 -04:00
Chris Boden
fd9e03bd99 API docs and cleanup 2012-07-11 15:43:54 -04:00
thrashr888
f529d36305 updated socket connection event name based on react-php/react commit 70bc398270c8dc8f2cb8e7b9fbf2dbbf96599fd2 2012-07-09 03:09:54 -07:00
Chris Boden
a1550994a1 Fixed composer breakage 2012-07-08 00:23:29 -04:00
Chris Boden
724a15ceb2 [Server] Stream over Libevent 2012-06-03 21:26:20 -04:00
Chris Boden
598da1e8b0 [Server] Long running tweaks
Added commands to [IoServer] that should be called in long-running scripts
Removed version information from composer
Updated dependencies
2012-05-16 17:16:50 -04:00
Chris Boden
1582853255 [Server] Fixed remoteAddress not being set on Connection
Updated to latest version of `React`
Fixed bug where `$conn->remoteAddress` always returned "127.0.0.1"
This will result in IpBlackList working properly
Added unit tests for IoServer
2012-05-12 19:35:39 -04:00
Chris Boden
d05cac8b6c [Io] Handle Application Exceptions 2012-05-11 11:59:18 -04:00
Chris Boden
55e11bac7e [Server] Methods over closures, StreamSelectLoop 2012-05-10 22:24:47 -04:00
Chris Boden
4735218aa0 [BCB] Namespace changes
Removed the `Component` namespace
Removed the `Resource` namespace
Renamed components:
`IOServerComponent` => `IoServer`
`WebSocketComponent` => `WsServer`
`SessionComponent` => `SessionProvider`
`WAMPServerComponent` => `WampServer`
`IpBlackListComponent` => `IpBlackList`
`FlashPolicyComponent` => `FlashPolicy`
2012-05-08 23:14:28 -04:00