We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

GET fails after PROPFIND request takes a lot of time to process. [Answered]RSS

1 reply

Last post Aug 07, 2009 01:06 PM by anilr

  • GET fails after PROPFIND request takes a lot of time to process.

    Aug 07, 2009 12:55 PM|vsoro00|LINK

    Our custom isapi function processes PROPFIND and GET requests. First PROPFIND requests finds all the files in the folder, and then GET requests sent to download all those files that were found.

    Whenever it takes long enough time to process PROPFIND request (which happens when there are qutie a lot of files in the folder which is being processed in the PROPFIND request), the next GET request fails in this ServerSupportFunction call:

     if (!pECB->ServerSupportFunction(
                        pECB->ConnID,
                        HSE_REQ_VECTOR_SEND,
                        &ResponseVector,
                        NULL,
                        NULL
                        ))
            {
                DEBUGPRINT(L"Failed to send file (%lu)", GetLastError());
                goto end;
            }

    Last error is 1229, which  is "An operation was attempted on a nonexistent network connection."

    Does anyone know why this happens and how to ensure it does not happen?

    Thank you.

     

     

     

    isapi

  • Re: GET fails after PROPFIND request takes a lot of time to process.

    Aug 07, 2009 01:06 PM|anilr|LINK

    The error indicates that the client has disconnected - collect network traces to verify that - you may need to either increase the client timeout or respond quicker to the request.

    Anil Ruia
    Software Design Engineer
    IIS Core Server