Commit Graph

36 Commits

Author SHA1 Message Date
Mohamad Faeez
7597a8c00a Update namespace
Some checks are pending
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 7.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.1) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.2) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.3) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 7.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.1) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.2) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.3) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.4) (push) Waiting to run
2025-04-09 14:54:27 +08:00
Matt Bonneau
2aedfd27a7 Merge commit '42a6fd89e072c4adf090eeaf7be850cf41951c48' into v0.4 2024-12-03 16:22:38 -05:00
DomoChip
fe3db0a5d8 Fix PR65 Undefined variable 2022-08-18 08:01:15 +02:00
DomoChip
93050e65a0 typo 2022-06-30 17:38:45 +02:00
DomoChip
0050245eb4 Raise error if frame is over 2GB on 32bits PHP 2022-06-30 17:23:29 +02:00
DomoChip
c018f30d0c Handle 2GB payload on PHP32bits 2021-12-16 12:40:47 +01:00
Michael Babker
42a6fd89e0
Code modernization 2021-12-12 18:48:55 -06:00
Chris Boden
5ce83bb58a change int syntax 2021-12-05 20:02:16 -05:00
Chris Boden
4835534e74 Ensure max[Message|Frame]PayloadSize is int if auto-set
fixes #41
2021-12-05 17:12:49 -05:00
Matt Bonneau
52b27fd7b4 Use exception factory that is passed in 2020-05-07 10:52:36 -04:00
Matt Bonneau
2159ed40f9 Requested changes for readability and style 2020-01-22 01:00:24 -05:00
Matt Bonneau
1af7e998b3 Merge branch 'master' into permessage-deflate
# Conflicts:
#	src/Messaging/MessageBuffer.php
#	tests/ab/clientRunner.php
#	tests/ab/run_ab_tests.sh
#	tests/ab/startServer.php
2020-01-22 00:36:05 -05:00
Chris Boden
e861242e1d Provide value in error for clarity 2019-12-15 05:17:35 -05:00
Matt Bonneau
bbdd346c1c Test resulting settings from different memory_limits + more tests 2019-12-14 12:52:19 -05:00
Matt Bonneau
cfc9049d13 Make memory limit testable 2019-12-12 13:59:55 -05:00
Matt Bonneau
c004fa7e64 Code formatting 2019-12-12 11:37:11 -05:00
Matt Bonneau
921f838255 Support for unsupported PHP versions 2019-12-11 14:47:53 -05:00
Matt Bonneau
830e2f561e Allow limits for maximum payload 2019-12-11 13:27:42 -05:00
Matt Bonneau
9c1df6a8e1 Should be framestart + 2 2019-12-10 23:05:53 -05:00
Matt Bonneau
11a21b7628 A little faster by not using Frame functions to test for frame sizes 2019-12-10 22:23:00 -05:00
Matt Bonneau
8aee220898 Rework MessageBuffer to better handle large buffers filled with small frames 2019-12-10 19:23:45 -05:00
Matt Bonneau
ed16f5cba1 Corrected $msgBuffer issue caused by merge with master 2019-05-01 08:48:10 -04:00
Matt Bonneau
cba2acd69d Merge branch 'master' of github.com:ratchetphp/RFC6455 into permessage-deflate
# Conflicts:
#	.travis.yml
#	src/Messaging/MessageBuffer.php
2019-05-01 08:31:47 -04:00
me@jmoo.io
6d7d1b8ff1 Null out message buffer before calling onMessage handler 2018-07-07 17:40:12 -04:00
Matt Bonneau
e91fcd67c8 Force deflate window bits to 9 fixes #22 2018-01-11 20:51:29 -05:00
Matt Bonneau
61ffa6aa2a Move sender parameter to maintain BC with previous version 2017-10-30 17:01:32 -04:00
Matt Bonneau
bc16757a61 Fixup version check for permessage-deflate 2017-10-30 17:01:32 -04:00
Matt Bonneau
b84ef8b9ce Client passes all per message deflate autobahn tests 2017-10-30 17:01:32 -04:00
Matt Bonneau
8eed9e7db2 Server passing tests - client passes most tests - refactoring and API help needed 2017-10-30 17:01:32 -04:00
Matt Bonneau
7280ddcd19 Per-message deflate with options work 2017-10-30 17:01:32 -04:00
Matt Bonneau
1d0374fd21 Replace recursion in MessageBuffer with loop 2016-12-30 15:35:40 -05:00
Chris Boden
055b3eca13 Merge branch 'close-reason' 2016-03-16 08:32:52 -04:00
Chris Boden
1a5aeaf5a4 Added support for reason to close frame
Also doing strict type checks on integers
Add Autobahn badge
2016-03-15 19:46:31 -04:00
Chris Boden
ccef4dc384 Echo valid clode code back to peer handler 2016-03-15 11:55:15 -04:00
Chris Boden
dd75dafe97 Fix passing closing code if valid, updated user agent 2016-03-14 23:25:52 -04:00
Chris Boden
60ce5e00ff Renamed some classes, less depth 2016-02-08 22:21:56 -05:00