On Tue, 11 Mar 2014 20:26:35 GMT, Etienne Cimon wrote:
On Tue, 11 Mar 2014 20:24:53 GMT, Etienne Cimon wrote:
What happens if you use runWorkerTask instead of runTask?
Also, did
cast(TCPConnection)(res.bodyWriter).tcpNoDelay = true;
work?
Sorry, I hadn't but I have now. I get the following error during compilation.
source/app.d(347): Error: need 'this' for 'bodyWriter' of type '@property OutputStream()'
If I change the line to:
(cast(TCPConnection)(res.bodyWriter)).tcpNoDelay = true;
I can get it to compile, but then in crashes the program with a Segfault at that line of the code.
I am off to try the runWorkerTask approach ...