~kris/9p

9hist

262712d80fe3049cf978503aa79a8b91485a1f28 — David du Colombier 24 years ago cb382d0
Plan 9 from Bell Labs 2002-06-12
2 files changed, 4 insertions(+), 4 deletions(-)

M port/devbridge.c
M port/devsdp.c
M port/devbridge.c => port/devbridge.c +1 -1
@@ 984,7 984,7 @@ etherread(void *a)
		// release lock to read - error means it is time to quit
		qunlock(b);
		if(waserror()) {
print("etherread read error\n");
print("etherread read error: %s\n", up->errstr);
			qlock(b);
			break;
		}

M port/devsdp.c => port/devsdp.c +3 -3
@@ 40,9 40,9 @@ enum
	MaxQ,

	Maxconv= 256,		// power of 2
	Nfs= 4,				// number of file systems
	Nfs= 4,			// number of file systems
	MaxRetries=	12,
	KeepAlive = 120,	// keep alive in seconds
	KeepAlive = 60,		// keep alive in seconds
	SecretLength= 32,	// a secret per direction
	SeqMax = (1<<24),
	SeqWindow = 32,


@@ 1422,7 1422,7 @@ if(0)print("conviconnect: %s: %d %uld %uld\n", convstatename[c->state], subtype,
	}
Reset:
	// invalid connection message - reset to sender
if(0)print("invalid conviconnect - sending reset\n");
if(1)print("invalid conviconnect - sending reset\n");
	convoconnect(c, ConReset, dialid, acceptid);
	convsetstate(c, CClosed);
}