Commit Graph

31 Commits

Author SHA1 Message Date
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
5ad295e02a Added a method to clear the allowedAccess array. 2014-05-23 16:22:00 +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
Grégoire Pineau
3a8578bd17 CS (eof_ending) 2014-03-21 16:46:43 +01: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
25ff6deb77 [Flash] Close connection after delivering policy 2013-08-05 17:20:05 -04:00
Chris Boden
4039a643ea API docs on new features 2013-07-22 21:03:19 -04:00
Chris Boden
37d1339359 [Tests] Refactor AB Fuzzing
AbFuzzyServer is now first class EchoServer
Updated meta files
Cleaned up a WAMP unit test slightly
composer alpha7
2013-05-08 20:32:02 -04: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
002ae9419c API documentation 2012-07-22 11:25:55 -04:00
Chris Boden
b43c29a183 Micro optimization 2012-07-22 09:46:57 -04:00
Chris Boden
4a4e80a945 [Server] Tests
Increased unit test code coverage
Replaced concrete mock objects with PHPUnit mocks
2012-07-19 09:03:07 -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
cfd05b0557 [Server] Close fix
Another close fix from server->client close
2012-05-14 16:58:24 -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
5f80c291b7 CS and API docs 2012-05-11 00:51:11 -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