Arvind Bright
8320224ff0
.*: revive from unused_parameters ( #7577 )
2024-08-30 10:41:30 -07:00
Jonathan Halterman
6a5a283b69
Use builtin min and max functions ( #7478 )
...
* Use builtin min and max functions
Go added builtin min and max functions in 1.21. This commit removes existing functions and uses the built-ins in stead.
* Revert gofmt changes
2024-08-20 10:42:02 +05:30
Nathan Baulch
c8951abc16
*: fix minor typos ( #7487 )
...
* Fix typos
* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Arvind Bright
f167ad675d
test: fix possible leaked goroutine in TestDetailedConnectionCloseErrorPropagatesToRpcError ( #7183 )
2024-05-03 11:02:22 -07:00
Anand Inguva
7525e9885f
test: add test for invalid streamID ( #6940 )
2024-02-20 11:15:18 -08: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
Doug Fawley
232054a883
client: remove deprecated WithServiceConfig DialOption ( #6800 )
2023-11-15 11:17:10 -08:00
Doug Fawley
8b17a4dbc3
vet: various cleanups ( #6780 )
2023-11-10 13:01:59 -08:00
Easwar Swaminathan
df8fc99c30
encoding: move codec tests out of top-level test package ( #6728 )
2023-10-13 13:54:26 -07:00
Peter Štibraný
be7919c3dc
transport: Pass Header metadata to tap handle. ( #6652 )
2023-10-05 14:08:13 -04:00
Easwar Swaminathan
09792b58fb
test: move codec tests to a separate file ( #6663 )
2023-09-26 12:10:12 -07:00
Doug Fawley
81b9df233e
idle: move idleness manager to separate package and ~13s of tests into it ( #6566 )
2023-08-23 12:50:42 -07:00
Doug Fawley
fe1519ecf7
client: fix ClientStream.Header() behavior ( #6557 )
2023-08-18 08:05:48 -07:00
Doug Fawley
33f9fa2e6e
test: speed up two tests ( #6558 )
2023-08-16 13:15:23 -07:00
Doug Fawley
fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` ( #6544 )
2023-08-14 09:04:46 -07:00
Doug Fawley
4832debdaa
test: clean up deadlines set in tests ( #6506 )
2023-08-08 09:23:15 -07:00
Zach Reyes
7aab9c05b7
stats: Add RPC event for blocking for a picker update ( #6422 )
2023-07-18 13:50:03 -04:00
Doug Fawley
fd376a5cbd
test: fix flaky TimeoutOnDeadServer test; some cleanups ( #6276 )
2023-05-12 11:01:06 -07:00
Arvind Bright
da1a5eb25d
tests: nix TestClientDoesntDeadlockWhileWritingErroneousLargeMessages ( #6227 )
2023-04-26 16:58:00 -07:00
Easwar Swaminathan
89ec9609a5
grpc: read the service config channel once instead of twice ( #6186 )
2023-04-11 14:51:15 -07:00
Easwar Swaminathan
bfb57b8b49
testing: delete internal copy of test service proto, and use canonical one ( #6164 )
2023-04-05 17:12:57 -07:00
Easwar Swaminathan
a8a25ce994
transport: use prefix logging ( #6135 )
2023-03-22 09:20:36 -07:00
Zach Reyes
55d8783479
gcp/observability: Link logs and traces by logging Trace and Span IDs ( #6056 )
2023-03-09 13:56:23 -05:00
Easwar Swaminathan
d53f0ec318
test: move compressor tests out of end2end_test.go ( #6063 )
2023-02-28 11:30:48 -08:00
Easwar Swaminathan
75bed1de3d
test: move e2e health checking tests out of end2end_test.go ( #6062 )
2023-02-28 09:36:06 -08: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
Arvind Bright
12b8fb52a1
test: move e2e HTTP header tests to http_header_end2end_test.go ( #5901 )
2022-12-28 17:23:09 -06:00
Arvind Bright
b2d4d5dbae
test: fix raceyness check to deflake test http server ( #5866 )
...
Fixes https://github.com/grpc/grpc-go/issues/4990
2022-12-19 12:57:49 -06:00
Doug Fawley
9f97673ba4
test: move e2e goaway tests to goaway_test.go ( #5820 )
2022-11-29 10:08:03 -08:00
Zach Reyes
36d14dbf66
Fix binary logging bug which logs a server header on a trailers only response ( #5763 )
2022-11-02 19:46:50 -04:00
Doug Fawley
9127159caf
client: synchronously verify server preface in newClientTransport ( #5731 )
2022-10-20 09:29:17 -07:00
Ronak Jain
7b817b4d18
client: set grpc-accept-encoding to full list of registered compressors ( #5541 )
2022-10-11 16:37:02 -07:00
Zach Reyes
5fc798be17
Add binary logger option for client and server ( #5675 )
...
* Add binary logger option for client and server
2022-10-06 13:36:05 -04:00
Zach Reyes
b1d7f56b81
transport: Fix deadlock in transport caused by GOAWAY race with new stream creation ( #5652 )
...
* transport: Fix deadlock in transport caused by GOAWAY race with new stream creation
2022-09-21 14:35:08 -04:00
Doug Fawley
02f1a7ac92
grpc: prevent a nil stats handler from causing a panic ( #5543 )
2022-07-29 10:45:21 -07:00
Doug Fawley
1ec054bb67
transport/server: fix race that could cause a stray header to be sent ( #5513 )
2022-07-28 16:38:04 -07:00
Zach Reyes
a094a1095c
Fix race between activeStreams and bdp window size ( #5494 )
...
* Fix race between activeStreams and bdp window size
2022-07-13 11:37:09 -04:00
Easwar Swaminathan
15739b5c88
health: split imports into healthpb and healthgrpc ( #5466 )
2022-06-24 13:31:35 -07:00
Doug Fawley
799605c228
client: fix potential panic during RPC retries ( #5323 )
2022-05-04 10:06:12 -07:00
idiamond-stripe
924e4849c5
server: return better status for context err when writing header ( #5292 )
2022-04-08 13:10:16 -07:00
Easwar Swaminathan
34660d1029
test: use `t.Fatal` instead of `panic` for service config parsing errors ( #5266 )
2022-03-22 14:37:12 -07:00
Easwar Swaminathan
eead9a824c
grpc: delete deprecated API WithBalancerName() ( #5232 )
2022-03-10 13:15:11 -08:00
赵延
c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials ( #5177 )
2022-02-09 11:17:46 -08:00
Doug Fawley
f068a13ef0
server: add missing conn.Close if the connection dies before reading the HTTP/2 preface ( #4837 )
2021-10-04 11:22:00 -07:00
Zach Reyes
689f7b154e
transport: logic specified in A41 to support RBAC xDS HTTP Filter ( #4803 )
...
* transport: logic specified in A41 to support RBAC xDS HTTP Filter
2021-09-27 16:55:46 -04:00
Doug Fawley
11437f66f2
test: add option to make httpServer wait for END_STREAM; fix RetryStats race ( #4811 )
2021-09-24 15:29:25 -07:00
Doug Fawley
4ddf8ceaa7
Revert "transport/server: add :method POST to incoming metadata ( #4770 )" ( #4790 )
...
This reverts commit c84a5de064 .
2021-09-21 10:55:00 -07:00
Zach Reyes
c84a5de064
transport/server: add :method POST to incoming metadata ( #4770 )
...
* transport/server: add :method POST to incoming metadata
2021-09-15 17:02:08 -04:00
Doug Fawley
d41f21ca05
stats: support stats for all retry attempts; support transparent retry ( #4749 )
2021-09-14 15:11:42 -07:00
Doug Fawley
d25e31e741
client: fix case where GOAWAY would leak connections and memory ( #4755 )
2021-09-10 14:12:13 -07:00