kiss9815 / mongoose

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

Request: make suggest_connection_header public #293

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A very simple request, I think that suggest_connection_header it's a very 
useful routine in order to make a keep-alive server. Then I would like the 
routine to be available (adding the definition to mongoose.h and remove the 
static label from the routine).... may be even that you change the name to 
something like mg_*

For my project I'm using it in this way, but I would like to be in a standard 
mongoose library.

Thanks in advance.

Sorry for my english.

Original issue reported on code.google.com by ricondo....@gmail.com on 10 Nov 2011 at 10:28

GoogleCodeExporter commented 9 years ago
I don't think it should be in the API, cause it depends on user.
Connection header suggest needs to know response headers too, and they are not 
known in advance.

Original comment by valenok on 23 Sep 2012 at 12:27