Files
swift-nio/Sources/NIO
Johannes Weiß b81ae9a4b0 fix zero capacity ByteBuffer reallocs (#44)
Motivation:

We'd go into an infinite loop when trying to increase the capacity of a
0 capacity ByteBuffer *doh*. Thanks @vlm for reporting and writing the
test.

Modifications:

made sure ensureAvailableCapacity returns at least 1 if we don't have
enough capacity available.

Result:

0 capacity ByteBuffers resize now.
2018-03-01 17:55:28 +09:00
..
2018-02-26 15:52:49 +00:00
2018-02-08 13:12:30 +00:00
2018-02-16 14:53:19 +01:00
2018-02-20 15:51:35 +00:00
2018-02-15 14:50:51 +01:00