Project

General

Profile

Bug #1688

mod_secdownload problem on QNX

Added by Anonymous almost 8 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_secdownload
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

Because time_t on QNX is unsigned int mod_secdownload will always get status 410.
A solution could be


if (srv->cur_ts - ts > p->conf.timeout ||
        (int)(srv->cur_ts - ts) < -p->conf.timeout)

The original code is


if (srv->cur_ts - ts > p->conf.timeout ||
        srv->cur_ts - ts < -p->conf.timeout)

-- richard.verzijl

Associated revisions

Revision 3f791f46 (diff)
Added by stbuehler almost 8 years ago

Fix mod_secdownload problem with unsigned time_t (#1688)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2255 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler almost 8 years ago

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

Fixed in r2255

Also available in: Atom