yesodweb/wai — pull request #20 by yihuang (2011-11-18 07:36:49+00:00)
Title: add settingsRechunk to allow precisely chunking behaviour.

When implementing chunking_test function of sockjs [1], i encountered this problem, that i have no way to control data chunking behavior, `builderToByteString` always copy response data into buffers with proper size.
So i add this settings option to disable `builderToByteString`, thus allow full chunking behavior control.
This patch don't affect current behavior.

[1]. http://sockjs.github.com/sockjs-protocol/sockjs-protocol-0.1.html#section-27