Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python-websockets/websockets

Library for building WebSocket servers and clients in Python
https://github.com/python-websockets/websockets

Fix behavior of recv() in the CLOSING state.

The behavior wasn't tested correctly: in some test cases, the connection
had already moved to th...

402059e4a46a764632eba8a669f5b012f173ee7b authored over 6 years ago
Cancel unacknowledged pings.

481d7fb10f6a521a28414b190f9ae0cd7b4219b5 authored over 6 years ago
Add debug logs in ping / pong handling.

Fix #315.

a3e1680a7a9bc5ec9f68f339a69afe1d24aca89c authored over 6 years ago
Add support for HTTP Basic Auth in the client side.

Fix #373.

35d6754ce32f36dab013e0273470be1529578317 authored over 6 years ago
Disable async context manager functionality on Python 3.5.

Clarify documentation about unsupported features in older Pythons.

Fix #318.

f3f3fd0c19843f5e4359738ce298932e93ce2758 authored over 6 years ago
Allow running a single test with tox.

Fix #297.

4199fc83e5ddb717b67681e4bb5ad6c6c2df4428 authored over 6 years ago
Make unix_serve an asynchronous context manager.

Fix #355.

38145985e37474fe5c1145731ec7022836f12a41 authored over 6 years ago
Restore full test coverage.

wait_closed() was accidentally covered by ContextManagerTests.

33341afda0c1917fb4a37e3459e3c39d66668d11 authored over 6 years ago
Adapt to changes for Python 3 in Homebrew.

Python 3 is now the default (yay!)

ad13e489a305b28d78e30460e694fa735a180890 authored almost 7 years ago
Change AppVeyor config to a dotfile.

This is consistent with Travis config.

4579c2b93eff053c624eebf44cba09f45c140f1a authored almost 7 years ago
Use the latest version of cibuildwheel.

It's more likely to fix issues than introduce them.

99e6a4d9dbbab01f514bd84d21723ba98d6f8634 authored almost 7 years ago
Fix AppVeyor builds.

61badeb0a87db175157429647eae5d47fd596393 authored almost 7 years ago
Mention that README requires Python ≥ 3.6.

The Python < 3.6 version is provided in the documentation.

Fix #340.

