Commit 85fec25
committed
fix grpc: call
есть такое, правда оно к callback API относится:
<https://grpc.io/docs/languages/cpp/best_practices/>
"""
18\. Does server still need to call `Finish` if `OnCancel` is run?
Yes, although the status passed to `Finish` is ignored.
"""
пример тоже по callback API
<https://github.com/grpc/grpc/blob/d1842f693085db8c66b84d368e4aa3b9357eee1a/examples/cpp/cancellation/server.cc#L54>
"""
не может быть такое, что какие-то внутренние ресурсы grpc-core продолжают висеть пока явно Finish не позовем?
~~и OnDone возможно чуть раньше прилетит~~
"""
commit_hash:8b292a764e63795a887575c76e9e4b33a177dbadFinish even when Rpc interrrupted1 parent 9f56219 commit 85fec25
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
140 | | - | |
| 146 | + | |
| 147 | + | |
141 | 148 | | |
142 | 149 | | |
| 150 | + | |
| 151 | + | |
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
| |||
0 commit comments