[Freeswitch-users] FS Crash when Lua's doing an http hit
Alex Lake
alex at digitalmail.com
Fri May 16 15:21:14 MSD 2014
Commenting to my own comment - I'm not sure of the provenance of this bit:
> text = {}
....
> function WriteMemoryCallback(userparam,s)
> if s then
> text[#text+1] = s
> return string.len(s)
> else
> return 0
> end
> end
>
My experience of Lua is very limited - what does this line do?
text[#text+1]
Is it "safe" or is this likely to cause trouble if the string is long?
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list