View Issue Details

IDProjectCategoryView StatusLast Update
0000759Apache 2.x Feature Requestpublic2022-05-30 18:00
ReporterSteven Levine Assigned ToSteven Levine  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformOS2/eCSOSOS/2 or eComstationOS Version1.x 2.x or 4.5
Product Version2.4.53 
Summary0000759: Disable EnableMMAP directive when httpd built with APR_HAS_MMAP disabled.
DescriptionThe EnableMMAP directive is still available when httpd is built with APR_HAS_MMAP disabled. This is confusing. This ticket proposes the disable the directive when APR_HAS_MMAP is not set. It would be better to report a syntax error and to silently ignore the directive.
TagsNo tags attached.

Activities

Steven Levine

2022-05-26 00:29

manager   ~0004352

Reminder sent to: psmedley

Is there any reason I should not implement this ticket? As I read the code, if APR_HAS_MMAP is not defined, EnableMMAP On will have no effect. Is the correct?

psmedley

2022-05-26 01:07

administrator   ~0004353

I don't see any reason. At some point I should investigate supporting mmap in Apr, but this is complicated by the use of native os/2 API in Apr vs the klibc/Unix API.

psmedley

2022-05-27 23:08

administrator   ~0004367

https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220528.zip will be up shortly and will contain this PR.

Steven Levine

2022-05-30 18:00

manager   ~0004373

This feature is implemented and tested working.

Issue History

Date Modified Username Field Change
2022-05-19 18:44 Steven Levine New Issue
2022-05-19 18:44 Steven Levine Status new => assigned
2022-05-19 18:44 Steven Levine Assigned To => Steven Levine
2022-05-26 00:29 Steven Levine Note Added: 0004352
2022-05-26 01:07 psmedley Note Added: 0004353
2022-05-27 23:08 psmedley Note Added: 0004367
2022-05-30 18:00 Steven Levine Status assigned => resolved
2022-05-30 18:00 Steven Levine Resolution open => fixed
2022-05-30 18:00 Steven Levine Note Added: 0004373