chesterpolo / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Need a user_data pointer associated with connection. #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Subject line pretty much says it. I've read the feedback in issue #184 and I am 
not in agreement. I am building an application that is likely to have more than 
one instance of Mongoose running at the same time. They will share the same 
callback function differentiated by different objects attached to the server. 
(Changing that is an architectural compromise I'm not willing to make.) I need 
the user_data pointer to attach the callback to the correct object.

I've patched it for my own use, and the patch is available at 
http://code.google.com/r/ericscouten-mongoose/. I'm hoping that this patch or 
something similar can be incorporated into the main distribution of Mongoose.

Original issue reported on code.google.com by eric.sco...@gmail.com on 19 Oct 2010 at 4:08

GoogleCodeExporter commented 9 years ago
Google Code doesn't seem to like multiple heads in the same repo, so this patch 
is now available instead at http://code.google.com/r/ericscouten-mongoose2/.

Original comment by eric.sco...@gmail.com on 19 Oct 2010 at 7:12

GoogleCodeExporter commented 9 years ago
This is done in head.

Original comment by valenok on 15 Nov 2010 at 9:51