Re: Using mongoose for heavy traffic on websocket using mg_wakeup_server

2014-09-24 Thread Sergey Lyubka
Hi Kunal, Joshi's mail has an example code which doesn't have mg_wakeup_server_ex() call. You however do mention mg_wakeup_server_ex(). I am confused - please clarify. Showing the code is the best way to go. On Wed, Sep 24, 2014 at 4:10 PM, kk wrote: > Hi Sergey, > > Thankful for your replies. I

Re: abrupt hanging / blocking of mongoose web server

2014-09-24 Thread swati joshi
OS is linux - ubuntu -- 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

Re: Mongoose picks wrong network when VMware Player is installed, and I can't change that?

2014-09-24 Thread Sergey Lyubka
You can set "listening_port" option to "IP:PORT", where IP is the IP of the interface you'd like to bind to. On Wed, Sep 24, 2014 at 4:01 PM, Maarten Bijster < maarten.bijster.authentic...@gmail.com> wrote: > Dear all, > > I've VMware Player on my Windows 8.1 system. When I start Mongoose, it > p

Re: Using mongoose for heavy traffic on websocket using mg_wakeup_server

2014-09-24 Thread kk
Hi Sergey, Thankful for your replies. It is a proof of concept in which we chose mongoose to handle use-cases. We might extend the project and will look for more (commercial) support also. For now, it will be grateful whatever inputs we can get from you. The OS is linux and platform has opera a

Mongoose picks wrong network when VMware Player is installed, and I can't change that?

2014-09-24 Thread Maarten Bijster
Dear all, I've VMware Player on my Windows 8.1 system. When I start Mongoose, it picks a virtual VMware Player network, instead of the LAN cable. Trying to access the Advanced configuration (right-click Mongoose icon in system tray) doesn't work obviously, since it tries to open a web page on t

Re: Using mongoose for heavy traffic on websocket using mg_wakeup_server

2014-09-24 Thread Sergey Lyubka
Ok, thanks. Could you clarify what OS you're running on? Note that you can avail for the commercial support if you'd like to get a guaranteed response and dedicated engineering time. Mailing list works too but it is at the bottom of the priority list to follow up on mailing list queries. On Wed,

Re: Using mongoose for heavy traffic on websocket using mg_wakeup_server

2014-09-24 Thread kk
Hi Sergey, Yes, She is working with me on this project where we want to support frequent incoming requests. Please let us know your ideas on this. Thanks, Kunal On Wednesday, September 24, 2014 2:10:27 AM UTC-4, Sergey Lyubka wrote: > > Hi Kunal, > Does this recent message seem relevant to the

Re: abrupt hanging / blocking of mongoose web server

2014-09-24 Thread Sergey Lyubka
Thanks. What's the os ? On Sep 24, 2014 10:32 AM, "swati joshi" wrote: > Hi, > Just to add to the problem details to the above, I have the following > observations: > 1. The Polling thread blocks when there are huge numbers of requests > coming in Ex: 100+ in a sec. Also, for each request, a res

Re: abrupt hanging / blocking of mongoose web server

2014-09-24 Thread swati joshi
Hi, Just to add to the problem details to the above, I have the following observations: 1. The Polling thread blocks when there are huge numbers of requests coming in Ex: 100+ in a sec. Also, for each request, a response is to be sent. 2. Unlike as mentioned in the above code snippet, in ev_hand

Re: mg_parse_multipart is slightly vague - how to read an upload to a buffer?

2014-09-24 Thread John Peasley
I had used that demo to generate some test code. while ((ofs = mg_parse_multipart(conn->content + ofs, conn->content_len - ofs, var_name, sizeof(var_name), file_name, sizeof(file_name), &file_data, &data_length)) > 0) { mg_printf_data(conn, "var: %s, file_name: %s, size: %d bytes", var_name, f