leowebdav icon indicating copy to clipboard operation
leowebdav copied to clipboard

Requests generate 2 connections

Open jokigenki opened this issue 11 years ago • 0 comments

When making a request, it is performed twice, the first time generating the authorisation request, the second completing as expected. This is a big problem when uploading large files, as the file needs to be sent twice to complete the transaction.

The order of execution is as follows:

  1. A new request is created and sent to the server in full.
  2. The request generates an auth challenge, which is sent back to the client
  3. The client supplies the auth details and completes the challenge
  4. The request restarts and then completes correctly.
  5. The completed callbacks are fired on the client.

jokigenki avatar Oct 31 '13 13:10 jokigenki