Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wspy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
wspy
Commits
09bf4463
Commit
09bf4463
authored
Nov 02, 2013
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected typo
parent
b3045051
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
websocket.py
websocket.py
+2
-2
No files found.
websocket.py
View file @
09bf4463
...
@@ -190,7 +190,7 @@ class websocket(object):
...
@@ -190,7 +190,7 @@ class websocket(object):
Send any queued data. If all data is sent, STATE_WRITE is removed from
Send any queued data. If all data is sent, STATE_WRITE is removed from
the state mask.
the state mask.
"""
"""
assert
self
.
state
|
STATE_WRITE
assert
self
.
state
&
STATE_WRITE
assert
len
(
self
.
sendbuf
)
assert
len
(
self
.
sendbuf
)
nwritten
=
self
.
sock
.
send
(
self
.
sendbuf
)
nwritten
=
self
.
sock
.
send
(
self
.
sendbuf
)
...
@@ -202,7 +202,7 @@ class websocket(object):
...
@@ -202,7 +202,7 @@ class websocket(object):
def
do_async_recv
(
self
,
bufsize
):
def
do_async_recv
(
self
,
bufsize
):
"""
"""
"""
"""
assert
self
.
state
|
STATE_READ
assert
self
.
state
&
STATE_READ
self
.
recvbuf
+=
self
.
sock
.
recv
(
bufsize
)
self
.
recvbuf
+=
self
.
sock
.
recv
(
bufsize
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment