domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
961 stars 209 forks source link

Fix for deadlock with large report #508

Closed rhykw closed 1 month ago

rhykw commented 3 months ago

Fix for #507

When subprocess pipe buffers run out it will usually leads to a blocked write, which deadlocks the subprocess trying to write. To avoid it, I would like to suggest bringing conn.recv() before proc.join().