[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/master] Stop setting a session cookie.



commit 45100a4d1ace2b36468f55d4e0e69d26e9235ccf
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Mon Oct 8 16:35:34 2018 +0200

    Stop setting a session cookie.
    
    Fixes #27926.
---
 src/main/resources/jetty.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/resources/jetty.xml b/src/main/resources/jetty.xml
index 3f1d117..d7c0a7d 100644
--- a/src/main/resources/jetty.xml
+++ b/src/main/resources/jetty.xml
@@ -22,6 +22,11 @@
         <New class="org.apache.tomcat.util.scan.StandardJarScanner" />
       </Arg>
     </Call>
+    <Get name="sessionHandler">
+      <Get name="sessionManager">
+        <Set name="usingCookies" type="boolean">false</Set>
+      </Get>
+    </Get>
   </New>
 
   <Call class="org.eclipse.jetty.webapp.Configuration$ClassList" name="setServerDefault">

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits