since-v1.diff.txt
text/plain
Filename: since-v1.diff.txt
Type: text/plain
Part: 0
1: ddb7875bb58 = 1: 379c12b5d26 oauth: Remove stale events from the kqueue multiplexer
2: a871ce498ea = 2: f30317d7265 oauth: Remove expired timers from the multiplexer
3: 5033b6d51c1 = 3: d243d28964d oauth: Track total call count during a client flow
4: f4a640f7995 ! 4: ca6fd237653 oauth: Add unit tests for multiplexer handling
@@ src/interfaces/libpq-oauth/test-oauth-curl.c (new)
+ *
+ * NB: our current multiplexer implementations (epoll/kqueue) are *readable*
+ * when the underlying libcurl sockets are *writable*. This behavior is pinned
-+ * here to record that expectation, but it's not a required part of the API. If
-+ * you've added a new implementation that doesn't have that behavior, feel free
-+ * to modify this test.
++ * here to record that expectation; PGRES_POLLING_READING is hardcoded
++ * throughout the flow and would need to be changed if a new multiplexer does
++ * something different.
+ */
+#define mux_is_ready(MUX, DEADLINE, TEST) \
+ do { \