This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "hiredis.h" | |
#include <assert.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <linux/if.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <stdlib.h> | |
char device[IFNAMSIZ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
637b1c4 1258108773 2009-11-13 TYPE | |
637b1c4 1258108773 2009-11-13 RPUSH | |
637b1c4 1258108773 2009-11-13 SADD | |
637b1c4 1258108773 2009-11-13 LPUSH | |
637b1c4 1258108773 2009-11-13 LPOP | |
637b1c4 1258108773 2009-11-13 EXISTS | |
637b1c4 1258108773 2009-11-13 PING | |
637b1c4 1258108773 2009-11-13 SREM | |
a2d436d 1258552009 2009-11-18 RPOP | |
9488119 1258553043 2009-11-18 SMOVE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6ff49450eef966153abda5522aec456dcd899b8c Mon Sep 17 00:00:00 2001 | |
From: michael-grunder <[email protected]> | |
Date: Thu, 9 Jun 2022 10:13:42 -0700 | |
Subject: [PATCH] Revert Valgrind commits | |
b3898e951 | |
a0c44fbaf | |
--- | |
Zend/zend_string.c | 72 +++++++++++++++++++++++++++++++++++++++------- | |
1 file changed, 61 insertions(+), 11 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/adapters/libuv.h b/adapters/libuv.h | |
index c120b1b..b0b9ed4 100644 | |
--- a/adapters/libuv.h | |
+++ b/adapters/libuv.h | |
@@ -9,6 +9,7 @@ | |
typedef struct redisLibuvEvents { | |
redisAsyncContext* context; | |
uv_poll_t handle; | |
+ uv_timer_t timer; | |
int events; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cc -Wall -ggdb3 -O0 -o example example.c -lhiredis -levent -lpthread -levent_pthreads | |
#define _POSIX_C_SOURCE 200809L | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#include <pthread.h> | |
#include <hiredis/async.h> | |
#include <hiredis/adapters/libevent.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.000.000.001.06379-127.000.000.001.43804: %7 | |
$6 | |
server | |
$5 | |
redis | |
$7 | |
version | |
$5 | |
6.2.3 | |
$5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <assert.h> | |
#include <hiredis/hiredis.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
/* | |
* compile with: | |
* cc -oreproduce -g -ggdb reproduce.c -lhiredis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Server | |
redis_version:6.2.3 | |
redis_git_sha1:e90e5640 | |
redis_git_dirty:0 | |
redis_build_id:d26ed72d47fcc498 | |
redis_mode:standalone | |
os:Linux 5.8.0-50-generic x86_64 | |
arch_bits:64 | |
multiplexing_api:epoll | |
atomicvar_api:atomic-builtin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 1) One-liner assuming you installed libyaml via brew | |
# | |
echo $(brew --prefix libyaml)|sudo pecl install yaml | |
# | |
# 2) Pass --with-yaml directly to ./configure | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
git clone https://github.com/krakjoe/apcu && cd apcu | |
echo "ARCH: " $(arch) | |
phpize && ./configure && make | |
file .libs/apcu.so |