Commit be12715
Disable IOReaderFactory for streaming requests (#896)
An IOReaderFactory was being used to wrap request body for client/bidi streaming
requests. This was causing the requests to be fully buffered before being sent
to the grpc server, thereby breaking streaming. This commit changes that to
directly use request body.
Fixes #8941 parent 87b57f5 commit be12715
File tree
4 files changed
+11
-38
lines changed- examples/proto/examplepb
- protoc-gen-grpc-gateway/gengateway
4 files changed
+11
-38
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some 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 | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 239 | + | |
244 | 240 | | |
245 | 241 | | |
246 | 242 | | |
| |||
303 | 299 | | |
304 | 300 | | |
305 | 301 | | |
306 | | - | |
307 | | - | |
| 302 | + | |
| 303 | + | |
308 | 304 | | |
309 | 305 | | |
310 | 306 | | |
| |||
378 | 374 | | |
379 | 375 | | |
380 | 376 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
| 377 | + | |
386 | 378 | | |
387 | 379 | | |
388 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | 394 | | |
398 | 395 | | |
399 | 396 | | |
| |||
482 | 479 | | |
483 | 480 | | |
484 | 481 | | |
485 | | - | |
| 482 | + | |
486 | 483 | | |
487 | 484 | | |
488 | 485 | | |
| |||
492 | 489 | | |
493 | 490 | | |
494 | 491 | | |
495 | | - | |
| 492 | + | |
496 | 493 | | |
497 | 494 | | |
498 | 495 | | |
499 | 496 | | |
500 | | - | |
| 497 | + | |
501 | 498 | | |
502 | 499 | | |
503 | 500 | | |
| |||
0 commit comments