Despite its growing popularity as an open-source programming language, it’s still possible to unearth a few juicy bugs in Go. That’s what happened when Benoit Artuso, Software Architect at Scality, and his team were at work on the development and benchmarking our software. Here’s how they exposed the bug and takeaways from the sleuthing.
To start from the beginning, in our code we have to call another service through HTTP. This is what our pseudo code looks like:
function call_service(dataBuffer)
result = http.Put(destination, dataBuffer)
return result
dataBuffer = “some data&”
result = call_service(dataBuffer)
print result
This is clean and simple enough.
Continue reading Bug hunting in Go: The culprit is in the library at SOLVED.