liquidm/zmachine — pull request #4 by sixtus (2014-10-15 09:35:09+00:00)
Title: Fc39 debug slow communication between zerohttp heimdall

This was a hard bug to find.

By the design of zmachine a single trigger "tcp data available" can trigger at most one data delivery. However, the kernel pre-merges tcp packets, i.e. there can be more than one data msg per tcp callback.

This patch allows to loop until all data events are delivered.