File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 198
198
(then unreachable ))
199
199
(if (i32.ne (local.get $index ) (local.get $insw ))
200
200
(then unreachable ))
201
- (if (i32.ne (local.get $payload ) (i32.const 0xc1 (; CLOSED=1 | (12 << 4) ;) (; TODO: currently returns 0xc0 ;) ))
201
+ (if (i32.ne (local.get $payload ) (i32.const 0xc1 (; CLOSED=1 | (12 << 4) ;) ))
202
202
(then unreachable ))
203
203
204
204
(call $stream.close-writable (local.get $insw ))
Original file line number Diff line number Diff line change 78
78
;; the second call to produce_cb:
79
79
(if (i32.eq (global.get $state ) (i32.const 1 )) (then
80
80
;; confirm we're seeing the non-zero-length write complete
81
- (if (i32.ne (local.get $payload ) (i32.const 0x40 (; COMPLETED=0 | (4 << 4) ;) ))
81
+ (if (i32.ne (local.get $payload ) (i32.const 0x41 (; CLOSED=1 | (4 << 4) ;) ))
82
82
(then unreachable ))
83
83
84
84
(call $stream.close-writable (global.get $outsw ))
You can’t perform that action at this time.
0 commit comments