nginx/src
Valentin Bartenev 363a0c53e7 Fixed division by zero exception in ngx_hash_init().
The ngx_hash_init() function did not expect call with zero elements count,
which caused FPE error on configs with an empty "types" block in http context
and "types_hash_max_size" > 10000.

Example configuration to reproduce:

  events { }

  http {
          types_hash_max_size 10001;
          types {}
          server {}
  }
2012-01-16 12:42:07 +00:00
..
core Fixed division by zero exception in ngx_hash_init(). 2012-01-16 12:42:07 +00:00
event Added support for TLSv1.1, TLSv1.2 in ssl_protocols directive. 2012-01-11 11:15:00 +00:00
http Fixed handling of mp4 above 2G and 32bit offsets (ticket #84). 2012-01-16 11:03:27 +00:00
mail Added support for TLSv1.1, TLSv1.2 in ssl_protocols directive. 2012-01-11 11:15:00 +00:00
misc fix comments 2010-03-26 21:17:26 +00:00
mysql rename ngx_peer_addr_t to ngx_addr_t 2009-11-02 15:14:17 +00:00
os Fixed sched_setaffinity(2) to correctly pass size. 2012-01-16 11:13:48 +00:00