Skip to content

Commit

Permalink
fix(lightwave): Split ws msg into 3 parts instead of 4. #2344 (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlie authored Jun 6, 2024
1 parent 58c6c68 commit 4cd7ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/h2o_lightwave/h2o_lightwave/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def _process(self, args: dict):

def _parse_msg(msg: str) -> Optional[dict]:
# protocol: t addr data
parts = msg.split(' ', 3)
parts = msg.split(' ', 2)

if len(parts) != 3:
raise ValueError('Invalid message')
Expand Down

0 comments on commit 4cd7ffa

Please sign in to comment.