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

Improve implementation of test_recv_cancelled.

Use an explicit cancellation after 1ms instead of a timeout after 1s to
cancel recv(). This make...

d3219088d393f4e7bc6d7610d21c8b0d0580dfb2 authored over 9 years ago
Client is allowed to close the connection.

Remove more comments related to my misunderstanding of this point.

dc711581a48e2f9b57dee98aecc716128654154e authored over 9 years ago
Add receive_eof to match receive_frame.

Clarify how the connection close sequence works in asyncio transports.

Remove two tests for a s...

b6120037b71752443bddd683eaba620ef5ea5dab authored over 9 years ago
Rename feed to receive_frame.

This is more explicit.

56ad98fc1f0ba025edfa172f7b4caef31978d2d4 authored over 9 years ago
Materialize the transport mock in its own class.

2437caa994e5a6cbfa79674ec99805890ee2e7c0 authored over 9 years ago
Initialize worker when reader/writer are available.

Theoretically there was a race condition here.

0bf62b695f128e451f13bc5e6b7f655781c8393f authored over 9 years ago
Remove unneeded mock attribute.

The implementation of asyncio must have changed since it was added.

a3444c4dc39d452cb2b1cd368b5ec1b6972d2972 authored over 9 years ago
Add an environment variable to adjust test timeouts.

6e9f7e4bdecdc6c4f95603a74611ec40dfad2c60 authored over 9 years ago
Remove a misunderstanding of the specification.

As explained properly in the remainder of the library, clients are
allowed to start the WebSocke...

4bb82d95ae34592fcf861cdaf02faeca0c6a6249 authored over 9 years ago
Improve the cheat sheet a bit.

8971978a7ccb2fc0a43739239912ba073905e536 authored over 9 years ago
Proof-read and improve the documentation.

* Explain how to serve or connect to wss:// endpoints.
* Make WebSocketURI a public API.
* Add d...

7cb30eaa88fa0b1352d7cbcb0950c74d6cf88eac authored over 9 years ago
Add debugging advice.

Try to deflect asyncio-related problems to Python's support channels.

c7ee9f2076b02796c76b7816adb334c74c258697 authored over 9 years ago
Provide access to HTTP headers as MIME messages.

Document the private API to acces them as a list of (name, value) pairs.

Fix #24.

25d8de0ab0e4c9ffda63997066ebd91959cb1d56 authored over 9 years ago
Move documentation of a limitation.

1a1cf65b3472be3a0a061e4207edf4f4d0c5496d authored over 9 years ago
Scheme and hostname are case-insensitive.

No code changes are needed because urllib.parse.urlparse already does
the right thing.

1b90eb080a47e369ed01d4ff434d5c37f2a1561e authored over 9 years ago
Return a HTTP 403 when Origin isn't allowed.

54f32334490895d63b56ea9c872038292080365a authored over 9 years ago
Fix remaining flake8 warnings.

9638bee3b7890c48529e7b93f167d0fdbe14eff1 authored over 9 years ago
Allow customizing response headers depending on request headers.

ad9f24d56dc21493dba0d88b472096b78b872ebe authored over 9 years ago
Use symbolic constants for protocol states.

659cb30126d3cd24b4c05f84499b26efa7e891ad authored over 9 years ago
Normalize import style with isort.

739f9d1057cea1e0039b664bbf5f6e88138c46c6 authored over 9 years ago
Fix a test case and add another.

25aba2beceda000d89aab969fec96fc1678e6f6a authored over 9 years ago
No one remembers what Tulip was.

4bb47d3b6f587785cba0d6210636fec126aa9be6 authored over 9 years ago
Uniformize setup and teardown code.

1df3c9989add437fcb1ac7ffc798f7a3e75be56e authored over 9 years ago
Start and stop server explicitly in tests.

This is a bit more verbose but avoids the awkward pattern of stopping
the server and restarting ...

01980b8ed6aecd86f36883293d7fc0b71c13ad8d authored over 9 years ago
Close sockets correctly in tests.

This prevents spurious ResourceWarnings on Python 3.4.

3b170ad097db8a5b86d574572d283cf981c7b36b authored over 9 years ago
Factor out repeated code.

e7cdda188006cdc5946551507a252b378609c450 authored over 9 years ago
Remove leftover debugging code.

c3a71a1405269db361b256af623daebf4202f338 authored over 9 years ago
Add flake8 and fix warnings.

6a3ed1ecc6edb788a05783028af1d64dcd25f612 authored over 9 years ago
Small adjustments & changelog for previous commit.

Ref #60.

14473689ae0f92f7aee16868fd41665e3ad9aac0 authored over 9 years ago
Pass event loop explicitly to all asyncio objects

Fix #60.

381a3641ba997a33e19acb73721e324c96d01635 authored over 9 years ago
Very minor cleanup.

fb58aa61c8f77e73adb7e591e7a65acbf8470499 authored over 9 years ago
Enable asyncio's debug tools in tests.

6624dc8e0a6ca4cdaf8af2e65ba8bbc85589b96a authored over 9 years ago
Add a missing "yield from" in a test utility.

