[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Potential Bug in mpm_common.c
From:       Lazy <lazy404 () gmail ! com>
Date:       2012-06-27 8:09:39
Message-ID: CAAPSnn03rp6HL9LUchHACVX9b+hOfKNrihYPaM=h6s-Ft2d6JA () mail ! gmail ! com
[Download RAW message or body]

2012/6/14 Ken Cheung <msrbugzilla@gmail.com>:
> I observed a code clone in the following files. In the
> function ap_mpm_set_max_mem_free the variable "value" has to be multiplied
> by 1024 before exit while ap_mpm_set_thread_stacksize does not perform this
> operation. I wonder if this is necessary. Hope it helps.

according to http://httpd.apache.org/docs/2.2/mod/mpm_common.html#threadstacksize

MaxMemFree is in KB and ThreadStackSize is in Bytes so the code is correct

-- 
Michal Grzedzicki

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic