mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-17 04:37:48 +00:00
Smarter approach to the cookies (#103)
* Smarter approach to the cookies - Single maxCookieSize = 1400 constant with clear documentation - Combined cookie storage for ~40-45% size reduction - Backward compatible migration from legacy cookies * Tuneup the code.
This commit is contained in:
+1
-1
@@ -20,9 +20,9 @@ func generateRandomString(length int) string {
|
||||
// Test createCaseInsensitiveStringMap function
|
||||
func TestCreateCaseInsensitiveStringMap(t *testing.T) {
|
||||
tests := []struct {
|
||||
expected map[string]struct{}
|
||||
name string
|
||||
items []string
|
||||
expected map[string]struct{}
|
||||
}{
|
||||
{
|
||||
name: "Mixed case items",
|
||||
|
||||
Reference in New Issue
Block a user