How is module type value (NGX_HTTP_MODULE) is generated?

Valentin V. Bartenev vbart at nginx.com
Wed Dec 16 13:56:39 UTC 2015


On Tuesday 15 December 2015 13:04:20 chuang39 wrote:
> Hi, I am curious how is module type like NGX_HTTP_MODULE in
> ngx_http_config.h is generated? Thanks!
> #define NGX_HTTP_MODULE    0x50545445 /* "HTTP" */
> 

It's "HTTP" in ASCII.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list