Bug #1688
mod_secdownload problem on QNX
| Status: | Fixed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | mod_secdownload | |||
| Target version: | 1.5.0 | |||
| Pending: | No |
Resolution: | fixed |
|
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