> -----Original Message----- > From: Jeff Trawick I think there is a bigger design discussion that should > happen, but I might have a patch down the road as a starter > if all goes well at work. > > This is probably naive, but something to take pot shots at... > > use r->trailers_out > > non-empty r->trailers_out could force chunked encoding, as well as > convey the trailers themselves > > 500 error if trailers set by the time chunking decision is made and > caller can't handle > > consider logging msg if trailers found after response already started > but trailers can't be sent for some reason (i.e., output filter adds > trailer but trailers can't be sent) > > suppress-trailers or similar envvar probably needed for > problematic clients >
+1. Sounds reasonable. Regards Rüdiger