Since the result of this method was always yielded from, this bug didn't
have visible effects.

8e406194ed412b06a6c88ec9824684a06a41d3c1 authored over 9 years ago
Import collections.abc for Python 3.4.

Thanks @SzieberthAdam for the report and initial patch.

Fix #62.

23878bc5b0ad85d6a2cf6e7f9c80876b99916f23 authored over 9 years ago
Documented the fix for #50.

a621764215c5abdd78808df7ec9bd1b3c265d39c authored over 9 years ago
Merge pull request #50 from Natim/50_timeout_on_recv

Don't swallow the next message when websocket.recv() is cancelled.

8eca627048fd2b03f25d35035d651394f2ec7dff authored over 9 years ago
Allow customizing request or response HTTP headers.

Thanks @knutae for providing an initial patch.

Fix #47.

6ce37977296199aa888881b0bfd75ed0f67a2502 authored over 9 years ago
Document how to multiplex reads and writes.

Fix #48.

0a815f860550ac89eefd27d626d5b7d02543c48d authored over 9 years ago
Add tox configuration file.

e8a12dfc54ed23904a1926ef196523d1b07837c7 authored over 9 years ago
Add a cheat sheet to the documentation.

Also improve markup while I'm in the area.

8c3e856390a2bc27e3e97c8367e036c166a84e6a authored over 9 years ago
Minor fixes.

72bfb7af489001a50c78f9e2f79ec9748d30914f authored over 9 years ago
The closing handshake can be initiated by the client.

I had misunderstood the RFC. It's the TCP closing handshake that should
be initiated by the serv...

9469965a6552c038232ae987e473199451295730 authored over 9 years ago
Fix #50 — Make sure protocol.recv() can be Cancelled without loosing messages.

e65f032116a1ee95f8e80b622362ee813f5158a9 authored almost 10 years ago
Improve documentation.

7d8191699a6d647c1b45e3e11681c5987437e5b5 authored about 10 years ago
Bump version number.

9b81b7e5da8cc37cd7644ad58ac9648070703fe8 authored about 10 years ago
Automatically bump copyright year in docs.

2893f08c19bddc9912c58821bfbd429e9b98716a authored about 10 years ago
Add support for subprotocols.

Fix #38.

0f1697fcfde2656b8a2b6a2f100dd99b7ec70bb1 authored about 10 years ago
Support non-default event loop.

Fix #42.

d62a5f267116ccc575f645f5954d027dd3c41cb0 authored about 10 years ago
Fix compliance tests.

5b204ddec43cea65e53d184b7656fc4cae1d4071 authored about 10 years ago
Bump version number.

67fa773d72b6b3888e86ae65f3d4f89ceb705198 authored over 10 years ago
Changelog for 2.3.

0f72a4d80e8ce67febfca1d5f95cbaf952e4ebb3 authored over 10 years ago
Second attempt at producing wheels.

Fix #35. Refs #25.

634c329958f5707a687f96d51106a9f17477d355 authored over 10 years ago
Improve handling of concurrent close from both sides.

This fixes random failures in the test suite.

43d334f4e19e2a9755c44448b47fa8ff07e9b0fb authored over 10 years ago
Connection failures are 1006 errors, not 1002.

1520cc1f2d1310529fdb5164ddfced1e4ac1c080 authored over 10 years ago
Normalize tolerance in tests.

2f9c24e9adff980855e5d4c2493a68259e295e68 authored over 10 years ago
Prevent incomplete task leak in recv.

1f8bd3ade280a3d7e1254cee7a7379a96a247154 authored over 10 years ago
Bump version number.

7e4ef005696a956def34fa735422ca4e1ef17197 authored over 10 years ago
Document how to write recv and send loops.

Refs #30.

edf3a323e657ffd73229d333995e9b583af17920 authored over 10 years ago
Add support for limiting message length.

Initial patch by Rui Abreu Ferreira, final patch by Aymeric Augustin.

Fix #28, #29.

fdae6c828549a148345bc32aa6de8e10136ca035 authored over 10 years ago
Run the event loop a bit to avoid race conditions.

c19008269801741af1f32ebf0f7fe1fe0658ead8 authored over 10 years ago
Avoid showing stack traces during test runs.

567db4eca52008cd4401124e344ee916f8229d0e authored over 10 years ago
Update signatures in docs, especially for Origin checking.

48b9c0226dd4d770b92459b68d0ef073008bacf2 authored over 10 years ago
Document how to show stack traces for exceptions in handlers.

a01b6ca96e71063af43c0b29d3e1326a8f959f09 authored over 10 years ago
Close connection properly when the socket dies.

This avoids flooding logs with messages output by asyncio:
"socket.send() raised exception."

Fi...

90e0494f53c8670a0bd233b1811ea3b596843a5c authored over 10 years ago
No more wheels, fix #25.

415b3d560cf3691d465189e07339157e2bff598b authored almost 11 years ago
Create universal wheels.

481986fd209c5d0667195390b5f1f56f2ee899a7 authored almost 11 years ago
Bump version number.

