Skip to content

Large JSON messages over i3ipc socket are truncatedΒ #213

Open
@apeyser

Description

Current code calls socket.recv with the size of the json message from the struct_header; this assumes incorrectly that the message can be read in a single slurp. Instead, scoket.recv_into should be used to read in chunks until the full message is read.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions