You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/nosql
zeripath 71aa64ae25
fix broken insecureskipverify handling in rediss connection uris (#20967) (#21053)
Backport #20967

Currently, it's impossible to connect to self-signed TLS encrypted redis instances. The problem lies in inproper error handling, when building redis tls options - only invalid booleans are allowed to be used in `tlsConfig` builder. The problem is, when `strconv.ParseBool(...)` returns error, it always defaults to false - meaning it's impossible to set `tlsOptions.InsecureSkipVerify` to true.

Fixes #19213

Co-authored-by: Igor Rzegocki <ajgon@users.noreply.github.com>
2 years ago
..
leveldb.go Allow common redis and leveldb connections (#12385) 4 years ago
manager.go Remove legacy `unknwon/com` package (#19298) 3 years ago
manager_leveldb.go Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
manager_redis.go fix broken insecureskipverify handling in rediss connection uris (#20967) (#21053) 2 years ago
manager_redis_test.go fix broken insecureskipverify handling in rediss connection uris (#20967) (#21053) 2 years ago
redis.go format with gofumpt (#18184) 3 years ago
redis_test.go Allow common redis and leveldb connections (#12385) 4 years ago