Commit Graph

196 Commits

Author SHA1 Message Date
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
cb8b04beba
Merge pull request #36 from mbonneau/devdeps
Update development deps and speed up frame processing
2019-12-11 10:16:05 -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
58e79971e0 New PHP versions for travis 2019-12-10 19:31:01 -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
8944361dbe Update to latest react/socket and drop react/http for tests 2019-12-10 19:22:57 -05:00
Matt Bonneau
9eae01044a
Merge pull request #33 from tantegerda1/patch-1
Fix small typo in readme
2019-03-13 10:25:12 -04:00
Ludwig Rafelsberger
4fb7c30a5d
Fix small typo in readme 2019-03-13 10:57:40 +01:00
Matt Bonneau
72802bd1fa
Merge pull request #32 from ratchetphp/fix-tests
Fix tests
2019-03-12 22:27:11 -04:00
Chris Boden
acc1d28f0a Remove hhvm from testing 2019-03-11 10:03:22 -04:00
Chris Boden
26ea6c2d45 Add new lines to end of header in tests
Guzzle had a BC break between minor versions throwing an exception if a header wasn’t passed without ending delimiters.
2019-03-11 09:56:19 -04:00
Chris Boden
c62f7cd95f
Merge pull request #30 from jmoo/fix-for-blocking-ops
Null out message buffer before calling onMessage handler
2019-03-10 13:10:42 -04:00
Matt Bonneau
0cb7c0280d
Merge pull request #25 from ratchetphp/suggest-subprotocol
Suggest correct subprotocol when subprotocol mismatch
2018-07-09 14:11:12 -04:00
me@jmoo.io
6d7d1b8ff1 Null out message buffer before calling onMessage handler 2018-07-07 17:40:12 -04:00
Matt Bonneau
1612f528c3
Merge pull request #28 from kusnir/fix-memory-exhausted
FIX PHP Fatal error: Allowed memory size of exhausted
2018-05-02 10:52:00 -04:00
Štefan Kušnír
7b36995d00 FIX PHP Fatal error: Allowed memory size of exhausted 2018-05-02 08:45:50 +02:00
Matt Bonneau
27f2380edc
Merge pull request #26 from andreybolonin/patch-1
Update .travis.yml
2018-04-10 08:12:46 -04:00
Andrey Bolonin
cb7c115211
Update .travis.yml 2018-04-10 13:43:56 +03:00
Matt Bonneau
834de74a29 Suggest correct subprotocol when subprotocol mismatch
Fixes #24
2018-02-10 11:57:48 -05:00
Matt Bonneau
cc8a1a46a7 Merge pull request #19 from mbonneau/ServerNegotiator
Correct Responses in ServerNegotiator add tests
2017-09-13 09:49:42 -04:00
Matt Bonneau
dd636a4058 When not agreeing on a subprotocol in non-strict - send no protocol header field 2017-09-13 09:40:02 -04:00
Matt Bonneau
8128af799a Fix requested changes on PR 2017-09-12 22:33:33 -04:00
Matt Bonneau
78b7137627 Revert BC breaks to ServerNegotiator 2017-09-10 15:10:54 -04:00
Matt Bonneau
2d10201b00 Change to phpunit 4.8 to support php 5.4 and 5.5 2017-04-20 19:42:30 -04:00
Matt Bonneau
10c7198946 Use full namespace on functions and add oh-unit dev dep 2017-04-19 23:59:18 -04:00
Matt Bonneau
4ad549b9e0 Correct Responses in ServerNegotiator add tests 2017-04-19 23:28:04 -04:00
Chris Boden
56aecde679 Merge branch 'recursion' 2017-01-01 10:41:18 -05:00
Matt Bonneau
1d0374fd21 Replace recursion in MessageBuffer with loop 2016-12-30 15:35:40 -05:00
Chris Boden
b3694c6d78 Travis attempt fix again 2016-12-30 14:25:35 -05:00
Chris Boden
cf03308f5e Attempt to fix travis build 2016-12-30 14:17:17 -05:00
Chris Boden
889857a5e3 Give allowed methods in invalid method response
also a typo
2016-12-30 14:08:20 -05:00
Chris Boden
ee3233ef5e Merge branch 'connection-header' 2016-12-30 14:05:41 -05:00
Matt Bonneau
7ed72dc4b7 Explode Connection: header to find Update. Fixes #14 2016-07-29 01:27:59 -04:00
Chris Boden
055b3eca13 Merge branch 'close-reason' 2016-03-16 08:32:52 -04:00
Chris Boden
17a92ab617 Merge branch 'wrong-close' 2016-03-16 08:32:47 -04:00
Chris Boden
276c19cb3d Bad markdown 2016-03-15 19:47:16 -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
cbd376e1b3 Merge branch 'psr7-multi-streamer' 2016-02-20 16:26:08 -05:00
Chris Boden
49cfd1eb50 Updated test coverage 2016-02-20 16:16:11 -05:00
Chris Boden
bbc7818ddb Strict Sub-Protocol check off by default
More of an implementation detail, not specified in spec
2016-02-20 16:07:27 -05:00
Chris Boden
b2bd4607ae Moved tests to align namespace with target 2016-02-15 18:10:53 -05:00
Chris Boden
ac4d13cc09 Inject RequestVerfier instead of instantiating 2016-02-15 17:03:10 -05:00
Chris Boden
e75c843fc9 Rename Negotiator -> ServerNegotiator for consistence 2016-02-10 17:56:28 -05:00