Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust the buffer write function to clear the buffer once, rather tha…
…n piece by piece. This avoids a case where a large write (in our case, around 70mbytes) will consume 100% of CPU. This takes a webrick GET request via SSL from around 200kbyts/sec and consuming 100% of a core, to line speed on gigabit ethernet and 6% cpu utlization.
- Loading branch information