Skip to content

#219 Reopen #234

Closed
Closed
@dennus

Description

@dennus

After #219 bug fixing, no response return in body filter after:

long rc = NginxClojureRT.ngx_http_filter_continue_next(nr, -1, -1); //continue next header filter, using 0 in last argument not change effect
NginxClojureRT.ngx_http_finalize_request(nr, rc);
return new Object[]{status, null, old};
where status - http status code returned from upstream, old - response body from upstream

Debug log contains next records:

2019/12/11 09:02:29 [debug] 2674#2674: *442 http finalize request: -2, "/test?" a:1, c:2
2019/12/11 09:02:29 [debug] 2674#2674: *442 http request count:2 blk:0
2019/12/11 09:02:29 [debug] 2674#2674: *442 jni_ngx_http_filter_continue_next, chain=1279484400u, old_chain=0u
2019/12/11 09:02:29 [debug] 2674#2674: *442 jni_ngx_http_filter_continue_next, chain=1279484400u, size=19, is_last=1
2019/12/11 09:02:29 [debug] 2674#2674: *442 http copy filter: 0 "/test?"
2019/12/11 09:02:29 [debug] 2674#2674: *442 http finalize request: 0, "/confirmation/ib/v1/workflow?" a:1, c:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions