yesodweb/wai — pull request #214 by kazu-yamamoto (2014-01-06 02:57:03+00:00)
Title: Using a connection buffer to send RspBuilder.

This implements #206.

The type of `connBuffer` is now `Buffer.Buffer` (not blaze-builder's `Buffer`). I made this change because `RspBuilder` needs `Buffer.Buffer`.

Blaze-Builder's `Buffer` is created in `RspSource` on demand. It is possible to contain blaze-builder's `Buffer` to avoid the overhead of creation. But I think it is wise to make `Connection` independent from blaze-builder.

@snoyberg please review this.