ENABLE_DEBUG default value should be false and not empty
When the default value was empty, @ENABLE_DEBUG@ in loolwsd.xml.in was substituted to empty string, not to "false" as intended in release builds. As a consequence, in new installations, the loading of the loleaflet.html gave 400 Bad request error with a not very helpful error message: wsd-00922-00928 2019-11-24 16:05:55.384859 [ websrv_poll ] INF #23 Exception while processing incoming request: [POST /loleaflet/08aa7d914/loleaflet.html?WOPISrc=http%3A%2F%2F172.22.64.173%2Findex.php%2Fapps%2F...]: Syntax error| wsd/LOOLWSD.cpp:2244euex4o&title=About.odt&lang=en&closebutton=1&revisionhistory=1 HTTP/1.1 Change-Id: Ia8bb18914bb49af057c4618f99124b0f22737f20distro/collabora/code-4.2.0-3
parent
d00d996607
commit
c59bf4ed3a
|
@ -228,7 +228,7 @@ AS_IF([test "$enable_debug" = yes -a -n "$with_poco_libs"],
|
|||
[POCO_DEBUG_SUFFIX=d],
|
||||
[POCO_DEBUG_SUFFIX=])
|
||||
|
||||
ENABLE_DEBUG=
|
||||
ENABLE_DEBUG=false
|
||||
LOOLWSD_LOGLEVEL="warning"
|
||||
LOOLWSD_LOG_TO_FILE="false"
|
||||
LOOLWSD_LOGFILE="/var/log/loolwsd.log"
|
||||
|
|
Loading…
Reference in New Issue