Commit 1a6265f
grpc: Deprecate InitialWindowSize and introduce InitialStreamWindowSize
Part of #7923.
Since it has been two releases after #8283 is merged, we can
introduce InitialStreamWindowSize on both server and client, while
deprecating InitialWindowSize.
RELEASE NOTES:
* grpc: Introduce new ServerOption and ClientOption to set stream
window size without disabling BDP estimation.
* grpc: Behavior change in WithInitialWindowSize in ClientOption
and InitialWindowSize in ServerOption. Using these options will no
longer disable BDP estimation. To explicitly disable BDP estimation,
please use *StaticStreamWindowSize options.
* grpc: Mark WithInitialWindowSize for deprecation, to be replaced
with WithInitialStreamWindowSize in ClientOption. Similarly, for
InitialWindowSize inServerOption to be replaced with InitialStreamWindowSize.1 parent f448a97 commit 1a6265f
2 files changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
216 | | - | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
| |||
223 | 226 | | |
224 | 227 | | |
225 | 228 | | |
226 | | - | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
230 | 240 | | |
231 | 241 | | |
232 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
281 | 285 | | |
282 | 286 | | |
283 | 287 | | |
284 | | - | |
285 | 288 | | |
286 | 289 | | |
287 | 290 | | |
| |||
290 | 293 | | |
291 | 294 | | |
292 | 295 | | |
293 | | - | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
297 | 306 | | |
298 | 307 | | |
299 | 308 | | |
| |||
0 commit comments