Skip to content

fix(client, server): use bounded queues for packet transfer

Codecov / codecov/patch succeeded Feb 25, 2024 in 1s

77.45% of diff hit (target 71.15%)

View this Pull Request on Codecov

77.45% of diff hit (target 71.15%)

Annotations

Check warning on line 67 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L67

Added line #L67 was not covered by tests

Check warning on line 79 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L79

Added line #L79 was not covered by tests

Check warning on line 155 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L153-L155

Added lines #L153 - L155 were not covered by tests

Check warning on line 161 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L161

Added line #L161 was not covered by tests

Check warning on line 166 in src/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/client.rs#L164-L166

Added lines #L164 - L166 were not covered by tests

Check warning on line 83 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 86 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L86

Added line #L86 was not covered by tests

Check warning on line 89 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 146 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L146

Added line #L146 was not covered by tests

Check warning on line 152 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L152

Added line #L152 was not covered by tests

Check warning on line 157 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 166 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L166

Added line #L166 was not covered by tests

Check warning on line 212 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L210-L212

Added lines #L210 - L212 were not covered by tests

Check warning on line 220 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L219-L220

Added lines #L219 - L220 were not covered by tests

Check warning on line 226 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L226

Added line #L226 was not covered by tests

Check warning on line 234 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L234

Added line #L234 was not covered by tests

Check warning on line 238 in src/server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server.rs#L238

Added line #L238 was not covered by tests

Check warning on line 94 in src/server/connection.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server/connection.rs#L91-L94

Added lines #L91 - L94 were not covered by tests

Check warning on line 99 in src/server/connection.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/server/connection.rs#L96-L99

Added lines #L96 - L99 were not covered by tests

Check warning on line 8 in src/utils/signal_handler.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/utils/signal_handler.rs#L7-L8

Added lines #L7 - L8 were not covered by tests

Check warning on line 14 in src/utils/tasks.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/utils/tasks.rs#L13-L14

Added lines #L13 - L14 were not covered by tests

Check warning on line 16 in src/utils/tasks.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/utils/tasks.rs#L16

Added line #L16 was not covered by tests

Check warning on line 24 in src/utils/tasks.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/utils/tasks.rs#L20-L24

Added lines #L20 - L24 were not covered by tests

Check warning on line 26 in src/utils/tasks.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/utils/tasks.rs#L26

Added line #L26 was not covered by tests