Connection structs were using dirty memory for the buffer offsets, which were the only struct members not initialized. This had worked fine in all of my small tests, but under load it was failing terribly. Using malloc0() causes it to now work with any level of concurrency.