Skip to content

SEnginx 1.5.11configuration bug for 'ngx_http_neteye_security' [optional module] #2

@peterbowey

Description

@peterbowey

Please add this patch for src/http/ngx_http.c

        case NGX_HTTP_CONTENT_PHASE:
            checker = ngx_http_core_content_phase;
            break;

+#if (NGX_HTTP_NETEYE_SECURITY)
        case NGX_HTTP_NETEYE_SECURITY_PHASE:
            if (cmcf->phase_engine.neteye_security_index == (ngx_uint_t) -1) {
                cmcf->phase_engine.neteye_security_index = n;
            }
            checker = ngx_http_core_generic_phase;

            break;
+#endif

        default:
            checker = ngx_http_core_generic_phase;

Otherwise, the compile will fail - if the optional 'ngx_http_neteye_security' is not selected by choice.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions