From 7481eaff52d27615283c0412e762d8653afe3239 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 27 Feb 2017 11:44:29 +0800 Subject: [PATCH] moninj: use smaller network buffer --- artiq/firmware/runtime/moninj.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/moninj.rs b/artiq/firmware/runtime/moninj.rs index 43aa744e0..a0eb3bdf9 100644 --- a/artiq/firmware/runtime/moninj.rs +++ b/artiq/firmware/runtime/moninj.rs @@ -225,7 +225,7 @@ fn connection_worker(io: &Io, mut stream: &mut TcpStream) -> io::Result<()> { } pub fn thread(io: Io) { - let listener = TcpListener::new(&io, 65535); + let listener = TcpListener::new(&io, 2047); listener.listen(1383).expect("moninj: cannot listen"); loop {