mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
sync
This commit is contained in:
parent
1bdf7923c8
commit
88d1e1f923
|
@ -1052,7 +1052,7 @@ private:
|
|||
UREDISClusterClient *subscriptionClient;
|
||||
UHashMap<RedisClusterNode *> *clusterNodes; // when these call they need to be processed... also when MOVED... we need to set up and recalculate
|
||||
|
||||
uint16_t hashslotForKey(const UString& hashableKey) { return u_crc16(U_STRING_TO_PARAM(hashableKey)); }
|
||||
uint16_t hashslotForKey(const UString& hashableKey) { return u_crc16(U_STRING_TO_PARAM(hashableKey)) % 16384; }
|
||||
|
||||
uint16_t hashslotFromCommand(const UString& command)
|
||||
{
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
# include <openssl/x509_vfy.h>
|
||||
# include <ulib/base/ssl/dgst.h>
|
||||
typedef int (*verify_cb)(int,X509_STORE_CTX*); /* error callback */
|
||||
#ifdef DISABLE_CRL
|
||||
# define U_STORE_FLAGS 0
|
||||
# ifdef DISABLE_CRL
|
||||
# define U_STORE_FLAGS 0
|
||||
# else
|
||||
# ifndef X509_V_FLAG_CRL_CHECK
|
||||
# define X509_V_FLAG_CRL_CHECK 0x4
|
||||
|
@ -36,7 +36,8 @@ typedef int (*verify_cb)(int,X509_STORE_CTX*); /* error callback */
|
|||
# ifndef X509_V_FLAG_CRL_CHECK_ALL
|
||||
# define X509_V_FLAG_CRL_CHECK_ALL 0x8
|
||||
# endif
|
||||
# define U_STORE_FLAGS (X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL)
|
||||
# define U_STORE_FLAGS (X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef FNM_LEADING_DIR
|
||||
|
|
|
@ -1 +1 @@
|
|||
0625
|
||||
063A
|
||||
|
|
|
@ -20,6 +20,7 @@ userver {
|
|||
WELCOME_MSG "generic server ready."
|
||||
ALLOWED_IP 127.0.0.1
|
||||
#ALLOWED_IP 127.0.0.1,10.30.0.0/16
|
||||
DOCUMENT_ROOT .
|
||||
LOG_FILE server.log
|
||||
LOG_FILE_SZ 1M
|
||||
PLUGIN echo
|
||||
|
|
|
@ -3,6 +3,7 @@ userver {
|
|||
WELCOME_MSG "generic server ready."
|
||||
ALLOWED_IP 127.0.0.1
|
||||
#ALLOWED_IP 127.0.0.1,10.30.0.0/16
|
||||
DOCUMENT_ROOT .
|
||||
LOG_FILE server.log
|
||||
LOG_FILE_SZ 1M
|
||||
PLUGIN echo
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
SERVER {
|
||||
|
||||
PORT 8080
|
||||
DOCUMENT_ROOT .
|
||||
|
||||
# DOS_SITE_COUNT 1
|
||||
DOS_WHITE_LIST 127.0.0.1,10.8.0.0/16
|
||||
|
|
Loading…
Reference in New Issue
Block a user