You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we want to intercept full response body before sending response to client and upstream response body size more then totally specified in proxy_buffers, nginx-clojure deadlocked proccesing response, e.g.:
public class NginxSampleBodyFilter implents NginxJavaResponseBodyFilter {
public doFilter (..) {
if (!isLast) {
// save data in store
return new Object[] {null, null, null}
}
else {
return new Object[] {200, headers, body};
}
}
}
This problem solved by setting chain->buf->pos = chain->buf->last in ngx_http_clojure_body_filter, but this may cause problem which is solved in: