40 Commits

Author SHA1 Message Date
Dave Olszewski
a2cecbcca4 FS-7286 add file_interface support to mod_memcache
This allows you to play files directly from memcached.
Currently only 8000hz 16 bit raw audio is supported.

Usage: playback(memcache://key)
2016-03-11 17:08:31 -08:00
Michael Jerris
dc071a1345 FS-7214: [mod_memchace] fix seg caused by bad command argument bounds checking for flush and deleete 2015-01-29 10:41:51 -06:00
Travis Cross
750b1dd807 Allow streaming binary data from mod_memcache
Previously data returned from `memcache get` would be truncated at the
first NULL byte.

By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.

Dave has a format module planned that relies on this.

Thanks-to: Dave Olszewski <dolszewski@marchex.com>

FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Travis Cross
538cdd378c Hide warning about sometimes initialized variable
The rc variable here was always initialized but the compiler couldn't
see that because of the lack of an unconditional else clause.
2014-04-12 05:02:09 +00:00
James Le Cuirot
4bdb7129ba Ungetlib libmemcached
Tested with several libmemcached versions between 0.31 and
1.0.18. Unfortunately the API is extremely volatile and awkward to
use. Packaging scripts still need addressing.

FS-353
2014-04-11 22:55:36 +00:00
Travis Cross
b9369f6d4e Remove stray executable bits 2014-03-31 20:38:09 +00:00
Brian West
b4ba7e1e2a FS-6370: --resolve build memcache lib on mod build 2014-03-18 17:31:26 -05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Marc Olivier Chouinard
f18fe5770d FS-6151 --resolve Make the module unloadable 2014-02-24 21:21:51 -05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Ken Rice
cac6c262bb conf: add config files to module directories
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
Anthony Minessale
e794a6db21 FS-2936 stage 2 please test ASAP 2011-11-29 15:35:36 -06:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Rupa Schomaker
5dc4d68862 libmemcached's ./configure is failing with --prefix and friends so use
a simplified version


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-15 23:59:36 +00:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Michael Jerris
d2cf7f862a fix --srcdir builds for modules that download libraries mod_flite mod_pocketsphinx mod_celt mod_radius_cdr mod_soundtouch mod_memcache mod_curl mod_xml_ldap mod_shout mod_ldap (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 21:20:02 +00:00
Brian West
21e3bb970a if space
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 01:20:26 +00:00
Michael Jerris
718671a30d fix code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15776 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 18:19:30 +00:00
Michael Jerris
ae05a0c5de cleanup makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 15:21:04 +00:00
Michael Jerris
7c255937c3 pass configure args/vars to sub-configure commands run from module makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15718 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 14:23:09 +00:00
Anthony Minessale
df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Rupa Schomaker
c7620f6b30 add --with-memcached=no to libmemcached configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-21 17:49:04 +00:00
Rupa Schomaker
3489ce30f9 update to libmemcached 0.32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14935 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-21 15:56:24 +00:00
Rupa Schomaker
5176da3dfe add support for expires and flags for inc/dec operators
expires based on first inc/dec operator, subsequent ones do not 
extend the lifetime of the object


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 16:07:36 +00:00
Mathieu Rene
5acb8ad899 Per-call logging, part two
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 21:24:51 +00:00
Rupa Schomaker
57dc9c2636 make increment/decrement work if the key hasn't been set yet
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-07 20:59:23 +00:00
Rupa Schomaker
83dc65aa70 MODAPP-292
del with changed config api in rev 13878


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-20 14:09:35 +00:00
Rupa Schomaker
8f66c816b7 cleanup xml config handling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 01:32:34 +00:00
Rupa Schomaker
d84c68b909 fix contributors
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-11 14:15:56 +00:00
Stefan Knoblich
5407a812cf Fix C99 error, move var declaration out of the "for()" statement (no -std=c99?)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 15:14:18 +00:00
Mathieu Rene
ce0f214487 Also unbind the reloadxml event handler on shutdown
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-08 20:30:41 +00:00
Rupa Schomaker
dfae11366c hook reloadxml event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-08 15:54:46 +00:00
Rupa Schomaker
3d5098d763 make -ERR for API call less verbose
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-08 15:27:42 +00:00
Rupa Schomaker
c15866847c use switch_goto_status (neato)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 21:27:31 +00:00
Rupa Schomaker
5aee290d26 document get in syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 20:56:06 +00:00
Rupa Schomaker
ec42f0c4f4 small stress script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 20:37:13 +00:00
Rupa Schomaker
eb720f2e94 refactor config loading. Fix small memory leak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12874 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 20:36:47 +00:00
Rupa Schomaker
9fa1f0f2ec add API for memcached
have to run through valgrind still


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 19:02:59 +00:00