I notice a CHANNEL_HISTORY_NODE must be alloced once
push_raw_to_channel_history() called,
and node haven't freed() on pop_dequ().

Please check there is no mem leak in push_raw_to_channel_histor(),
and it should be better if no mem alloc and free on push and pop.

2010/1/14 ma liang <[email protected]>

> Excellent, exactly what I need :)
>
> 2010/1/14 flip <[email protected]>
>
>> hey apes,
>>
>> at my ape server git fork i've implemented a history function for
>> channel messages in ape. With this patch APE server will send the last
>> x chat messages of a channel to every user joining it, if x (the
>> max_history_size-property of the channel) is greater than 0.
>> default_max_history_size for channels is configured in aped.conf
>> (Section: Channels), 0 for disabling this feature. alternatively you
>> can set up your own server module changing the max_history_size-
>> property of your channels as you need it.
>>
>> Here's the commit to my fork:
>> http://bit.ly/6orbz2
>>
>> cheers,
>> flip
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "APE Project" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<ape-project%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/ape-project?hl=en
>> ---
>> APE Project (Ajax Push Engine)
>> Official website : http://www.ape-project.org/
>> Git Hub : http://github.com/APE-Project/
>>
>>
>
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to