mirror of https://github.com/kiwix/libkiwix.git
This code is mainly copied from kiwix-tools. But : - Move all the response thing in a new class Response. - This Response class is responsible to handle all the MHD_response configuration. This way the server handle a global object and do no call to MHD_response* - Server uses a lot more the templating system with mustache. There are still few regex operations (because we need to change a content already existing). - By default, the server serves the content using the id as name. - Server creates a new Searcher per request. This way, we don't have to protect the search for multi-thread and we can do several search in the same time. - search results are not cached, this will allow future improvement in the search algorithm. - the home page is not cached. - Few more verbose information (number of request served, time spend to respond to a request). TOOD: - Readd interface selection. - Do Android wrapper. - Remove KiwixServer (who use a external process). - |
||
---|---|---|
.. | ||
animated-overlay.gif | ||
ui-bg_flat_0_aaaaaa_40x100.png | ||
ui-bg_flat_75_ffffff_40x100.png | ||
ui-bg_glass_55_fbf9ee_1x400.png | ||
ui-bg_glass_65_ffffff_1x400.png | ||
ui-bg_glass_75_dadada_1x400.png | ||
ui-bg_glass_75_e6e6e6_1x400.png | ||
ui-bg_glass_95_fef1ec_1x400.png | ||
ui-bg_highlight-soft_75_cccccc_1x100.png | ||
ui-icons_2e83ff_256x240.png | ||
ui-icons_222222_256x240.png | ||
ui-icons_454545_256x240.png | ||
ui-icons_888888_256x240.png | ||
ui-icons_cd0a0a_256x240.png |