skynetservices / skydns1

DNS for skynet or any other service discovery
MIT License
528 stars 54 forks source link

Do not create buffer, write to the response stream directly #41

Closed crosbymichael closed 10 years ago

crosbymichael commented 10 years ago

This removes the need to create an inmemory buffer to encode the struct into json. You can write directly to the response stream.