Bug #1688

mod_secdownload problem on QNX

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:mod_secdownload
Target version:1.5.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

History

#1 Updated by stbuehler over 6 years ago

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

Fixed in r2255

Also available in: Atom