Am 21.11.2013 18:15, schrieb Jacek Furmankiewicz:

    auto options = new HTTPServerSettings();
    options |= HTTPServerOption.distribute;
    enableWorkerThreads();

Hi, sorry for my lacking D knowledge, but when I do this code I get....

source/app.d(13): Error: 'options |= distribute' is not a scalar, it is a vibe.http.server.HTTPServerSettings
source/app.d(13): Error: incompatible types for ((options) |= (distribute)): 'vibe.http.server.HTTPServerSettings' and 'HTTPServerOption'
Error: DMD compile run failed with exit code 1

There is a typo in that snipped. Corrected:

auto settings = new HTTPServerSettings;
settings.options |= HTTPServerOption.distribute;
enableWorkerThreads();
listenHTTP(settings, ...);