74 Commits (546d7309853ad9f99a9f52d103dcd6641a8995d6)

Author SHA1 Message Date
Nicolas Favre-Felix 2735950207
Disable pragma warning on old versions of GCC
Found with GCC 4.8.5 (released June 2015)
2 years ago
Nicolas Favre-Felix 05f168fc51
Define _POSIX_C_SOURCE=200809L
This is needed to enable localtime_r(3) used in src/slog.c
Also needed for strdup(3)
Add #ifndef to src/hiredis/fmacros.h to avoid warnings
2 years ago
Nicolas Favre-Felix 08f0d5d7cf
Change contributed fix from gnu99 to c99 2 years ago
quocbao 50d16b16ca
Compile in C99 mode
src/websocket.c:247:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for(int i = 0; p < eom && i < cmd->count; i++) {
  ^
2 years ago
Jessie Murray 83fe141f7e
Encrypt connections to Redis
Initialize SSL, use SSL context with each connection, enable flags in
Makefile.
TODO: read config into s->cfg, still missing for now
3 years ago
Jessie Murray c943844451
Upgrade Hiredis to v1.0.2 3 years ago
Nicolas Favre-Felix 97d9d77430
Add Makefile section to detect msgpackc with ld
If all checks fail, use ld to look for -lmsgpackc. This doesn't work on
macOS, but seems to pick up installs that were as of yet undetected.
3 years ago
Nicolas Favre-Felix 26c74f61f6
Clean "*.d" dependency files in "make clean" 3 years ago
Nicolas Favre-Felix 80139110c5
Add support for debug builds
`make` will produce a release build
`make DEBUG=1` will produce a build with debug symbols
3 years ago
Nicolas Favre-Felix a675b2c0c2
Check for MsgPackC on macOS 4 years ago
Nicolas Favre-Felix f22a2953b9 Convert tests to Python3
Contribution from Sandro Tosi at https://github.com/nicolasff/webdis/issues/173
5 years ago
Andrii Senkovych 524f37b59f Pass preprocessor macros to the compiler invocation. 5 years ago
Mario Rodas 1a16d0fe7f Do not add slash between between DESTDIR and PREFIX in makefile 5 years ago
Nicolas Favre-Felix 0651736551 Release 0.1.9 5 years ago
Nicolas Favre-Felix 00b5188e85 Merge branch 'new-msgpack' of https://github.com/jamessan/webdis into jamessan-new-msgpack 5 years ago
Nicolas Favre-Felix 07f488da70 Fix Makefile 5 years ago
Nicolas Favre-Felix 7add4cc30b Release 0.1.8 5 years ago
StefanosChaliasos 79c13ba18a Add missing Make dependencies (#168)
* Add missing Make dependencies
* Update gitignore
5 years ago
James McCoy 2a8908bdcf Find libmsgpackc in Multi-Arch library paths
The msgpack library may be present in /usr/lib or /usr/lib/$arch,
but only the former is being searched.  Check both places and fix the
library name to use the C lib (libmsgpackc) rather than the C++ lib
(libmsgpack).

Signed-off-by: James McCoy <jamessan@jamessan.com>
8 years ago
James McCoy ca170bcced Use pkg-config to find msgpack library when available
Since 0.5.8, msgpack-c has provided a pkg-config file.  If it's
installed, use pkg-config to get the relevant CFLAGS/LDFLAGS.

Signed-off-by: James McCoy <jamessan@jamessan.com>
8 years ago
Neel Goyal 6e6176b656 Update to hiredis 0.13.1 9 years ago
Andriy Senkovych a712b078b3 Make dependencies' *_OBJS variables overridable via environment variables. 11 years ago
Andriy Senkovych 8deffc7403 Rename libb64 to b64 for compatibility reasons, move to DEPS. 11 years ago
Andriy Senkovych 46e872a090 Allow setting CFLAGS and LDFLAGS from environment variables 11 years ago
Andriy Senkovych b1cda7e376 Add makefile targets to run tests 11 years ago
Nicolas Favre-Felix 2c634fa071 Remove BSON support 12 years ago
Nicolas Favre-Felix 712132ebc2 Reverted previous change 13 years ago
Nicolas Favre-Felix a6c994cd24 Added missing -lrt.
Tentative fix for GitHub issue #38.
13 years ago
Nicolas Favre-Felix da8c888f88 Merge branch 'master' into websockets 13 years ago
Nicolas Favre-Felix 05bcc6098a Makefile fix, link with LDFLAGS after objects. 13 years ago
Nicolas Favre-Felix 6080e5a031 Merge branch 'master' into websockets 13 years ago
Nicolas Favre-Felix 707636bf3c Fixed msgpack dependency (GitHub issue #30) 13 years ago
Nicolas Favre-Felix 5e41e76778 Merge branch 'master' into websockets 13 years ago
Nicolas Favre-Felix 4e07580a4c Better Makefile for MessagePack 13 years ago
Nicolas Favre-Felix a4408b6486 Removed static hiredis function from build 13 years ago
Nicolas Favre-Felix 525c63d54a Added more msgpack support 13 years ago
Nicolas Favre-Felix 93eaa01b4b Check for msgpack support 13 years ago
Nicolas Favre-Felix f8ed8c89c9 Started implementing the new WebSocket protocol 13 years ago
Nicolas Favre-Felix 7360f8f7d8 Added fix-config.diff and install-target.diff by @jollyroger. 13 years ago
Nicolas Favre-Felix 070d332341 Reset Makefile 13 years ago
Nicolas Favre-Felix 4fde286233 Fixed crash on pub/sub with custom formats. 13 years ago
Nicolas Favre-Felix 5b7aa50e62 Partial rewrite, adding WebSockets, threads, pool. 14 years ago
Nicolas Favre-Felix fc5e14e6df Merge branch 'master' into ry 14 years ago
Nicolas Favre-Felix e4d2738742 BSON support. 14 years ago
Nicolas Favre-Felix 2d10922688 Remove debug info. 14 years ago
Nicolas Favre-Felix 7cfb80d4ce Add client.{c,h}. Needs a lot more refactoring. 14 years ago
Nicolas Favre-Felix 89bb00f5ca Start sending HTTP replies. 14 years ago
Nicolas Favre-Felix 0dde1f589e Start changing HTTP parser. 14 years ago
Nicolas Favre-Felix bec19d06eb Merge branch 'slog' of https://github.com/mrb/webdis into slog
Conflicts:
	Makefile
14 years ago
Nicolas Favre-Felix 074ef11ff9 Added ETag and If-None-Match. 14 years ago