Skip to content

Commit

Permalink
Avoid reusing filters from previous requests on the same client conne…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
jekh committed Mar 26, 2016
1 parent b599ba9 commit 2db9f31
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ private ConnectionState doReadHTTPInitial(HttpRequest httpRequest) {
HttpFilters filterInstance = proxyServer.getFiltersSource().filterRequest(currentRequest, ctx);
if (filterInstance != null) {
currentFilters = filterInstance;
} else {
currentFilters = new HttpFiltersAdapter(null);
}

// Send the request through the clientToProxyRequest filter, and respond with the short-circuit response if required
Expand Down

0 comments on commit 2db9f31

Please sign in to comment.