]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Allow streaming binary data from mod_memcache
authorTravis Cross <tc@traviscross.com>
Sun, 28 Dec 2014 00:36:06 +0000 (00:36 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 28 Dec 2014 00:42:01 +0000 (00:42 +0000)
commit750b1dd807bf5ca4e3b752fdf7ba48d8b10b5366
treed73d2074026a8ac6bae15f97ab872c45ec64c62a
parentffef746dcb61bf42c6d9562c870bd16091e3926b
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
src/mod/applications/mod_memcache/mod_memcache.c