Project

General

Profile

Actions

Bug #5790

closed

Can't run server with config only

Added by Johannes Peters over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/29/2017
Due date:
% Done:

0%

Estimated time:

Description

You can't set the server config without the command-line arguments (argc, argv). Something like this doesn't work:

server->setServerConfiguration(0,NULL,"/etc/wt/wthttpd");

The documentation says that I can use command-line arguments, config file or both, but using only config file doesn't work. The app hangs at epoll_wait in Wt::WIOService::run().

Actions #1

Updated by Roel Standaert over 7 years ago

  • Status changed from New to Implemented @Emweb
Actions #2

Updated by Roel Standaert over 7 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #3

Updated by Roel Standaert over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF