Hi, I' m new to libmongoose, so sorry if this question has been asked in the past. I want to use libmongoose to build a rest service. I had a cursory look at the APIs and came with the following questions:
- From my understanding, you need to define a callback function in order to handle a network connection. My question is does this callback function runs in a different thread for each connection than the main "server polling" thread? In other words, can I safely assume that the main server thread will not be blocked if my callback function takes a long time to process the request? - If the answer to the previous question is yes, I can I manage parameters such as the thread pool used by libmongoose? - In the API examples, there is a multithreading example, which basically creates multiple servers to handle requests. Is there a typical use case for such a scenario (I would rather prefer having a single server instance with a thread pool). Thanks! Anwar -- 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 mongoose-users+unsubscr...@googlegroups.com. To post to this group, send email to mongoose-users@googlegroups.com. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/d/optout.