"Lin Jen-Shin (godfat)" <god...@godfat.org> wrote: > On Wed, Apr 8, 2015 at 5:34 AM, Eric Wong <e...@80x24.org> wrote: > > + # this probably breaks fewer middlewares than returning whatever > > else... > > + [ 500, [], [] ] > > You probably meant [ 500, {}, [] ] here?
No, arrays work fine, Rack headers just need to respond to #each with key + value strings. I prefer Arrays since they use less memory per-entry, but here they're the same cost when empty. But I'm also likely to revert this patch since it's no longer a drop-in replacement and the old, synchronous ProxyPass is reinstated.