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/peers.c b/src/peers.c
index 8fc84bc..dd73fa2 100644
--- a/src/peers.c
+++ b/src/peers.c
@@ -3195,7 +3195,7 @@
}
sc_shutw(sc);
sc_shutr(sc);
- sc_ic(sc)->flags |= CF_READ_NULL;
+ sc_ic(sc)->flags |= CF_READ_EVENT;
goto out;
}
}