1. 31 Oct, 2019 2 commits
    • antirez's avatar
      Modules: block on keys: use a better interface. · 91f4bdc9
      antirez authored
      Using the is_key_ready() callback plus the reply callback later, creates
      different issues AFAIK:
      
      1. More complex API.
      2. We need to call the reply callback() ASAP if the is_key_ready()
      interface returned success, however the internals do not work in that
      way, so when the reply callback is called the setup could be different.
      To fix that, there is to break the current design that handles the
      unblocked clients asyncrhonously, and run the list ASAP.
      91f4bdc9
    • antirez's avatar
      Modules: remove spurious call from moduleHandleBlockedClients(). · 4534960b
      antirez authored
      Now we handle propagation when we free the context.
      4534960b
  2. 30 Oct, 2019 3 commits
  3. 28 Oct, 2019 2 commits
    • swilly22's avatar
      Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNullArray and... · 56a7c455
      swilly22 authored
      Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNullArray and ReplyWithEmptyString to redis module API
      56a7c455
    • zhaozhao.zz's avatar
      Modules: make unloading module more safe · c74398e1
      zhaozhao.zz authored
      As we know if a module exports module-side data types,
      unload it is not allowed. This rule is the same with
      blocked clients in module, because we use background
      threads to implement module blocked clients, and it's
      not safe to unload a module if there are background
      threads running. So it's necessary to check if any
      blocked clients running in this module when unload it.
      
      Moreover, after that we can ensure that if no modules,
      then no module blocked clients even module unloaded.
      So, we can call moduleHandleBlockedClients only when
      we have installed modules.
      c74398e1
  4. 24 Oct, 2019 2 commits
  5. 23 Oct, 2019 22 commits
  6. 17 Oct, 2019 3 commits
  7. 07 Oct, 2019 1 commit
    • Yossi Gottlieb's avatar
      TLS: Connections refactoring and TLS support. · b087dd1d
      Yossi Gottlieb authored
      * Introduce a connection abstraction layer for all socket operations and
      integrate it across the code base.
      * Provide an optional TLS connections implementation based on OpenSSL.
      * Pull a newer version of hiredis with TLS support.
      * Tests, redis-cli updates for TLS support.
      b087dd1d
  8. 04 Oct, 2019 2 commits
  9. 03 Oct, 2019 2 commits
  10. 02 Oct, 2019 1 commit