Fix GETURLS in external special remote protocol to strip downloader prefix from logged url info before checking for the specified prefix.
This doesn't change what GETURLS returns, but only whether it matches any prefix that the external special remote asked for.
This commit is contained in:
parent
e980c56f7f
commit
f0195b2a43
4 changed files with 9 additions and 3 deletions
|
@ -228,8 +228,7 @@ handleRequest' lck external req mp responsehandler
|
|||
handleRemoteRequest (SETURIMISSING key uri) =
|
||||
withurl (SETURLMISSING key) uri
|
||||
handleRemoteRequest (GETURLS key prefix) = do
|
||||
mapM_ (send . VALUE . fst . getDownloader)
|
||||
=<< getUrlsWithPrefix key prefix
|
||||
mapM_ (send . VALUE) =<< getUrlsWithPrefix key prefix
|
||||
send (VALUE "") -- end of list
|
||||
handleRemoteRequest (DEBUG msg) = liftIO $ debugM "external" msg
|
||||
handleRemoteRequest (VERSION _) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue