changeset 436:80f236c7b75e

HttpFilterChain.filterInbound iteration direction changed
author Devel 2
date Thu, 27 Jul 2017 15:50:43 +0200
parents 657042d50537
children c5911cf740de
files stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterChain.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterChain.java	Thu Jul 27 15:49:56 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterChain.java	Thu Jul 27 15:50:43 2017 +0200
@@ -45,7 +45,7 @@
 
     @SuppressWarnings("unchecked")
     public int filterInbound(HttpRequest request, HttpResponse resp, HttpFlowContext context) {
-        Iterator<HttpFilter> it = filters.descendingIterator();
+        Iterator<HttpFilter> it = filters.iterator();
         while (it.hasNext()) {
             HttpFilter f = it.next();
             int res = f.filterInbound(request, resp, context);