[asterisk-dev] Lightweight keepalive for websockets?
Joshua Colp
jcolp at digium.com
Tue Feb 11 15:44:41 CST 2014
On 14-02-11 05:42 PM, Jeremy Lainé wrote:
>
> On 11 Feb 2014 21:21, Matthew Jordan <mjordan at digium.com> wrote:
>>
>>> Either this is by design, in which case it needs to be documented, or it's an oversight,
>>> in which case I'd be happy to fix it.
>>
>> I'd go with oversight.
>>
>
> Thanks for your answer I will propose a patch in that case.
>
> I have a small problem though: the ast_websocket_write function takes its payload as a char* instead of a const char* for no apparent reason, is it acceptable to change this?
It should be fine to do that. The underlying code that gets called with
it accepts a const value.
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list