The reasons are: o MONGOOSE_CGI is easier to understand then comma-separated list o easier to implement o does the job
Also, it is not particularly often utilized feature that is worth extra complexity. On Sat, Jan 4, 2014 at 3:51 PM, Harald Lapp <[email protected]> wrote: > hi sergey, > > thanks very much. ok, i think i can do my stuff with MONGOOSE_CGI, but > would still like to ask, why you removed "-cgi_environment". it was very > convenient when setting multiple environment variables, which isn't > possible with MONGOOSE_CGI(?, at least not without parsing on my own). > > thanks! > > harald > > Am Freitag, 3. Januar 2014 21:28:59 UTC+1 schrieb Sergey Lyubka: >> >> Hi Harald, >> 5.0 is not ready for release yet, there are few things that should be >> polished. >> Note that -cgi_environment is gone. Instead, mongoose passes environment >> variable called MONGOOSE_CGI to the CGI script. So if you want to pass >> something to the CGI through the environment, just define MONGOOSE_CGI >> variable before starting mongoose, e.g. in bash shell: >> >> MONGOOSE_CGI=thing1,thing2 mongoose -document_root /tmp & >> >> I've build dev version for Cocoa, https://code.google. >> com/p/mongoose/downloads/detail?name=Mongoose-03.01. >> 2014.dmg&can=2&q=#makechanges >> >> >> >> On Fri, Jan 3, 2014 at 7:06 PM, Harald Lapp <[email protected]> wrote: >> >>> hi, >>> >>> i wonder if the binaries available at your site at >>> http://cesanta.com/#downloads will be updated to 5.0 anytime soon. the >>> reason i ask is, that 4.1 doesn't seem to handle CTRL-C (on OSX), on the >>> other hand the sources available at github seem to lack some features like >>> "-cgi_environment", which is required by me ... >>> >>> thanks! >>> >>> harald >>> >>> -- >>> 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at http://groups.google.com/group/mongoose-users. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mongoose-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
