Changeset 23cfce8f39a09276852fa5e6455f3de80ab85b87

Show
Ignore:
Timestamp:
08/31/09 00:38:47 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1251679127 +0000
git-parent:

[b9a4230bc7f65c1268a1569d08ffc92d1074bc68]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1251679127 +0000
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_jlog_streamer.c

    rb9a4230 r23cfce8  
    271271          completion_e = eventer_alloc(); 
    272272          memcpy(completion_e, e, sizeof(*e)); 
    273           completion_e->mask = EVENTER_WRITE | EVENTER_EXCEPTION; 
     273          completion_e->mask = EVENTER_READ | EVENTER_WRITE | EVENTER_EXCEPTION; 
    274274          ctx->state = JLOG_STREAMER_WANT_CHKPT; 
    275275          ctx->push(DS_OP_CHKPT, &nctx->r.remote, completion_e);