git: 9front

Download patch

ref: de1e5e3e01aaa92979d41a2cf8d33346e5f8d5ce
parent: 8ff7b5423b12ee530139ccdabf8c691888f7f2c7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:59:16 EDT 2023

tlsclient: use IOUNIT for transfer block size

--- a/sys/src/cmd/tlsclient.c
+++ b/sys/src/cmd/tlsclient.c
@@ -18,7 +18,7 @@
 void
 xfer(int from, int to)
 {
-	char buf[12*1024];
+	char buf[IOUNIT];
 	int n;
 
 	while((n = read(from, buf, sizeof buf)) > 0)
--