HI there,

Its been quite some time i have been working on Mongoose.
My question is, What happens to mg_connection pointer after MG_CLOSE ?

As in, when the client (Browser in my case) closes a connection and the 
mg_event sent will be MG_CLOSE ... what will happen  to the mg_connection 
pointer ?
Will that be made NULL ? OR will that be pointing to some bad memory?

This question is raised because ... in my implementation, I store the 
mg_connection ptr and then use it when needed to respond to the client. 
Now i face crashes even when i am checking for NULL != mg_connection for 
the stored pointer.

Thats why , in case MG_CLOSE event occurs, what will happen to the 
particular connection ptr.
Please let me know the details of this.

Thanks,
Swati

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to