Xuanwo commented on code in PR #2256:
URL: 
https://github.com/apache/incubator-opendal/pull/2256#discussion_r1191439098


##########
core/src/services/webdav/backend.rs:
##########
@@ -471,6 +472,79 @@ impl WebdavBackend {
         self.client.send(req).await
     }
 
+    // read will send http request for dav access.
+    // sometimes we need to send request to different endpoint when server side
+    // indicate we need to redirect to another url.
+    #[async_recursion]

Review Comment:
   We don't need to do recursion, we can expand the redirection by hand. And we 
should add a new config value for the redirection limit (maybe default to 3 
times).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to