resp协议实现和使用hiredis进行测试

This commit is contained in:
1iaan
2026-01-20 11:51:38 +00:00
parent bb2c4275cb
commit f031e107b5
15 changed files with 1010 additions and 498 deletions

View File

@@ -9,6 +9,8 @@
#define RESP_MAX_LINE 1024
#define RESP_MAX_BULK (16u * 1024u * 1024u) /* 16MB default */
int ascii_casecmp(const uint8_t *a, uint32_t alen, const char *b);
/**
* SET
*/