Commit Graph

57 Commits

Author SHA1 Message Date
Ben LeMasurier
beeb8df345 Merge pull request #3 from digitalocean/report-card-link
README: fixes broken go report card link
2016-06-27 13:19:07 -06:00
Ben LeMasurier
fc88e157af Merge pull request #2 from digitalocean/fix-buffer-overwrite
fixes response overwrite bug
2016-06-27 13:19:02 -06:00
Ben LeMasurier
81b4c37b63
README: fixes broken go report card link 2016-06-27 12:59:01 -06:00
Ben LeMasurier
e99de2e999
fixes response overwrite bug
This fixes a bug in truncated response payload handling. Payloads
requiring more than one call to `Read()` were overwiting the previous
Read()'s buffer contents. Because we know the response payload size, we
can simply call `io.ReadAll()` rather than looping over calls to
`Read()`.
2016-06-27 12:40:39 -06:00
Ben LeMasurier
d57bbc34c4 Merge pull request #1 from digitalocean/test-pkg
Adds test package
2016-05-20 14:46:07 -06:00
Ben LeMasurier
65d878e075 Adds test package
This splits out the mock libvirt server for testing within
other packages. Constants from the main libvirt package
have been moved to a separate package, constants, for shared access.
2016-05-20 10:50:10 -06:00
Ben LeMasurier
2ccd33a8df Initial Commit 2016-05-19 19:40:34 -06:00