-
Notifications
You must be signed in to change notification settings - Fork 343
Commit a46464d
Fix vectored IO for TcpStream
Implements `Write::poll_write_vectored` and `Read::poll_read_vectored`
on `TcpStream` using the vectored IO methods on the underlying stream.
Previously, the trait's default implementation was used, which just
called `poll_write` and `poll_read` once for each `IoSlice`.1 parent 6278fdc commit a46464d
1 file changed
+16
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
307 | 307 |
| |
308 | 308 |
| |
309 | 309 |
| |
310 | + | ||
311 | + | ||
312 | + | ||
313 | + | ||
314 | + | ||
315 | + | ||
316 | + | ||
317 | + | ||
310 | 318 |
| |
311 | 319 |
| |
312 | 320 |
| |
| |||
344 | 352 |
| |
345 | 353 |
| |
346 | 354 |
| |
355 | + | ||
356 | + | ||
357 | + | ||
358 | + | ||
359 | + | ||
360 | + | ||
361 | + | ||
362 | + | ||
347 | 363 |
| |
348 | 364 |
| |
349 | 365 |
| |
|
0 commit comments