Commit Graph

361 Commits

Author SHA1 Message Date
Chris Boden
6771d2391d Update changelog and version 2021-12-13 19:06:48 -05:00
Melnikov Alexandr
409139fabd Added context to App facade constructor 2021-12-12 11:54:06 -05:00
Chris Boden
c3c83ea4c0 Merge branch 'erikn69-#922-support_psr7_2_0' into v0.4.4
# Conflicts:
#	composer.json
2021-12-12 11:42:03 -05:00
Erik Niebla
d239e94d19 Support for PSR7 2.x 2021-12-01 08:47:38 -05:00
Michael Babker
a30da130e3
Add ReturnTypeWillChange attribute to silence PHP 8.1 deprecations 2021-07-25 16:26:20 -05:00
Chris Boden
e78f8b5d0e Prep for v0.4.3 release 2020-06-04 10:22:07 -04:00
Chris Boden
1942c97a7b App should accept Ws MCI 2020-05-28 11:16:10 -04:00
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