Skip to content

Large JSON messages over i3ipc socket are truncated #213

@apeyser

Description

@apeyser

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

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions