mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Revert "ci: Run devtools tests whenever we run unit tests (#38614)"
This reverts commit 47aa9ea8cf
.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
18f0d92e99
commit
20ad1ce84e
6 changed files with 233 additions and 288 deletions
|
@ -5,7 +5,7 @@
|
|||
//! Low-level wire protocol implementation. Currently only supports
|
||||
//! [JSON packets](https://firefox-source-docs.mozilla.org/devtools/backend/protocol.html#json-packets).
|
||||
|
||||
use std::io::{ErrorKind, Read, Write};
|
||||
use std::io::{Read, Write};
|
||||
use std::net::TcpStream;
|
||||
|
||||
use log::debug;
|
||||
|
@ -49,8 +49,7 @@ impl JsonPacketStream for TcpStream {
|
|||
loop {
|
||||
let mut buf = [0];
|
||||
let byte = match self.read(&mut buf) {
|
||||
Ok(0) => return Ok(None), // EOF
|
||||
Err(e) if e.kind() == ErrorKind::ConnectionReset => return Ok(None), // EOF
|
||||
Ok(0) => return Ok(None), // EOF
|
||||
Ok(1) => buf[0],
|
||||
Ok(_) => unreachable!(),
|
||||
Err(e) => return Err(e.to_string()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue