summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rhimportd/uploadWeb.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhimportd/uploadWeb.go b/src/rhimportd/uploadWeb.go
index 224e91d..e014f71 100644
--- a/src/rhimportd/uploadWeb.go
+++ b/src/rhimportd/uploadWeb.go
@@ -146,6 +146,7 @@ func webUploadHandler(conf *rhimport.Config, db *rddb.DBChan, sessions *rhimport
cancel, attachmentChan := s.AttachUploader()
if attachmentChan == nil || cancel == nil {
+ rhl.Printf("WebUploadHandler: refusing file upload for '%s': session already uploading", srcfile)
webUploadErrorResponse(w, http.StatusForbidden, "upload already in progress")
return
}