It was related to the update of std.process,

I was using the 'bad way' just building a string and then
executing it. Using the old API I could just get back the stdout and stderr
as strings. And when the new API came in
the old version got deprecated or something else I don't know
exactly, it broke the execution of external code but the original
code was bad code anyway.

The new API is much cleaner and I now use the spawnShell command,
which allows to use pipes. This means the server can read data in
nice chunks, and that I could tweak the throughput/chunksize
based on the amount accepted by a client.

I could look up in the old repository when/where. but in general
I dont mind a little breakage because in general bad code breaks..

Danny Arends

On Friday, 7 February 2014 at 17:06:58 UTC, Martin Nowak wrote:
On 02/03/2014 11:02 AM, Danny Arends wrote:
I wrote a small web server in D to learn the language.
It's not done yet (what software ever is) but I wanted to show it off
anyway. As always of-course any feedback is welcome

See it here:

Danny Arends

Sorry to read that a compiler update broke your code.

It would be interesting to get some more feedback for this.
What was the old and the new version? Do you remember what broke?


Reply via email to