def stream.mk
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-zlib@0.5.0.0/zlib.bend as Zlib
4692# Bytes past the body put the socket out of step with the server, so it cannot go back to a pool.
4693def stream.mk(+tls: Bool, s: Socket, +ms: U32, res: Res, decs: List<&1, Zlib.Decoder>, back: Maybe<&2, String>, x: Pc & Bool) -> Stream:
4694 (pc, extra) = x
4695 Pc{rb, out} = pc
4696 Stream{tls, s, ms, res, rb, out, decs, Bool.pick(Maybe<&2, String>, extra, None{}, back)}