fix behaviour when rhizome http service is disabled so that

rhizomeprotocol test 3 can detect when rhizome http is disabled,
even though the http server itself runs for providing informational
services.
This commit is contained in:
gardners 2013-02-17 08:59:56 +10:30 committed by Jeremy Lakeman
parent 2252fdcaa7
commit 3301a51883

View File

@ -156,7 +156,10 @@ error:
return WHY("Failed to start rhizome HTTP server");
success:
if (config.rhizome.http.enable)
INFOF("RHIZOME HTTP SERVER, START port=%d fd=%d", port, rhizome_server_socket);
else
INFOF("HTTP SERVER (LIMITED SERVICE), START port=%d fd=%d", port, rhizome_server_socket);
/* Remember which function to call when handling client connections */
rhizome_http_parse_func=parse_func;