REORG: channel: Rename CF_READ_NULL to CF_READ_EVENT
CF_READ_NULL flag is not really useful and used. It is a transient event
used to wakeup the stream. As we will see, all read events on a channel may
be resumed to only one and are all used to wake up the stream.
In this patch, we introduce CF_READ_EVENT flag as a replacement to
CF_READ_NULL. There is no breaking change for now, it is just a
rename. Gradually, other read events will be merged with this one.
diff --git a/src/flt_spoe.c b/src/flt_spoe.c
index ed31943..3e4fe97 100644
--- a/src/flt_spoe.c
+++ b/src/flt_spoe.c
@@ -1303,7 +1303,7 @@
sc_shutw(sc);
sc_shutr(sc);
- sc_ic(sc)->flags |= CF_READ_NULL;
+ sc_ic(sc)->flags |= CF_READ_EVENT;
}
/* Destroy the task attached to this applet */
@@ -2022,7 +2022,7 @@
sc_shutw(sc);
sc_shutr(sc);
- sc_ic(sc)->flags |= CF_READ_NULL;
+ sc_ic(sc)->flags |= CF_READ_EVENT;
__fallthrough;
case SPOE_APPCTX_ST_END: