[web-devel] [Yesod] Next version of WAI: cleaning house
Michael Snoyman
michael at snoyman.com
Tue Jul 23 13:48:31 CEST 2013
On Tue, Jul 23, 2013 at 2:10 PM, Erik de Castro Lopo
<mle+hs at mega-nerd.com>wrote:
> Michael Snoyman wrote:
>
> > - Remove the deprecated isSecure field from the Request data type.
> > - Remove the misleading fields serverName and serverPort fields as
> well.
> > - Possibly: hide the Request constructor so that new fields can be
> added
> > without breaking backwards compatibility.
> >
> > If anyone else has some ideas, please bring them up.
>
> Warning, the following idea is not even half baked.
>
> It would be really nice if the new Wai allowed the implementation
> (as a Wai application) of a full HTTP and HTTPS proxy capable of
> stream data in both directions with constant space usage.
>
> I was able to implement a proxy like this [0] with a hacked version
> of Warp based on Enumerator and a version of Warp based on Conduit
> 0.2. For later versions of Conduit I was never able to get it to
> run in constant space.
>
> Happy to help in any way I can.
>
>
I'm still quite interested in getting this use case to work, but I'm also
still not familiar enough with the current problems you've faced to have an
idea on what to change.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20130723/4b1f943d/attachment.htm>
More information about the web-devel
mailing list