[Rust]Parse correlation id test fail

why dose it fail the test, throw error: “error reading from connection: read tcp 127.0.0.1:42154->127.0.0.1:9092: read: connection reset by peer
[tester::#WA6] Test failed”

for stream in listener.incoming() {
        match stream {
            Ok(mut stream) => {
                let mut request_buf = [0; 12];
                stream.read_exact(&mut request_buf).unwrap();
                let response = &[&[0, 0, 0, 0], &request_buf[8..]].concat();   
                stream.write(response).unwrap();
                stream.flush().unwrap();
            }
            Err(e) => {
                println!("error: {}", e);
            }
        }
    }

Hey @zgy03916618421, looks like you’ve got past this stage. :tada:

Do you happen to remember what was wrong? Would love to see if we can improve the tester / instructions.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.