13eb4a09815b7edf3ac6270cbdf131b89b4ccc9d authored almost 7 years ago
Add zip_safe=True to setup.py (#342)

Add `zip_safe=True` to setup.py to tell easy_install and setuptools that the code should not be ...

f7331b04c524f2ebfd2371a1a59852d3d3439779 authored almost 7 years ago
Fix typo in README.rst

courountine -> coroutine

d4a6a24fcf9786b1917668bfaee946e85bc22478 authored about 7 years ago
Fix Syntax error thrown in 3.7

Maintains backward compat.

9f566c5d12eae1258aa6f1991fe8cf0a7d390f97 authored about 7 years ago
Fixed infinite loop in "Graceful Shutdown" Examples when client closed the connection.

Replaced "pass" statement by "break" inside echo handler loop.
If client closes connection it ca...

136d9bc9a917f7f5fdde4001e801b591ee1b4a0b authored about 7 years ago
Attempt #2 to fix wheel upload on Travis CI.

05907cd7e390617d6c80f2b2a0bf222e622dd641 authored about 7 years ago
Bump version number.

a6211d48c57a0886ee1eefa87651c99bd08d4fd2 authored about 7 years ago
Test enum identity instead of equality.

The docs say this is recommended.

f730fe091fdb9aab8b608e710d260efdf4e8a077 authored about 7 years ago
Attempt to fix wheel upload on Travis CI.

cb9b268c60a96f5bdcc8988587e0460ca4edbcdc authored about 7 years ago
Remove unnecessary lines in MANIFEST.in.

`packages` takes care of this in setup.py.

4e67f829cfe4e9c23046415d6cd38cd2825cd6b7 authored about 7 years ago
Bump version number.

93c7bc1446f1f9e99b0919dceacf84fd92832811 authored about 7 years ago
Add WebSocketServer.sockets.

Also refactor tests to bind to an arbitrary available port instead of
hardcoding port 8642.

11a16d9799cfeb899c362660ed4a98233e3985b5 authored about 7 years ago
Workaround for https://github.com/travis-ci/travis-ci/issues/8552.

2599b8a3df918a3718422e7ccebb3f316ef602b0 authored about 7 years ago
Merge pull request #302 from aaugustin/state-enum

Manage connection states with an enum.

639975ebd32ab2fb0fb5470c5486bf57e47361bb authored about 7 years ago
Increase symmetry between connect and serve.

c8057350a08d697a669fe875f744e398f8f54d74 authored about 7 years ago
Fix doc generation on Python 3.5+.

2c0b6618a71453cf1ff39a3bf769081a25475aaf authored about 7 years ago
Manage connection states with an enum.

Fix #284.

fa96c583d178ff79a1536ce597b1a4ceef4d3d2e authored about 7 years ago
Eliminate the need to wrap serve(). (#294)

* Eliminate the need to wrap serve().

See issue #197 for related discussion.

* Fix Python ...

4cbb18c21a66fb406e7cbd36eca3329312367a54 authored about 7 years ago
Improve some docstrings.

69cd26dcf3aea3ebfa9750ada894283a7c53d2d4 authored over 7 years ago
Reorder protocol methods more consistently.

b82e5703b5261759807d7b4310c4798688fe9a07 authored over 7 years ago
Await close_connection_task in ensure_open.

This fixes the following edge case:

- this side starts the closing handshake
- the connection h...

27549c4b390443b7504e937d4d974bd0855b4c7f authored over 7 years ago
Normalize exception message style.

* Initial capital
* No period
* message: value rather than message (value)

f83362ef91a6ac2ea89fd8bda4d18ff22ffb7a40 authored over 7 years ago
Test ConnectionError handling.

Fix #215.

Thanks @cjerdonek for reporting and investigating this issue.

5ce75688f59b017c2f0d4efebff8e9022f0e3d67 authored over 7 years ago
Add explanation of status codes in error messages.

Fix #249.

4a8415da441ebab15dfebd798838c293f07d38d7 authored over 7 years ago
Remove superfluous args from subTest calls.

5a9d2e0038acee5ffca60c047b7a28cd72b4324e authored over 7 years ago
Documented passing extra args to the handler.

Fix #271.

050a6aeb90225fe54b05f8c8cef9ed05596f3553 authored over 7 years ago
Document concurrency-safety of public APIs.

Fix #238.

8cdf09b8f122a339188905a58182148eed05778d authored over 7 years ago
Add unix_server to create a Unix server.

Based on #273 by @PrettyWood.

68553b77af7aa8f880e18471d1b93f33392bc769 authored over 7 years ago
Optimize ensure_open when the connection is closing.

* If the remote side started the closing handsake, the close code and
reason are already known...

5769cbf1a06be91a272eff54f7c140bea85d0c3f authored over 7 years ago
Move encode_data utility outside of protocol.

91be27e9c4d23b3902ac77cdfe648e480ec63985 authored over 7 years ago
Link to RFCs consistently.

97dea5258bc0cdf11ce0bfa6bae82e85eee6e41c authored over 7 years ago
Make markup easier to read with currentmodule.

a1405fef94a59b90b7434dd6853e8a1244b257d9 authored over 7 years ago
Add support for sock argument in client.

Fix #221.

Adapted from PR #229.

51b26f8ff65912a611a2f169b352c671f0afae01 authored over 7 years ago
Add marketing copy to the README.

Fix #245.

Thanks @cjerdonek for your feedback!

77fc08303eca8f8cbc43ea99f00191fa1fadadbf authored over 7 years ago
More badges!

037d56a67f241843fdb175cdf7a5cef34cd202ed authored over 7 years ago
Update headline in docs.

c4cf94f8c776841b1794eecdf614a03942972b76 authored over 7 years ago
Reorganize docs by use case.

Fix #275.

124e2762ec165a15809eda24d2db1793fb958fab authored over 7 years ago
Add changelog for recent changes.

712e48d34c4991011f776272e60d90dcac19aa16 authored over 7 years ago
Abort TCP connection if it doesn't close fast enough.

Fix #112.

f9721dec3700987cff03410110ddd7b6c8c69315 authored over 7 years ago
Add a timeout when writing a close frame.

Fix #112.

43784eac2932fee3b0e87d579608000f2be30cfb authored over 7 years ago
Increase time unit for timeout tests.

This should make test more reliable.

fcedaf59514f7447f84e69bf226393496480ab48 authored over 7 years ago
Add test certificate so SSL tests run on CI.

bbf9563a6387ef6eaaab0becd4eed273e3f41915 authored over 7 years ago
Run tests on macOS and Windows.

4f2a6ac7a2840d305812ff642f32b20bdcba9640 authored over 7 years ago
Document the design.

ec450f53e7f0bb6fda9793430186507662025788 authored over 7 years ago
Add docstrings for all classes and methods.

fe6761ef0daab82fc370f1dc1771faea87a59e9b authored over 7 years ago
Add some security considerations to the docs.

115b466964404dfc83558ec54db1a05f66ce4d8e authored over 7 years ago
Stop swallowing cancellations in close().

Fix #264. Ref #142.

Remove a test that no longer makes sense now that close() no longer
swallow...

fcc73bcdc0cb69b67e0acea3c74a871214e1aba4 authored over 7 years ago
Get rid of self.closing_handshake.

37b596dd17f0e4c58dfb15ec214dba557f781dd1 authored over 7 years ago
Get rid of self.opening_handshake.

dd16c0e56289d0cd7593ce7c83399613e95f740e authored over 7 years ago
Rework connection close handling.

* Split the task that runs the data transfer part from the task that
closes the TCP connection...

0827eeee5bfe8b776dfae70642a336d324435027 authored over 7 years ago
Update class and method signatures.

They were out of sync after extensions were implemented.

9c67144b41ab90903eb6a0dc11658d6180455f4c authored over 7 years ago
Fix documentation of how to wait for a pong.

16b09f801a010b17759cff5a2a99828a2c7f7cae authored over 7 years ago
Handle cancellation of pong waiters more elegantly.

Fix #269.

1b8ab39be670b3e8f46839caafb6824133cbd59b authored over 7 years ago
Log unexpected exceptions at the warning level.

This is consistent with how errors in the opening handshake are handled.

7d7e2630188f965999908085da9b85293517174f authored over 7 years ago
Review uri module and tests.

d37433902cc959b050925581d6e9bd361262e9be authored over 7 years ago
Review handshake module and tests.

b893f89a530acf5f70d7e77499eedfb0285ab8b4 authored over 7 years ago
Review http module and tests.

73a11ed80cab88ea24ec44b5f272590b8c4719e7 authored over 7 years ago
Review coding style in framing module.

Also in related tests.

f0981a589ab94971274a2315b4588fff5a0a5e12 authored over 7 years ago
Factor out test setup.

303b35590b080cf27e026cd45c42ee5d6c12d7cb authored over 7 years ago
Add debug logs on asyncio Protocol callbacks.

data_received isn't logged because that would duplicate the logs of
incoming frames, which are m...

fa59b1648f80f950a15f6a5d9d75f1cd67910ac0 authored over 7 years ago
Allow customizing User-Agent and Server headers (#266)

Fix #262.

5592994e8a8f5b418a1b6b2522b71ca7778fe102 authored over 7 years ago
Only set close code when receiving close frame.

The RFC is clear about this:

> _The WebSocket Connection Close Code_ is defined as the status c...

4ad3b1a7f9860e4dd7916b0f8a4385b6435225ac authored over 7 years ago
Refactor asyncio.StreamReaderProtocol methods.

* Move client_connected() next to __init__(): that's where it's
* referenced.
* Set write transp...

3ecd5475ee3b39c9698e46e9b53418c74b1c720d authored over 7 years ago
Support asynchronous iteration of protocol instances.

Kudos to @cjerdonek for the idea and proof of concept.

Fix #192. Ref #195.

32081781e99d9a8244c262da838f5c2b0bbf6b54 authored over 7 years ago
Reduce verbosity of fail connection log.

"Failing the WebSocket connection" is an essential concept in the RFC,
but it's only relevant fo...

570661453b7c69d133c0d97f45ebc09809d0ee87 authored over 7 years ago
Avoid leaking tasks when close() is cancelled.

Fix #142.

Thanks @cjerdonek for diagnosing this tricky issue.

Also add a test for a code path ...

0ae899ced8e38f1222aaa8dcd2da19a193c7f5c6 authored over 7 years ago
Parse Sec-WebSocket-Protocol robustly.

Fix #257.

37650ae60cc92f2073f271e57af2bfc27cdc9636 authored over 7 years ago
Extensions are implemented now.

9f8539f3060c8c5c19e1ddeda146716b49382d34 authored over 7 years ago
correct spelling mistake

96bcc64e9098ce6c1c3597deca05c8aaf7f03f2b authored over 7 years ago
Take advantage of re.fullmatch.

cf5b5e74521c84527162d7b8932dbbaaa6f2d4c0 authored over 7 years ago
Take advantage of TestCase.subTest.

fb71c7d8f81a5a36a0054ebbf4912922b0ed219f authored over 7 years ago
Drop support for Python 3.3.

Python 3.3 is reaching EOL at the end of the month.

22bff9c9d563d04679b81de023aab5ae424016aa authored over 7 years ago
Merge pull request #178 from aaugustin/extensions

Add support for extensions (#93)

2b940ef1e0b0fc5fafbfca16919f38d2b6dd0ea4 authored over 7 years ago
Handle multiple HTTP headers with the same name.

3de517876de82f8cac827eb8dc890d3769ab995f authored over 7 years ago
Update compliance notes.

efd5d086c8fa5b593fcf7df31ba55dac9f012033 authored over 7 years ago
Reject multiple instances of permessage-deflate.

d2b61f7055a4eae7c8187a818731f30e3bd2c7fb authored over 7 years ago
Add changelog for extensions.

cf4db037a15cc9e21e74e3399d5268e8f98fd2bb authored over 7 years ago
Specify more closely extension negotiation.

Remove the unclear distinction between "not accepting an exception" and
"raising a negotiation e...

d8f5df1f8929af0ca62cfd12d3d91c8beac37b2f authored over 7 years ago
Make it possible to tweak compression settings.

89725778f6f6ff43dac49aadd5c600fc683d35c3 authored over 7 years ago
Improve the simple configuration for compression.

Make it a bit more future-proof.

2907f80c8832a2d60261abc3c8e7161a06af130f authored over 7 years ago
Stop special casing [] in build_extension_list.

This makes build_extension_list and parse_extension_list more exactly
the opposite of each other...

d1c4981a82b6c255cbee75fcd11f3f2dc4c70d5f authored over 7 years ago
Require parameter values to match the token ABNF.

cb669973247f5a6df4d07128759607043f071f92 authored over 7 years ago
Add tests for extension negotiation.

1e81db7d07412bf521d4be99200b41169b5f4236 authored over 7 years ago
Add full test coverage for permessage-deflate.

09d443971b6b126eab55d6b961880c54dabdbcdd authored over 7 years ago
Avoid sending empty `Sec-WebSocket-Extensions` when no extension was negotiated

6b94888efb5c90f4955f0a04e884aff61e489c8f authored over 7 years ago
Add test coverage for websockets.extensions.base.

79abe9961c136ae04356337bb57f609c9a41ab47 authored over 7 years ago
Implement permessage-deflate negotiation.

WIP - needs tests

7e878e6d0e479b7df251aaa65c58922fb71e8a74 authored over 7 years ago
Implement serialization of Sec-WebSocket-Extensions.

e7773be7c69b4e52f0c20de1846ef7b7a4e3a374 authored over 7 years ago