summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstore/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstore/ChangeLog b/libstore/ChangeLog
index 3d119580..3babb175 100644
--- a/libstore/ChangeLog
+++ b/libstore/ChangeLog
@@ -1,5 +1,9 @@
2001-12-29 Roland McGrath <roland@frob.com>
+ * nbd.c (NBD_IO_MAX): New macro.
+ (nbd_write): Write in chunks no larger than NBD_IO_MAX.
+ (nbd_read): Cap AMOUNT to NBD_IO_MAX.
+
* nbd.c (nbd_validate_name): Skip : before port number.
(nbdopen): Fix test after connect loop.
Use multiple read calls as needed to get the whole connection header.