07c13192aaa177a86f65acc6041e91d2dd03e2ce authored almost 11 years ago
Death to unicode literals.

bb64dc7aef10d55eebd139255263d35c7a092e76 authored almost 11 years ago
Rename attributes to raw_request/response_headers.

This leaves room for a better API (with case-insensitive lookup etc.) to
be implemented as reque...

ff9e82c912c2fa8581c0acaec364b5563e945cbd authored almost 11 years ago
Add request and response headers to protocols.

They're lists of 2-uples reflecting the HTTP request and response.

I'm not documenting them yet...

a292c73d0f136d650814bdae5257683b7d250055 authored almost 11 years ago
Add new feature to changelog.

cc1de6051f897567a70d0e92ce7809ed458c0851 authored almost 11 years ago
Reject ws:// URIs with an SSL context.

It seems better to ask for an explicit wss:// URI.

The reverse isn't true: it's reasonable to c...

dec978e0c5fbb0e947913427e88bdd92185520fb authored almost 11 years ago
Add host, port and secure attributes to protocols.

Refs #20.

598f9bac94494a5fd7d757fa440ebdb837949374 authored almost 11 years ago
Make error handling more robust in the server.

Fix #23.

8d0ebc241c3d318b698e45c64523ee10eba61b68 authored almost 11 years ago
Fix some resource warnings in tests.

18a809ca6ac546e4a3c0e5ca3540f80bdf42afb9 authored almost 11 years ago
Incorrect assertion when closing SSL connections.

Fix #22.

ad5cb55dfe97d1b107422ca8bd1e7a725ac3b331 authored almost 11 years ago
Add tests for SSL connections.

d744d63ceb45e7de8b1e5a2e39ed9fd39d26fbe6 authored almost 11 years ago
Use the new super.

429308623165d3e8772c75d38d7e8ce5b191748b authored almost 11 years ago
Disambiguate URI strings from WebSocketURI tuples.

a47fbd5c9cc24320f3d65b1a83fd74900281de56 authored almost 11 years ago
Disambiguate URI and path.

Technically, handlers receive a "resource_name" or "full_path" ie. a
path + a query string, but ...

53086cf0eabb3503671609edd00985b2c275d22e authored almost 11 years ago
Add HTTP responses on handshake errors.

69103a2ca1f8b586c0db2fcbb20f3ad9d1e39eb5 authored almost 11 years ago
Fix a test that wasn't running.

13bf3354736f219e739dc78e5f5c0cc2ab3058c7 authored almost 11 years ago
Implement Origin checking.

bfac179d417b44e3678fa4a6fb1ab67cbb3cbe1a authored almost 11 years ago
Be more consistent in ReST markup.

f714c3fd95bc407a0c59fc496909bf17dc4e9d31 authored almost 11 years ago
Bump version number.

d03ba5669bd386f8e873a620ff6a5a6926b340b4 authored almost 11 years ago
Fix ResourceWarnings under Python 3.4.

c9587401f3ba5a890d3d75078c367bbc0b6ac4a3 authored almost 11 years ago
Don't rely on `coverage` being in $PATH.

024c4a5c98e5f17805bae271c76eeb63252c1ae8 authored almost 11 years ago
Add flow control. Fix #10.

Invoke drain() after each write.

b198151cc6a8e35d34fcc751d02534973855f672 authored almost 11 years ago
Take advantage of StreamReaderProtocol.

This is a step towards supporting flow control.

Refactor connection termination to better follo...

2bf6a14464a97ffeabad8890b11bc403bd59c91c authored almost 11 years ago
AutoBahn no longer reports incorrect failures.

181c8a392c795da19de4f9a8462320ff990a316a authored almost 11 years ago
Account for minor API changes in asyncio.

2659246d4e50cc61fdad57f185440609a3b13ce3 authored almost 11 years ago
Support ping cancellation.

Fix #8.

a13be1f1f2f1af137d1ab256997b1a75079cd59c authored about 11 years ago
Don't rely on utf-8 being the default system encoding.

Fix #7.

53f61fa9c4c3ba10789a1de86aa7a69b8f623414 authored about 11 years ago
Merge pull request #6 from jodal/patch-1

Fix reference to 'websockets.protocols' in plural

38337df9d7b516b493c40860440593bf4066268a authored about 11 years ago
Fix reference to 'websockets.protocols' in plural

21a14088dd198e93f139f0d374321a243cd67553 authored about 11 years ago
Prepare packaging.

1aa31d0545c877aea22d3b4452a4b92dbd631306 authored about 11 years ago
Minor cleanup

469a01d8405844f23a68d889fe29138697b1e129 authored about 11 years ago
Rewrite README and proof-read docs.

f63e8809677a75d219bf250a74900603ed9ea27b authored about 11 years ago
Merge pull request #5 from dzen/master

Adds MANIFEST.in to include README in python package

89f0a0c4e22a43411ba53e1592099c93ddf9be93 authored about 11 years ago
Adds MANIFEST.in to include README in python package

67a3a34bb2b1251cfa15ffda50804a738ecf7614 authored about 11 years ago