square/okhttp — pull request #584 by swankjesse (2014-03-01 16:05:06+00:00)
Title: Use a sneaky throw when RealBufferedSink.close() fails.

This is the same technique used by the buffered streams in AOSP. It's
a little more reliable than what we were doing before because it will
still close the underlying sink regardless of what write() throws.