From 62a4c505e488c714e8795ea85564504562d30301 Mon Sep 17 00:00:00 2001
From: Diego Nehab
-The callback can abort transmission by returning nil as its first +The callback can abort transmission by returning nil as its first return value, and an optional error message as the second return value. If the application wants to continue receiving -data, the function should return non-nil as it's first return +data, the function should return non-nil as it's first return value. In this case, the function can optionally return a new callback function, to replace itself, as the second return value.
@@ -121,7 +121,7 @@ library needs more data to be sent. Each time the callback is called, it should return the next chunk of data. It can optionally return, as it's second return value, a new callback to replace itself. The callback can abort the process at any time by returning -nil followed by an optional error message. +nil followed by an optional error message.-- cgit v1.2.3-55-g6feb