ref: 03c144570ffbe9e8be52ba5b2dd9e3dbe7f0bae1
parent: 609a50524392cc78be662845085f1e316bfd4668
author: cinap_lenrek <[email protected]>
date: Wed Aug 16 12:27:10 EDT 2023
rx: use IOUNIT for transfer block size
--- a/sys/src/cmd/rx.c
+++ b/sys/src/cmd/rx.c
@@ -89,7 +89,7 @@
void
rcpu(int fd, char *cmd)
{
- char buf[4096];
+ char buf[IOUNIT];
int kid, n;
TLSconn *conn;
AuthInfo *ai;
@@ -125,7 +125,7 @@
void
rex(int fd, char *cmd)
{
- char buf[4096];
+ char buf[IOUNIT];
int kid, n;
AuthInfo *ai;
@@ -148,7 +148,7 @@
void
tcpexec(int fd, char *addr, char *cmd)
{
- char *cp, *ep, *u, *ru, buf[4096];
+ char *cp, *ep, *u, *ru, buf[IOUNIT];
int kid, n;
/*
@@ -210,7 +210,7 @@
int
send(int fd)
{
- char buf[4096];
+ char buf[IOUNIT];
int n;
int kid;
switch(kid = fork()){