pgte/carrier — pull request #3 by stephank (2012-01-31 09:39:08+00:00)
Title: TAPify; use setEncoding

Not sure if you're still maintaining this. Is there an alternative I should be trying?

Regarding the actual pull, the tests pass on Node 0.6.9. Two notes on that:

- I replaced `client.flush()` calls with an async loop on the `client.write()` callback.
- `test_one_line_ending_in_nl.js` didn't have a `client.end()` call, I'm not sure if that was intended.

The other part to this pull is a small patch to use the Node facility `setEncoding` for decoding streams, rather than `data.toString` on chunks of data.