How is module type value (NGX_HTTP_MODULE) is generated?

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” */

Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,263474,263474#msg-263474

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs