mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-11 07:50:31 -04:00
Replaced qhttpserver with libmicrohttp.
The qhttpserver seems to be riddled with memory leaks and was continuously crashing. I don't know Qt well enough to fix it so I have replaced it with libmicrohttp. This is not nearly as elegant but it is much more stable.
This commit is contained in:
parent
2cd6787141
commit
b27ba03d42
6 changed files with 234 additions and 114 deletions
9
cmake/FindLibMicroHTTPD.cmake
Normal file
9
cmake/FindLibMicroHTTPD.cmake
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
find_path(MHD_INCLUDE_DIR microhttpd.h)
|
||||
|
||||
find_library(MHD_LIBRARIES microhttpd)
|
||||
|
||||
mark_as_advanced(MHD_LIBRARIES MHD_INCLUDE_DIR)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(LibMicroHTTPD DEFAULT_MSG MHD_LIBRARIES MHD_INCLUDE_DIR)
|
Loading…
Add table
Add a link
Reference in a new issue