Project

General

Profile

Actions

Feature #1054

closed

mod_secdownload error codes should be configurable

Added by alexlehm about 17 years ago. Updated 3 months ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_secdownload
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

right now, mod_secdownload gives either 403 or 408 as error codes in the two conditions of timeout and invalid hashes, I would prefer to set either 412 (Precondition failed for failed hash) or 410 (Gone for timeout), this can be easily done by patching the source, but it would be nicer to have config vars secdownload.errorcode_...=nnn

Actions #1

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix

And perhaps you want us to send 600 instead of 500 for internal server errors...

I think the current values are good, and if you need other ones: do it yourself. (412 for wrong hash??? just as a stupid user tried to fake a hash or your script has a bug?)

Actions #2

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Wontfix
Actions #3

Updated by gstrauss 3 months ago

  • Description updated (diff)
  • Status changed from Wontfix to Obsolete
  • ASK QUESTIONS IN Forums set to No

mod_secdownload is no longer part of the lighttpd base
For replacement, see lua mod_secdownload

Actions

Also available in: Atom