Commit Graph

354 Commits

Author SHA1 Message Date
samizdam
0b6fac212c Use RATCHET_DISABLE_XDEBUG_WARN env var for disable user warning. 2018-03-03 00:19:44 +03:00
Chris Boden
0d31f3a8ad v0.4.1 release prep
Fixed changelog GitHub markdown
2017-12-11 19:49:31 -05:00
Chris Boden
5dbbbbeb75 Merge branch 'router-race-fix' 2017-12-11 19:37:52 -05:00
Chris Boden
5b5795c3c1 Merge branch 'fix-#516' 2017-12-11 19:37:27 -05:00
Chris Boden
d52de66ab0 Allow numeric topics
Not part of the spec but to prevent a BC break
2017-12-11 19:21:52 -05:00
Chris Boden
309564cbf1 Close connection if invalid topic 2017-10-14 21:19:07 -04:00
Chris Boden
a83a4e460a Create a noop controller for impatient clients 2017-10-09 13:18:18 -04:00
Illia Kovalov
4e8fca9032 Update WsServer.php 2017-10-09 17:51:28 +02:00
Illia Kovalov
8bbc516f5e Update WsServer.php 2017-10-09 17:50:50 +02:00
Illia Kovalov
e2b7a8f95a * @param int $keepAliveInterval Seconds between ping calls 2017-10-04 12:03:25 +02:00
Chris Boden
810429a6fe Re-encode topic from WAMP msg to safeguard
The client is supposed to send a string as a topic but we're goign to re-json'ify the topic in case of bad client input.

fixes #516
2017-10-01 11:11:38 -04:00
Illia Kovalov
467c4552a5 * @param int $keepAliveInterval Seconds between ping calls 2017-09-28 20:08:58 +02:00
Illia Kovalov
e0ee60e860 * @param int $keepAliveInterval Seconds between ping calls 2017-09-28 20:08:09 +02:00
Illia Kovalov
f126b6836c * @param int $keepAliveInterval Seconds between ping calls 2017-09-28 20:07:33 +02:00
Illia Kovalov
4aa084c379 * @param int $keepAliveInterval Seconds between ping calls 2017-09-28 20:06:14 +02:00
Chris Boden
680b2ae45c Temporarily remove TLS helper functions 2017-09-14 08:03:44 -04:00
Chris Boden
0f827b13c9 Remove Topic autoDelete option from WAMP
When a Topic reaches 0 subscribers it will be removed
New subscriptions to Topics that had the same name will create new Topics
refs #185, #198
2017-09-14 07:40:37 -04:00
Chris Boden
fe4a97400d Remove usage of http_parse_message
Found a case where http_parse_message failed to parse a valid request header and returned null, which ended up in an uncaught exception being thrown by Guzzle.
2017-09-13 18:12:50 -04:00
Chris Boden
0cde24bae7 entryption params 2017-09-10 14:41:56 -04:00
Chris Boden
2594ebced4 Fix UTF-8 check 2017-09-10 12:49:48 -04:00
Chris Boden
19fa7f7e98 Merge branch 'master' into 0.4
# Conflicts:
#	README.md
2017-09-10 12:03:39 -04:00
Chris Boden
f078287017 Add ssl options to App 2017-09-10 11:57:09 -04:00
Chris Boden
e1980b2016 Add missing SSL doc 2017-09-10 11:44:51 -04:00
Chris Boden
c5055fa6f2 Merge branch 'pr/485-react-socket' into 0.4
# Conflicts:
#	composer.json
2017-09-10 11:40:08 -04:00
Chris Boden
a1a1a3c642 Update UTF-8 check and move to WsServer
fixes #517
2017-09-10 11:23:40 -04:00
Kolbasyatin
7c05c5cdae Update Topic.php
We can send message not only string, but array also, so, IDE does unpleasant highlights.
2017-09-02 23:19:36 +03: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
4ac1f914f3 Merge branch 'master' into 0.4
# Conflicts:
#	README.md
2017-04-19 17:05:46 -04: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
Chris Boden
8d8d574199 Merge branch 'socket' into 0.4 2017-03-10 09:19:04 -05:00
Christian Lück
1fd6f24371 Fix event arguments 2017-03-10 15:13:39 +01:00
krendel
e788fd4da1 fix souce link for client side library 2017-02-26 11:44:23 +02:00
Eliseu dos Santos
369227dc1c Add WSS support using recently added class SecureServer from React. 2017-02-21 09:22:38 -03:00
Chris Boden
131204eaf5 Merge branch 'clue-labs/socket' into 0.4
# Conflicts:
#	composer.json
#	tests/autobahn/bin/fuzzingserver-noutf8.php
#	tests/autobahn/bin/fuzzingserver.php
2017-02-16 20:31:29 -05:00
Chris Boden
4cf38fe82e Merge branch 'master' into 0.4
# Conflicts:
#	CHANGELOG.md
#	src/Ratchet/ConnectionInterface.php
#	src/Ratchet/Http/Router.php
#	src/Ratchet/WebSocket/Version/RFC6455.php
#	tests/unit/Http/RouterTest.php
2017-02-16 20:14:25 -05:00
Christian Lück
b8967b999a Update Socket component to v0.5 2017-02-14 08:41:59 +01:00
Chris Boden
afe63e26d6 0.3.6 prep
fixes #470
fixes #471
fixes #472
2016-12-30 13:40:50 -05:00
Chris Boden
7a661b5016 Merge branch 'pr/472-method-not-allowed' 2016-12-30 13:26:12 -05:00
Chris Boden
64bc5822c8 Set GET required in Symfony Route 2016-12-30 13:26:04 -05:00
samizdam
56c07ce4b8 Factory new Request Url from url, instead path only: keep original request host, scheme, etc. 2016-11-25 21:26:12 +03:00
samizdam
7215ffe9e6 Send additional headers on close connection in Router. 2016-11-17 19:48:29 +03:00
samizdam
5eb1dfa98d Use 403 status code on MethodNotAllowedException. 2016-11-10 21:05:00 +03:00
Matt Bonneau
85ed94d5cb Fix unsolicited pong crash with keep alive enabled. Fixes #430 2016-05-26 00:39:14 -04:00
Chris Boden
b5ccecad93 v0.3.5 prep 2016-05-25 08:55:03 -04:00
Chris Boden
734055ea7f Merge branch 'mask' 2016-05-25 08:47:23 -04:00
Chris Boden
f5e8a18341 Added unit tests for serialize, formatting 2016-05-25 08:44:41 -04:00
Chris Boden
b0e72bb7da Merge pull request #429 from JaapMoolenaar/patch-1
The variable $from should be the variable (parameter) $conn
2016-05-17 11:23:08 -04:00