shithub: riscv

Download patch

ref: c06f967b07ce0cf3c2e3895ef9b608caa5bbce98
parent: a5db044fd3ccb8f021d4deb07b3dc732ed41d699
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)