« Previous Next »

Not Answered Thread: PROPFIND to respond in a timely manner. How?

Last post 11-18-2009 1:55 AM by davcox. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 09-30-2009, 2:05 PM

    • vsoro00
    • Not Ranked
    • Joined on 07-24-2009, 9:38 PM
    • Posts 7

    PROPFIND to respond in a timely manner. How?

    Hello,

     Our custom isapi is handling PROPFIND requests from our clients. We would like to decrease response time. The whole response might take a lot of time when folder that we are sending PROPFIND request for contains a lot of files/folders. Currently we send response through ServerSupportFunction in a response vector which combines info about all files/folders (using HSE_REQ_VECTOR_SEND parameter).

    We think it might be possible to do this by using WriteClient function and sending data to client - one file (or folder) at a time, perhaps by calling writeclient multiple times.

    Does anyone know (and could provide a code sample which shows) how this is done?

    Thank you so much. 

  • 11-18-2009, 1:55 AM In reply to

    • davcox
    • Top 50 Contributor
    • Joined on 07-21-2006, 2:28 PM
    • Redmond
    • Posts 217

    Re: PROPFIND to respond in a timely manner. How?

    You should be careful here in your implementation, when we implemented WebDAV, we included checks to limit the depth and size of PROPFIND responses. 

    You should have some configurable limit on the folder depth you will search and the size of the response XML you will generate (before aborting the request). 

    Any reason not to use WebDAV 7.5? 

    Dave

Page 1 of 1 (2 items)
Microsoft Communities