hi,

    I used the JSONP transport method.  Is there any way delete the client
closed subuser immediately?

It seems that subuser can only be delete in check_timeout() now.
I think subuser can be delete in the ape_disconnect() function:

>> if (co->fd == ((subuser *)(co->attach))->client->fd) {
>> }

This happens on the following situation:
1, client closed the subuser(normarlly left the page).
2, user data has sent to the client by ape_sent().

How can I distinguish them?

-- 
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