https://issues.apache.org/bugzilla/show_bug.cgi?id=54254

            Bug ID: 54254
           Summary: Check AsyncRequestWorkerFactor to make the checking
                    style consistent
           Product: Apache httpd-2
           Version: 2.4.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_event
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 29712
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29712&action=edit
a simple checker for AsyncRequestWorkerFactor

Hi, 

In mpm_event (server/mpm/event/event.c), there're some minor checking problem
for the AsyncRequestWorkerFactor directive, which makes the configuration
checking style inconsistent. 

Basically, if the input is a negative value, the code converts it to a super
big unsigned integer. I suggest to add a checker like all the other module
directives do. For example, LimitRequestLine, LimitRequestFieldsize,
CacheMin/MaxFileSize, etc. I personally really like the idea of careful
checking in Apache httpd.

The patch is really simple and tested.

Thanks,
Jackie

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to