On Fri, Dec 02, 2022 at 08:53:07AM +0000, Emmanuel Dreyfus wrote: > Hello > > I made some progress with the combined GET+PROPFIND specified > by MS-WDV (for a summary, see > https://lists.apache.org/thread/57s1vvl6k9qpdv5ym7mtcl29bd933w7k ) > > Attached is the diff against trunk, form comments.
Hi Emmanuel, That's a very weird protocol design, wow. Have you tested this with a long PROPFIND response? It needs to buffer the entire response in the output brigade to work out the length in the "multipart" prefix, but mod_dav will flush output brigades down the filter chain regularly during the multistatus response processing. I think this might need to do something more complex, maybe running the PROPFIND in a subrequest properly and capturing (buffering) the output in a custom filter, rather than using the mod_dav internal API directly. Have you tried using ap_sub_req_method_uri()? Not sure this has been tried before with mod_dav so might well be something I'm missing. Regards, Joe