Commit 93f680c
committed
grpc: deprecate WithSharedWriteBuffer and SharedWriteBuffer (grpc#9060)
Since grpc#8957 shared write buffers are always enabled by default and
passing `false` is no longer beneficial. This PR deprecates both options
per the request in grpc#8966, replacing the `# Experimental` notice with a
`Deprecated:` godoc comment consistent with the pattern used elsewhere
in `dialoptions.go` and `server.go`.
The options are left functional for now; removal can follow in a
subsequent release.
Fixes grpc#8966
RELEASE NOTES:
* grpc: deprecate `WithSharedWriteBuffer` dial option and
`SharedWriteBuffer` server option; shared write buffers are now always
enabled.1 parent 7423462 commit 93f680c
2 files changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 176 | + | |
| 177 | + | |
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 253 | + | |
| 254 | + | |
257 | 255 | | |
258 | 256 | | |
259 | 257 | | |
| |||
0 commit comments