Mercurial > hgrepos > FreeBSD > ports > net > turnserver
comparison files/patch-src_apps_common_hiredis__libevent2.h @ 4:9a1ee735f28f
Patch to allow redis connections by a Unix socket.
Also document the new "socket" keyword for redis connections
in the example configuration file.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 27 Mar 2020 15:07:57 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 3:244ecaf25a6f | 4:9a1ee735f28f |
|---|---|
| 1 --- src/apps/common/hiredis_libevent2.h.orig 2019-03-02 21:06:19 UTC | |
| 2 +++ src/apps/common/hiredis_libevent2.h | |
| 3 @@ -50,7 +50,7 @@ typedef void* redis_context_handle; | |
| 4 | |
| 5 void redis_async_init(void); | |
| 6 | |
| 7 -redis_context_handle redisLibeventAttach(struct event_base *base, char *ip, int port, char *pwd, int db); | |
| 8 +redis_context_handle redisLibeventAttach(struct event_base *base, char *ip, int port, char *pwd, char *usocket, int db); | |
| 9 | |
| 10 void send_message_to_redis(redis_context_handle rch, const char *command, const char *key, const char *format,...); | |
| 11 |
