MINOR: channel: Report EOI on the input channel if it was reached in the mux
The flag CF_EOI is now set on the input channel when the flag CS_FL_EOI is set
on the corresponding conn_stream. In addition, if a read activity is reported
when this flag is set, the stream is woken up.
This patch should be backported to 1.9.
diff --git a/include/types/channel.h b/include/types/channel.h
index 7622ce8..2d79c11 100644
--- a/include/types/channel.h
+++ b/include/types/channel.h
@@ -117,7 +117,7 @@
#define CF_WAKE_ONCE 0x10000000 /* pretend there is activity on this channel (one-shoot) */
#define CF_FLT_ANALYZE 0x20000000 /* at least one filter is still analyzing this channel */
-/* unused: 0x40000000 */
+#define CF_EOI 0x40000000 /* end-of-input has been reached */
#define CF_ISRESP 0x80000000 /* 0 = request channel, 1 = response channel */
/* Masks which define input events for stream analysers */