Re: [Cppcms-users] async connections and response headers
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-07-14 10:42:25
|
> > if you don't mind i'd like to ask one further question. the > target of > the project i'm working on is to work with many, many > longpoll > connections so i'm wondering why i need to nginx in front > of cppcms. > wouldn't it be more efficient to have cppcms handle the > http > communication itself? Probably > what are the advantages using a > webserver in front > of cppcms (besides that it could deliver static content, > etc..) > It would require implementation of highly secure HTTP connector for CppCMS which is rather not simple as it would require access from outside world. HTTP servers very common targets for attacks so, it is better to have a good server in front of you rather then developing your own. So HTTP server gives you solid well debugged front end that hides you from intruders. Also CppCMS's HTTP server is very simple and developed for debugging purposes only, also you may deploy it behind proxy if it sanitises the input well. Regards, Artyom |