回复:Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

Maxim Dounin mdounin at mdounin.ru
Tue Dec 6 01:02:42 UTC 2022


Hello!

On Mon, Dec 05, 2022 at 09:39:21AM +0800, 杜叶飞(淮叶) via nginx-devel wrote:

> OK, I I have another question about this. 
> 'NGX_MODULE_SIGNATURE_27' should be with NGX_HTTP_GZIP as the 
> following patch ?

No.

The NGX_HTTP_GZIP macro, which affects layout of nginx public 
structures, already affects the binary signature, so it won't be 
possible to load a module built with NGX_HTTP_GZIP defined into 
nginx built without NGX_HTTP_GZIP (and vice versa).  No additional 
characters in the signature are needed for NGX_HTTP_GZIP.

The NGX_MODULE_SIGNATURE_27 macro is basically a spare one after 
3b522d7a5b34, and can be reused for something else (or removed if 
we'll decide to clean up things).

-- 
Maxim Dounin
http://mdounin.ru/



More information about the nginx-devel mailing list