Commit Graph

290 Commits

Author SHA1 Message Date
me@jmoo.io
6d7d1b8ff1 Null out message buffer before calling onMessage handler 2018-07-07 17:40:12 -04:00
Štefan Kušnír
abceff5341 FIX PHP Fatal error: Allowed memory size of exhausted 2018-05-02 11:38:28 -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
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
c943ee1771 Reduce the number of tests so travis doesn't time out 2017-10-30 17:01:32 -04:00
Matt Bonneau
5f7f53e7eb Work on php version support and testing 2017-10-30 17:01:32 -04:00
Matt Bonneau
34bf40a775 Revert "Drop support for php 5 and HHVM in travis"
This reverts commit a1f7487ff81bd914c69c425984803a9f2eaf51a1.
2017-10-30 17:01:32 -04:00
Matt Bonneau
bc7bf9f302 Drop support for php 5 and HHVM in travis 2017-10-30 17:01:32 -04:00
Matt Bonneau
d7e3c1bc64 Fix MessageBufferTest to match API change 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
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
Chris Boden
84db350a66 Fixed invalid json 2016-02-10 10:25:54 -05:00
Chris Boden
3b717eb5b8 Documentation updates 2016-02-10 10:24:33 -05:00
Chris Boden
5689ba3bd0 Merge pull request #9 from ratchetphp/psr7-renaming
Renamed some classes, less depth
2016-02-08 22:41:06 -05:00
Chris Boden
60ce5e00ff Renamed some classes, less depth 2016-02-08 22:21:56 -05:00
Chris Boden
71f10cb9ee Merge pull request #8 from ratchetphp/psr7-client-refactor
Client refactor
2016-02-08 22:20:33 -05:00
Chris Boden
9f405beccb Added subprotocol check for client, test fixes 2016-02-08 21:43:17 -05:00