Last batch of optimizations
This commit is contained in:
@@ -34,9 +34,9 @@ func HandleGetRequest(w http.ResponseWriter, r *http.Request, t *intTor.TorrentM
|
||||
// If there are less than 3 segments, return an error or adjust as needed
|
||||
if len(segments) <= 3 {
|
||||
if isDav {
|
||||
dav.HandlePropfindRequest(w, r, t, c)
|
||||
dav.HandlePropfindRequest(w, r, t)
|
||||
} else {
|
||||
intHttp.HandleDirectoryListing(w, r, t, c)
|
||||
intHttp.HandleDirectoryListing(w, r, t)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user