1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq
Geoff Harcourt dd0a8476ea
Remove SSL parameters from Redis connection logging to avoid exception (#4532)
In 3f9c4bf9 the Redis connection options began to be cloned (via dumping
and re-marshalling) to avoid issues with password redaction in logging
altering the connection options and breaking authentication with Sentinels.

Unfortunately, this change caused an exception on boot for users of
Redis over SSL. The `OpenSSL::X509::Store` object used for SSL certs is
not yet dumpable in the bundled OpenSSL wrapper for current Rubies
(although it does in master as of ruby/openssl#281).

The fix here prunes the `ssl_params` options out of the Redis
configuration options before the dumping and marshalling. It's probably
better not to include those in logging anyway for privacy purposes.

Fix #4531
2020-04-18 13:00:29 -07:00
..
extensions Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00
middleware Allocate Chain entries lazily 2019-09-14 10:27:46 -07:00
testing Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00
web Bump standard, fix style issues 2020-03-17 13:38:48 -07:00
api.rb Bump standard, fix style issues 2020-03-17 13:38:48 -07:00
cli.rb Point to the HTTPS version of the Sidekiq site (#4518) 2020-03-31 07:03:03 -07:00
client.rb Blow up on edge case where a job can be pushed to redis with an empty queue name 2020-02-26 10:51:25 -08:00
delay.rb Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00
exception_handler.rb Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00
fetch.rb Speedup UnitOfWork#queue_name 2019-09-30 15:42:31 -07:00
job_logger.rb Bump standard, fix style issues 2020-03-17 13:38:48 -07:00
job_retry.rb send job to morgue before calling death handlers (#4363) 2019-11-06 03:42:28 -08:00
launcher.rb Refactor #4502 a bit 2020-03-26 13:13:57 -07:00
logger.rb Bump standard, fix style issues 2020-03-17 13:38:48 -07:00
manager.rb StandardRB style fixes 2019-05-30 10:41:47 -07:00
monitor.rb Bump standard, fix style issues 2020-03-17 13:38:48 -07:00
paginator.rb Add ability to sort 'Enqueued' page on Web UI by enqueued_at time 2019-09-09 15:39:47 -07:00
processor.rb Some issues found with type checking, fixes #4429 2020-01-13 15:46:55 -08:00
rails.rb Better ActiveJob integration with Sidekiq options 2019-07-24 10:52:54 -07:00
redis_connection.rb Remove SSL parameters from Redis connection logging to avoid exception (#4532) 2020-04-18 13:00:29 -07:00
scheduled.rb Get scheduled jobs in batches before pushing into specific queues 2019-09-17 12:43:49 -07:00
sd_notify.rb systemd notification integration (#4489) 2020-03-16 07:20:22 -07:00
systemd.rb Rework systemd integration so it does not activate when run in other binaries, like sidekiqswarm or a custom Sidekiq launcher, #4511 2020-03-26 13:07:45 -07:00
testing.rb Require extensions in lib/testing.rb 2019-10-01 08:20:46 -07:00
util.rb Remove dead code (#4330) 2019-10-09 16:46:10 -07:00
version.rb bump 2020-03-26 13:14:13 -07:00
web.rb Bump standard, fix style issues 2020-03-17 13:38:48 -07:00
worker.rb Prefer Hash#transform_keys & Regex#named_captures (#4491) 2020-03-15 13:32:25 -07:00