changeset 475:803b20d6f0cb

minor
author Devel 1
date Tue, 08 Aug 2017 09:29:09 +0200
parents db7bd7630fcf
children a49913dd5064
files stress-tester/src/main/java/com/passus/st/client/http/filter/HttpCsrfFilter.java stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFormLoginFilter.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpCsrfFilter.java	Fri Aug 04 14:40:09 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpCsrfFilter.java	Tue Aug 08 09:29:09 2017 +0200
@@ -266,7 +266,7 @@
     @Override
     public int filterOutbound(HttpRequest req, HttpResponse resp, HttpFlowContext context) {
         if (req != null) {
-            ParametersBag session = context.scopes().getSession(req);
+            ParametersBag session = context.scopes().getSession(req, false);
             if (session != null) {
                 ByteString token = tokenStore.load(session);
                 if (token != null) {
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFormLoginFilter.java	Fri Aug 04 14:40:09 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFormLoginFilter.java	Tue Aug 08 09:29:09 2017 +0200
@@ -33,7 +33,7 @@
 
     public static final String TYPE = "formLogin";
 
-    private final HttpMessageHelper helper = HttpMessageHelper.NOT_STRICT;
+    private final HttpMessageHelper helper = new HttpMessageHelper(); // needs instance, because header decoders are not thread safe
     private CharSequence userField;
     private CharSequence passwordField;