typesafehub/zinc — pull request #10 by justwrote (2012-08-21 09:45:57+00:00)
Title: fixed annoying EOFExceptions

While using the Zinc server I saw a few `EOFException`s first thinking that there might be something wrong with the compilation. Looking at the code showed me that there isn't. Still those exceptions are irritating since they are suggesting a problem. They are caused by two issues.

1. Checking if a nailgun server is alive
Connecting to the nailgun server and immediately disconnecting throws an `EOFException`.

2. Sending empty strings
The arguments sent to the server include empty strings which the nailgun server cannot process correctly. The right approach would be to filter out the unused arguments before sending them. My quick solution was to add a 'space' if the argument is empty, simple as that.