2021年9月28日
摘要:
#include "server.h" #include "atomicvar.h" #include <sys/socket.h> #include <sys/uio.h> #include <math.h> #include <ctype.h> static void setProtocolEr
阅读全文
posted @ 2021-09-28 17:29
子虚乌有
阅读(772)
推荐(0)
摘要:
#include "server.h" int clientSubscriptionsCount(client *c); /* * Pubsub client replies API 发布订阅客户端回复API * */ /* Send a pubsub message of type "messag
阅读全文
posted @ 2021-09-28 17:22
子虚乌有
阅读(62)
推荐(0)
2021年9月18日
摘要:
***********************************h******************************************************** #ifndef __SLOWLOG_H__ #define __SLOWLOG_H__ #define SLOWL
阅读全文
posted @ 2021-09-18 17:10
子虚乌有
阅读(100)
推荐(0)
摘要:
/* MULTI/EXEC */ /* Client state initialization for MULTI/EXEC */ MULTI/EXEC的客户端状态初始化 void initClientMultiState(client *c) { c->mstate.commands = NULL
阅读全文
posted @ 2021-09-18 08:40
子虚乌有
阅读(104)
推荐(0)
2021年9月16日
摘要:
/* This file implements keyspace events notification via Pub/Sub and * described at https://redis.io/topics/notifications. */ 这个文件通过Pub/Sub实现键空消息通知事件,
阅读全文
posted @ 2021-09-16 17:25
子虚乌有
阅读(134)
推荐(0)
2021年9月15日
摘要:
*************************************************************************************************************************** /* * C-level DB API C语言层次的
阅读全文
posted @ 2021-09-15 14:06
子虚乌有
阅读(163)
推荐(0)
2021年9月2日
摘要:
*************************************************************************************************************************** /* * Data structures 数据结构
阅读全文
posted @ 2021-09-02 18:03
子虚乌有
阅读(180)
推荐(0)
2021年8月11日
摘要:
近日,从合作方拿到一个rsa的字符串私钥,但是程序中需要使用pfx格式的文件,所以需要转化格式,通过咨询,合作方是通过如下方法得到私钥的:private JSONObject RsaKeyGet() throws Exception{ JSONObject obj = new JSONObject(
阅读全文
posted @ 2021-08-11 14:24
子虚乌有
阅读(742)
推荐(0)
2021年8月4日
摘要:
************************************************************************************************************ /* * Config file name-value maps. 配置文件 键
阅读全文
posted @ 2021-08-04 17:52
子虚乌有
阅读(686)
推荐(0)
2021年7月23日
摘要:
最近一直用postman测试请求,今天临时需要给客户在linux下测试请求 raw的方式请求 v调试使用 H指定头部格式 X指定请求的方法 d用于发送 POST 请求的数据体 curl -vk -H 'Content-Type:application/json'-X POST -d '{"你的参数"
阅读全文
posted @ 2021-07-23 18:37
子虚乌有
阅读(66)
推荐(0)