[Reconnoiter-devel] [reconnoiter commit] r813 - trunk/src

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Sun Aug 30 20:38:47 EDT 2009


Author: jesus
Date: 2009-08-30 20:38:47 -0400 (Sun, 30 Aug 2009)
New Revision: 813

Modified:
   trunk/src/stratcon_jlog_streamer.c
Log:
Since this is over SSL, it is possible that we need write to do our read.
We should register the completion with all possible trigger types and then
"try" and set the mask we need upon return of first call.

This is an edge case and I'm convinced this isn't the actual fix to the problem
we're seeing.

refs #58


Modified: trunk/src/stratcon_jlog_streamer.c
===================================================================
--- trunk/src/stratcon_jlog_streamer.c	2009-08-16 01:38:33 UTC (rev 812)
+++ trunk/src/stratcon_jlog_streamer.c	2009-08-31 00:38:47 UTC (rev 813)
@@ -270,7 +270,7 @@
           eventer_remove_fd(e->fd);
           completion_e = eventer_alloc();
           memcpy(completion_e, e, sizeof(*e));
-          completion_e->mask = EVENTER_WRITE | EVENTER_EXCEPTION;
+          completion_e->mask = EVENTER_READ | EVENTER_WRITE | EVENTER_EXCEPTION;
           ctx->state = JLOG_STREAMER_WANT_CHKPT;
           ctx->push(DS_OP_CHKPT, &nctx->r.remote, completion_e);
           noitL(noit_debug, "Pushing batch asynch...\n");



More information about the Reconnoiter-devel mailing list