Commit Graph

732 Commits

Author SHA1 Message Date
samizdam
19a0a5b3e3 Use phpunit from vendor in Makefile. 2018-03-03 00:29:11 +03:00
samizdam
82f2505b13 Merge branch 'master' of github.com:ratchetphp/Ratchet 2018-03-02 23:57:14 +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
Matt Bonneau
a4917edcfc
Merge pull request #579 from Nyholm/patch-1
Support for Symfony 4
2017-12-11 11:28:04 -05:00
Matt Bonneau
928f4f1346 Bump minimum symfony version to 2.6 and run php -m on travis 2017-12-11 11:09:47 -05:00
Tobias Nyholm
465548eded
Support for Symfony 4 2017-11-18 16:06:23 +02:00
Chris Boden
1aafdac3ff Let's add an assertion to the test for fun :) 2017-10-14 23:12:27 -04:00
Chris Boden
444d4b5b55 Test impatient client sending body 2017-10-14 23:03:09 -04: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
Chris Boden
e3e223066c Update changelog with PR info 2017-10-09 13:07:44 -04:00
Chris Boden
bddcb1af17 Merge branch 'configurable-keep-alive-intervals' 2017-10-09 13:05:53 -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
c03b1b0f56 Don't suggest pecl_http 2017-09-14 08:18:28 -04:00
Chris Boden
07f0af72ad Merge branch '0.4' 2017-09-14 08:09:48 -04: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
1113d54176 Update from master, remove 5.3 travis 2017-09-10 12:21:09 -04:00
Chris Boden
215649839d Merge branch 'master' into 0.4 2017-09-10 12:20:15 -04:00
Chris Boden
837d8590b0 Merge branch 'travis' 2017-09-10 12:15:03 -04:00
Chris Boden
0f0faf6a34 Attempt to fix Travis 2017-09-10 12:08:41 -04:00
Chris Boden
19fa7f7e98 Merge branch 'master' into 0.4
# Conflicts:
#	README.md
2017-09-10 12:03:39 -04:00
Chris Boden
d5cb2c5f19 Merge pull request #554 from Kolbasyatin/patch-1
Update Topic.php
2017-09-10 11:59:40 -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
Chris Boden
829af203b2 Fix readme headers, update apigen with 0.4 2017-09-09 16:59:25 -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
Chris Boden
302b770450 Merge branch 'travis-trusty' 2017-07-29 13:24:36 -04:00
Chris Boden
1c28d187ce Remove HHVM from precise 2017-07-29 13:24:26 -04:00
Chris Boden
c8adbca830 Trusty only on HHVM 2017-07-29 13:17:19 -04:00
Chris Boden
be4ee00d94 Try using trusty on Travis for HHVM 2017-07-29 13:11:47 -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
362a477662 Merge pull request #521 from kzbandai/fix-markdown-written-method
Add space on README.md because it looked strange on github.com
2017-05-23 10:24:59 -04:00
kzbandai
70e2577be7 Add space on README.md because it looked strange on github.com 2017-05-14 01:54:18 +09:00
Chris Boden
4ac1f914f3 Merge branch 'master' into 0.4
# Conflicts:
#	README.md
2017-04-19 17:05:46 -04:00