File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 198198 (then unreachable ))
199199 (if (i32.ne (local.get $index ) (local.get $insw ))
200200 (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) ;) ))
202202 (then unreachable ))
203203
204204 (call $stream.close-writable (local.get $insw ))
Original file line number Diff line number Diff line change 7878 ;; the second call to produce_cb:
7979 (if (i32.eq (global.get $state ) (i32.const 1 )) (then
8080 ;; 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) ;) ))
8282 (then unreachable ))
8383
8484 (call $stream.close-writable (global.get $outsw ))
You can’t perform that action at this time.
0 commit comments