Mercurial > hg > nginx
view src/os/win32/nginx_icon32.xpm @ 7526:8125552a10ca
Perl: handling of allocation errors.
Previously, allocation errors in nginx.xs were more or less ignored,
potentially resulting in incorrect code execution in specific low-memory
conditions. This is changed to use ctx->error bit and croak(), similarly
to how output errors are now handled.
Note that this is mostly a cosmetic change, as Perl itself exits on memory
allocation errors, and hence nginx with Perl is hardly usable in low-memory
conditions.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 12 Jul 2019 13:56:23 +0300 |
parents | 7e24168b0853 |
children |
line wrap: on
line source
/* XPM */ static char * nginx_xpm[] = { "32 32 2 2", /* colors */ " c none", "GG c #009900", /* pixels */ " ", " ", " ", " ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGG ", " GGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGG GGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGGGGGGGGGGGGGG ", " ", " ", " ", " "