Re: [streams] Never-released lock / getReader({unreleasable: true}) (#358)

We need to think of possible introduction of partial piping in the future. E.g.:

```
rs1.pipeBytesTo(ws2, 1024);
rs2.pipeTo(ws3);
```

rs1 contains multiple serialized request body data. Now we've read the header and got that the next 1024 bytes are the body to send, and the rest are the other bodies and their headers.

We want to pipe only 1024 bytes to ws2. ws3 represents the fetch() and data should be fully drained from rs2 into ws3.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/358#issuecomment-110226270

Received on Tuesday, 9 June 2015 04:57:14 UTC