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
Use an explicit cancellation after 1ms instead of a timeout after 1s to
cancel recv(). This make...
Remove more comments related to my misunderstanding of this point.
dc711581a48e2f9b57dee98aecc716128654154e authored over 9 years agoClarify how the connection close sequence works in asyncio transports.
Remove two tests for a s...
b6120037b71752443bddd683eaba620ef5ea5dab authored over 9 years agoThis is more explicit.
56ad98fc1f0ba025edfa172f7b4caef31978d2d4 authored over 9 years ago2437caa994e5a6cbfa79674ec99805890ee2e7c0 authored over 9 years ago
Theoretically there was a race condition here.
0bf62b695f128e451f13bc5e6b7f655781c8393f authored over 9 years agoThe implementation of asyncio must have changed since it was added.
a3444c4dc39d452cb2b1cd368b5ec1b6972d2972 authored over 9 years ago6e9f7e4bdecdc6c4f95603a74611ec40dfad2c60 authored over 9 years ago
As explained properly in the remainder of the library, clients are
allowed to start the WebSocke...
8971978a7ccb2fc0a43739239912ba073905e536 authored over 9 years ago
* Explain how to serve or connect to wss:// endpoints.
* Make WebSocketURI a public API.
* Add d...
Try to deflect asyncio-related problems to Python's support channels.
c7ee9f2076b02796c76b7816adb334c74c258697 authored over 9 years agoDocument the private API to acces them as a list of (name, value) pairs.
Fix #24.
25d8de0ab0e4c9ffda63997066ebd91959cb1d56 authored over 9 years ago1a1cf65b3472be3a0a061e4207edf4f4d0c5496d authored over 9 years ago
No code changes are needed because urllib.parse.urlparse already does
the right thing.
54f32334490895d63b56ea9c872038292080365a authored over 9 years ago
9638bee3b7890c48529e7b93f167d0fdbe14eff1 authored over 9 years ago
ad9f24d56dc21493dba0d88b472096b78b872ebe authored over 9 years ago
659cb30126d3cd24b4c05f84499b26efa7e891ad authored over 9 years ago
739f9d1057cea1e0039b664bbf5f6e88138c46c6 authored over 9 years ago
25aba2beceda000d89aab969fec96fc1678e6f6a authored over 9 years ago
4bb47d3b6f587785cba0d6210636fec126aa9be6 authored over 9 years ago
1df3c9989add437fcb1ac7ffc798f7a3e75be56e authored over 9 years ago
This is a bit more verbose but avoids the awkward pattern of stopping
the server and restarting ...
This prevents spurious ResourceWarnings on Python 3.4.
3b170ad097db8a5b86d574572d283cf981c7b36b authored over 9 years agoe7cdda188006cdc5946551507a252b378609c450 authored over 9 years ago
c3a71a1405269db361b256af623daebf4202f338 authored over 9 years ago
6a3ed1ecc6edb788a05783028af1d64dcd25f612 authored over 9 years ago
Ref #60.
14473689ae0f92f7aee16868fd41665e3ad9aac0 authored over 9 years agoFix #60.
381a3641ba997a33e19acb73721e324c96d01635 authored over 9 years agofb58aa61c8f77e73adb7e591e7a65acbf8470499 authored over 9 years ago
6624dc8e0a6ca4cdaf8af2e65ba8bbc85589b96a authored over 9 years ago
Since the result of this method was always yielded from, this bug didn't
have visible effects.
Thanks @SzieberthAdam for the report and initial patch.
Fix #62.
23878bc5b0ad85d6a2cf6e7f9c80876b99916f23 authored over 9 years agoa621764215c5abdd78808df7ec9bd1b3c265d39c authored over 9 years ago
Don't swallow the next message when websocket.recv() is cancelled.
8eca627048fd2b03f25d35035d651394f2ec7dff authored over 9 years agoThanks @knutae for providing an initial patch.
Fix #47.
6ce37977296199aa888881b0bfd75ed0f67a2502 authored over 9 years agoFix #48.
0a815f860550ac89eefd27d626d5b7d02543c48d authored over 9 years agoe8a12dfc54ed23904a1926ef196523d1b07837c7 authored over 9 years ago
Also improve markup while I'm in the area.
8c3e856390a2bc27e3e97c8367e036c166a84e6a authored over 9 years ago72bfb7af489001a50c78f9e2f79ec9748d30914f authored over 9 years ago
I had misunderstood the RFC. It's the TCP closing handshake that should
be initiated by the serv...
e65f032116a1ee95f8e80b622362ee813f5158a9 authored almost 10 years ago
7d8191699a6d647c1b45e3e11681c5987437e5b5 authored about 10 years ago
9b81b7e5da8cc37cd7644ad58ac9648070703fe8 authored about 10 years ago
2893f08c19bddc9912c58821bfbd429e9b98716a authored about 10 years ago
Fix #38.
0f1697fcfde2656b8a2b6a2f100dd99b7ec70bb1 authored about 10 years agoFix #42.
d62a5f267116ccc575f645f5954d027dd3c41cb0 authored about 10 years ago5b204ddec43cea65e53d184b7656fc4cae1d4071 authored about 10 years ago
67fa773d72b6b3888e86ae65f3d4f89ceb705198 authored over 10 years ago
0f72a4d80e8ce67febfca1d5f95cbaf952e4ebb3 authored over 10 years ago
Fix #35. Refs #25.
634c329958f5707a687f96d51106a9f17477d355 authored over 10 years agoThis fixes random failures in the test suite.
43d334f4e19e2a9755c44448b47fa8ff07e9b0fb authored over 10 years ago1520cc1f2d1310529fdb5164ddfced1e4ac1c080 authored over 10 years ago
2f9c24e9adff980855e5d4c2493a68259e295e68 authored over 10 years ago
1f8bd3ade280a3d7e1254cee7a7379a96a247154 authored over 10 years ago
7e4ef005696a956def34fa735422ca4e1ef17197 authored over 10 years ago
Refs #30.
edf3a323e657ffd73229d333995e9b583af17920 authored over 10 years agoInitial patch by Rui Abreu Ferreira, final patch by Aymeric Augustin.
Fix #28, #29.
fdae6c828549a148345bc32aa6de8e10136ca035 authored over 10 years agoc19008269801741af1f32ebf0f7fe1fe0658ead8 authored over 10 years ago
567db4eca52008cd4401124e344ee916f8229d0e authored over 10 years ago
48b9c0226dd4d770b92459b68d0ef073008bacf2 authored over 10 years ago
a01b6ca96e71063af43c0b29d3e1326a8f959f09 authored over 10 years ago
This avoids flooding logs with messages output by asyncio:
"socket.send() raised exception."
Fi...
90e0494f53c8670a0bd233b1811ea3b596843a5c authored over 10 years ago415b3d560cf3691d465189e07339157e2bff598b authored almost 11 years ago
481986fd209c5d0667195390b5f1f56f2ee899a7 authored almost 11 years ago
07c13192aaa177a86f65acc6041e91d2dd03e2ce authored almost 11 years ago
bb64dc7aef10d55eebd139255263d35c7a092e76 authored almost 11 years ago
This leaves room for a better API (with case-insensitive lookup etc.) to
be implemented as reque...
They're lists of 2-uples reflecting the HTTP request and response.
I'm not documenting them yet...
a292c73d0f136d650814bdae5257683b7d250055 authored almost 11 years agocc1de6051f897567a70d0e92ce7809ed458c0851 authored almost 11 years ago
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 agoRefs #20.
598f9bac94494a5fd7d757fa440ebdb837949374 authored almost 11 years agoFix #23.
8d0ebc241c3d318b698e45c64523ee10eba61b68 authored almost 11 years ago18a809ca6ac546e4a3c0e5ca3540f80bdf42afb9 authored almost 11 years ago
Fix #22.
ad5cb55dfe97d1b107422ca8bd1e7a725ac3b331 authored almost 11 years agod744d63ceb45e7de8b1e5a2e39ed9fd39d26fbe6 authored almost 11 years ago
429308623165d3e8772c75d38d7e8ce5b191748b authored almost 11 years ago
a47fbd5c9cc24320f3d65b1a83fd74900281de56 authored almost 11 years ago
Technically, handlers receive a "resource_name" or "full_path" ie. a
path + a query string, but ...
69103a2ca1f8b586c0db2fcbb20f3ad9d1e39eb5 authored almost 11 years ago
13bf3354736f219e739dc78e5f5c0cc2ab3058c7 authored almost 11 years ago
bfac179d417b44e3678fa4a6fb1ab67cbb3cbe1a authored almost 11 years ago
f714c3fd95bc407a0c59fc496909bf17dc4e9d31 authored almost 11 years ago
d03ba5669bd386f8e873a620ff6a5a6926b340b4 authored almost 11 years ago
c9587401f3ba5a890d3d75078c367bbc0b6ac4a3 authored almost 11 years ago
024c4a5c98e5f17805bae271c76eeb63252c1ae8 authored almost 11 years ago
Invoke drain() after each write.
b198151cc6a8e35d34fcc751d02534973855f672 authored almost 11 years agoThis is a step towards supporting flow control.
Refactor connection termination to better follo...
2bf6a14464a97ffeabad8890b11bc403bd59c91c authored almost 11 years ago181c8a392c795da19de4f9a8462320ff990a316a authored almost 11 years ago
2659246d4e50cc61fdad57f185440609a3b13ce3 authored almost 11 years ago
Fix #8.
a13be1f1f2f1af137d1ab256997b1a75079cd59c authored about 11 years agoFix #7.
53f61fa9c4c3ba10789a1de86aa7a69b8f623414 authored about 11 years agoFix reference to 'websockets.protocols' in plural
38337df9d7b516b493c40860440593bf4066268a authored about 11 years ago21a14088dd198e93f139f0d374321a243cd67553 authored about 11 years ago
1aa31d0545c877aea22d3b4452a4b92dbd631306 authored about 11 years ago
469a01d8405844f23a68d889fe29138697b1e129 authored about 11 years ago
f63e8809677a75d219bf250a74900603ed9ea27b authored about 11 years ago
Adds MANIFEST.in to include README in python package
89f0a0c4e22a43411ba53e1592099c93ddf9be93 authored about 11 years ago67a3a34bb2b1251cfa15ffda50804a738ecf7614 authored about 11 years ago