Commit Graph

26 Commits

Author SHA1 Message Date
Arjan Singh Bal ad5cd321d0
cleanup: Remove test contexts without timeouts (#8072) 2025-02-12 00:39:01 +05:30
Doug Fawley c63aeef126
transport: add send operations to ClientStream and ServerStream (#7808) 2024-11-20 15:40:17 -08:00
Doug Fawley 2a18bfcb16
transport: refactor to split ClientStream from ServerStream from common Stream functionality (#7802) 2024-11-04 13:42:38 -08:00
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Paul Chesnais 9ab8b62505
Implement new Codec that uses `mem.BufferSlice` instead of `[]byte` (#7356) 2024-08-21 14:11:39 -07:00
hakusai22 273fe145d0
*: fix typos (#7178) 2024-05-02 16:54:22 -07:00
Joshua Humphries 40d6adb0cc
transport: Make error-handling for bad HTTP method consistent between HTTP/2 server transport and handler server transport (#6989) 2024-02-16 14:33:12 -05:00
Clément Jean 02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6919)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Mile Druzijanic 4f03f3ff32
removing deprecated http closenotifier function (#6886) 2023-12-21 14:54:26 -08:00
Zach Reyes c76d75f4f9
grpc: Move some stats handler calls to gRPC layer, and add local address to peer.Peer (#6716) 2023-10-25 18:01:05 -04:00
Zach Reyes 8eb4ac4c15
grpc: Change server stream context handling (#6598) 2023-09-01 15:00:56 -04:00
Doug Fawley a0100790d9
*: remove references to old versions of go (#6545) 2023-08-11 14:14:47 -07:00
Tobo Atchou 56b33d5cd0
server/transport: send appropriate debug_data in GOAWAY frames (#6220) 2023-05-03 09:58:06 -07:00
Ronak Jain 0954097276
server: expose API to set send compressor (#5744)
Fixes https://github.com/grpc/grpc-go/issues/5792
2023-01-31 13:27:34 -08:00
Joshua Humphries 9b9b381270
server: fix a few issues where grpc server uses RST_STREAM for non-HTTP/2 errors (#5893)
Fixes https://github.com/grpc/grpc-go/issues/5892
2023-01-18 12:59:58 -08:00
Sean Barag 2f413c4548
transport/http2: use HTTP 400 for bad requests instead of 500 (#5804) 2022-12-13 11:31:23 -08:00
Easwar Swaminathan c4ed6360a9
transport: remove RequestURI field from requests in transport test (#4465) 2021-05-24 17:30:29 -07:00
Malte Isberner 66e9dfe703
transport: fix handling of header metadata in serverHandler (#3484) 2020-04-03 12:39:25 -07:00
Doug Fawley 6b9bf4296e
Revert "profiling: add hooks within grpc (#3159)" (#3378)
This reverts commit 83263d17f7.
2020-02-14 07:56:46 -08:00
Adhityaa Chandrasekar 83263d17f7
profiling: add hooks within grpc (#3159) 2020-02-12 11:10:44 -08:00
Garrett Gutierrez 132187f04c
Modified tests to use tlogger. (#3343)
* Modified tests to use tlogger.

* Fail on errors, with error expectations.

* Added expects and MixedCapsed grpclb_config tests

* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go

* Added ExpectErrorN()

* Removed redundant leak checks

* Fixed new test

* Made tlogger globals into tlogger methods

* ErrorsLeft -> EndTest

* Removed some redundant lines

* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
Menghan Li 66cd524910
transport: stop using http.CloseNotifier in handler server (#2697) 2019-03-20 13:32:46 -07:00
Doug Fawley 04ea82009c
cleanup: replace "x/net/context" import with "context" (#2439) 2018-11-12 13:30:41 -08:00
dfawley 5fe10fccaf
Remove unused symbols (#2287) 2018-09-05 12:29:02 -07:00
dfawley 339b6cb107
transport: eliminate StreamError; use status errors instead (#2239) 2018-07-26 10:30:58 -07:00
dfawley 11b582728a
transport: move to internal to make room for new, public transport API (#2212)
This is a breaking change, but the transport package was never intended for use outside of grpc.  Any current users that we are aware of are incorrect or have a preferred alternative.
2018-07-11 11:22:45 -07:00