~ubuntu-branches/ubuntu/natty/nginx/natty

« back to all changes in this revision

Viewing changes to src/core/ngx_palloc.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-11-28 08:38:27 UTC
  • mfrom: (4.2.24 sid)
  • Revision ID: james.westby@ubuntu.com-20101128083827-yxc30ucpllbu3h08
Tags: 0.8.53-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - Don't copy the default site directly into /var/www/ in the package,
    but instead keep it in /usr/share/nginx/nginx-default and move it to
   /var/www/nginx-default/ just after installation. (LP: #547267)
* debian/patches/nginx-html5-codecs.diff
  - Add support for html5 codecs (LP: #674224)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#define NGX_MAX_ALLOC_FROM_POOL  (ngx_pagesize - 1)
20
20
 
21
21
#define NGX_DEFAULT_POOL_SIZE    (16 * 1024)
 
22
 
 
23
#define NGX_POOL_ALIGNMENT       16
22
24
#define NGX_MIN_POOL_SIZE                                                     \
23
 
    (sizeof(ngx_pool_t) + 2 * sizeof(ngx_pool_large_t))
 
25
    ngx_align((sizeof(ngx_pool_t) + 2 * sizeof(ngx_pool_large_t)),            \
 
26
              NGX_POOL_ALIGNMENT)
24
27
 
25
28
 
26
29
typedef void (*ngx_pool_cleanup_pt)(void *data);