Changeset 23cfce8f39a09276852fa5e6455f3de80ab85b87
- Timestamp:
- 08/31/09 00:38:47
(4 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
| rb9a4230 |
r23cfce8 |
|
| 271 | 271 | completion_e = eventer_alloc(); |
|---|
| 272 | 272 | memcpy(completion_e, e, sizeof(*e)); |
|---|
| 273 | | completion_e->mask = EVENTER_WRITE | EVENTER_EXCEPTION; |
|---|
| | 273 | completion_e->mask = EVENTER_READ | EVENTER_WRITE | EVENTER_EXCEPTION; |
|---|
| 274 | 274 | ctx->state = JLOG_STREAMER_WANT_CHKPT; |
|---|
| 275 | 275 | ctx->push(DS_OP_CHKPT, &nctx->r.remote, completion_e); |
|---|