Commit eafafce
committed
In
- Pulled `project-pin-lite` into workspace dependencies. This will later replace `project-pin`.
In `cuprate-p2p-core`:
- Propagated the `send_timeout` field to TcpInBoundStream
In `cuprate-helper`:
- Implemented `WriteTimeout` and `ReadTimeout` wrapper of `AsyncWrite` and `AsyncRead` respectively.
- Implemented `StreamTimeout` wrapper for `AsyncWrite + AsyncRead` types.
- Defined `ExtractDuration` trait for more flexibility on computing the timeout duration.
- Added 6 TCP tests (read/write/ok/err and stream/err)workspace:1 parent a23ca6f commit eafafce
File tree
7 files changed
+546
-9
lines changed- helper
- src
- p2p/p2p-core
- src/transports
7 files changed
+546
-9
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments