Questions tagged [mongoose-web-server]

Mongoose embeddable web server

Mongoose is a lightweight embedded web server that makes it easy to implement a web interface for an application or an embedded device. It is cross-platform and supports CGI, SSL,SSI, Digest auth, WebDAV and websocket.

A question tagged with is expected to include queries regarding the Mongoose web server

Mongoose is licensed under the terms of GNU GPL v.2 license

Businesses have an option to get a non-restrictive, royalty-free license and professional support from Cesanta Software.


###Useful links


###Related tags

148 questions
0
votes
1 answer

Porting Mongoose Web Server to VxWorks

I need a web server in my VxWorks application to show a web page supporting RPC (ex. JSON-RPC). I think Mongoose Web Server (https://code.google.com/p/mongoose/) would be the perfect candidate for this, but it is unfortunately incompatible with…
euxon
  • 31
  • 3
0
votes
1 answer

Display html page using mongoose server

I am trying to display an html page in mongoose server I tried using the below code which is not working can any one tell me what is the issue in that code. #include #include #include "mongoose/mongoose.h" static int…
Kathick
  • 1,395
  • 5
  • 19
  • 30
0
votes
1 answer

Does the mongoose web server have a shutdown handler?

I am using the Mongoose web server for my project. Does Mongoose have a shutdown handler? I would like to do some operations while the mongoose is shutting down. Is it possible to see if the port is already used by another process or a mongoose…
Kathick
  • 1,395
  • 5
  • 19
  • 30
0
votes
1 answer

Mongoose web server and IE9 browser

I am using mongoose(version 3.1) web server and my client consists of a html page which in turn includes *.js and *.css files. My web page works fine in Mozilla Firefox and Google chrome. But on IE9 it fails to open. First time it doesn't launch in…
NishaBhat
  • 71
  • 1
  • 7
0
votes
1 answer

Configure mongoose for Anonymous Authentication

I have embedded mongoose in a C++ application used for develop and test web systems. When these web systems are running locally there is no need for security. It should run like an anonymous authentication system. I didn’t find any way to do this in…
Per Ghosh
  • 449
  • 5
  • 10
0
votes
2 answers

Mongoose C++ Http server get only MG_OPEN_FILE event

I have this server using mongoose, which take some request, parse the informations, do an action and return the result. For exemple, I can query it this way server:port/action?arg1=test&arg2=... My problem is that any time I query the server I get…
0
votes
1 answer

I can't compile this code of mongoose web server's sample example

Short Intro :- (GCC version 4.6.3, OS-Ubuntu 12.04 ,working around mongoose web server program so when I run "make" command to compile and install mongoose , it has done the task fine ). [Part 1 of question] This question is in reference to this…
Akshay Patil
  • 954
  • 1
  • 12
  • 28
0
votes
2 answers

mongoose is not working with php-cgi

I tried to use mongoose embedded webserver with php-cgi, but the files is keeping to show the source code: I am using this command with mongoose: ./mongoose -C php -I /usr/bin/php-cgi Can you help me?
Anwar Mohamed
  • 625
  • 2
  • 13
  • 27
0
votes
1 answer

Mongoose Server callback loop

After looking for a C library that implemented a web server, I was taught about Mongoose. I have actually made it work through several examples that make the call to the callback function that actually treats the incoming and outgoing data. I am…
zlogdan
  • 279
  • 1
  • 6
  • 16
0
votes
1 answer

How do I stop Mongoose from logging to stdout?

I'm embedding Mongoose in my application, but it logs everything to stdout. char const* options[] = { "listening_ports", boost::lexical_cast(port).c_str(), nullptr }; context = ::mg_start(&callback, …
user1203803
0
votes
1 answer

Mongoose Embedded Webserver

This code is taken from the example program in Mongoose embedded web server. The event MG_NEW_REQUEST is called twice. Is this the expected behavior? Why would it process the same request twice? How would you prevent this from doing so? int i…
0
votes
2 answers

Mongoose web server getting current working threads

I am starting mongoose web server with x threads. Is there a way that I can log when all x threads are busy so I can increase the thread count if required ?
Vivek Goel
  • 22,942
  • 29
  • 114
  • 186
-3
votes
1 answer

C++, Mongoose: How to make a POST request?

I'm working on a project that uses Mongoose, and I need to make a POST request to another server. I don't see an example of how to do this in their examples list, does anyone know how to do this? EDIT to add more detail: I'm working within a larger…
easythrees
  • 1,530
  • 3
  • 16
  • 43
1 2 3
9
10