[OSM-dev] C++ implementation of the API

Raphael Studer studerap at gmail.com
Fri May 23 19:13:56 BST 2008


On Fri, May 23, 2008 at 8:00 PM, Frederik Ramm <frederik at remote.org> wrote:
> Hi,
>
>> Do we need an Apache server?
>> Why not writing (in c/c++) a small daemon listening on another port
>> (e.g. 8080) and having a pool of threads translating from GET requests
>> to mysql querries and from mysql results to xml?
>
> Famous last words: "Let's just write a small HTTP daemon..." ;-)
>
> Sure it's possible but you'd end up firstly not supporting a lot of stuff
> that you get for free if you use an Apache server (e.g. keepalive, output
> compression, HTTPS support) and secondly you're very likely to introduce
> tons of bugs and security holes that the Apache folks have long since
> thought of.


There will be no bugs and security holes in a Apache module?

If I have some spare time (and a rainy weekend), I'll investigate some
time in this object (the module or the whole server :).

Regards
Raphael




More information about the dev mailing list