Skip to content

Commit

Permalink
Change ws constants to never clash with 1-byte protocol ones
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jul 31, 2016
1 parent 5879343 commit 0b2f61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiohttp/_ws_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class MsgType(IntEnum):
ping = 0x9
pong = 0xa
close = 0x8
closed = 20
error = 21
closed = 0x101
error = 0x102


WS_KEY = b'258EAFA5-E914-47DA-95CA-C5AB0DC85B11'
Expand Down

0 comments on commit 0b2f61d

Please sign in to comment.