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

karsten at torproject.org karsten at torproject.org
Sat Nov 9 21:45:06 UTC 2019


commit 45100a4d1ace2b36468f55d4e0e69d26e9235ccf
Author: Karsten Loesing <karsten.loesing at gmx.net>
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">





More information about the tor-commits mailing list