moninj: use smaller network buffer

This commit is contained in:
Sebastien Bourdeauducq 2017-02-27 11:44:29 +08:00
parent 88bf7d2233
commit 7481eaff52
1 changed files with 1 additions and 1 deletions

View File

@ -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 {