Commit Graph

21 Commits

Author SHA1 Message Date
Doug Fawley c63aeef126
transport: add send operations to ClientStream and ServerStream (#7808) 2024-11-20 15:40:17 -08:00
eshitachandwani b850ea533f
transport : wait for goroutines to exit before transport closes (#7666) 2024-10-10 15:34:25 +05:30
Doug Fawley ec257b4e1c
channelz: pass parent pointer instead of parent ID to RegisterSubChannel (#7101) 2024-04-08 10:01:16 -07:00
Doug Fawley 55cd7a68b3
channelz: major cleanup / reorganization (#6969) 2024-03-15 11:13:53 -07:00
Sergey Matyukevich 9bb44fbf2e
transport: use a sync.Pool to share per-connection write buffer (#6309) 2023-07-20 15:28:06 -07:00
Tobo Atchou e8599844e7
server: with TLS, set TCP user timeout on the underlying raw connection (#5646) (#6321) 2023-06-27 09:27:20 -07:00
Tobo Atchou 56b33d5cd0
server/transport: send appropriate debug_data in GOAWAY frames (#6220) 2023-05-03 09:58:06 -07:00
Arvind Bright 11e2506cb6
tests: Scale down keepalive test timings (#6088) 2023-03-14 10:40:00 -07:00
Easwar Swaminathan 0586c51d1b
internal/transport: reduce running time of test from 5s to 1s (#6061) 2023-02-28 09:34:05 -08:00
Zach Reyes 7437662fd5
internal/transport: Fix flaky keep alive test (#6059) 2023-02-27 20:31:24 -05:00
大可 d655f404da
internal/transport: fix severity of log when receiving a GOAWAY with error code ENHANCE_YOUR_CALM (#5935) 2023-02-08 16:36:09 -05:00
Anthonin Bonnefoy 50d0d0a51a
server: set TCP_USER_TIMEOUT socket option for linux (#5219) 2022-03-21 15:07:27 -07:00
Easwar Swaminathan a73725f42d
channelz: include channelz identifier in logs (#5192) 2022-02-23 07:30:06 -08:00
Menghan Li a16b156e99
internal: fix flaky test KeepaliveClientStaysHealthyWithResponsiveServer (#4427)
Server should allow `NoStream`, otherwise there's a small chance
(5/1000) the connection will be closed due to `too many pings`.
2021-05-12 17:43:29 -07:00
apolcyn 9572fd6fae
client: include details about GOAWAYs in status messages (#4316) 2021-04-23 17:26:26 -07:00
lzhfromustc 41676e61b1
Fix goroutine leaks (#4214) 2021-04-19 09:49:37 -07:00
apolcyn c229922995
client: propagate connection error causes to RPC statuses (#4311) 2021-04-13 13:06:05 -07:00
Gaurav Gahlot d7a7a304ff
testing: Avoid using context.Background (#3949) 2020-11-05 09:25:17 -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
Easwar Swaminathan 0f2d539339
client: Keepalive pings should be sent every [Time] period (#3102)
This commit makes the following changes:
- Keep track of the time of the last read in the transport.
- Use this in the keepalive implementation to decide when to send out
  keepalives.
- Address the issue of keepalives being sent every [Time+Timeout] period
  instead of every [Time] period, as mandated by proposal A8.

Proposal A8 is here:
https://github.com/grpc/proposal/blob/master/A8-client-side-keepalive.md
2019-10-23 20:33:53 -07:00
Easwar Swaminathan 1e7ab3dab0
Move keepalive tests to a separate test file. (#3014)
This is a follow-up to https://github.com/grpc/grpc-go/pull/2992.
2019-09-30 12:44:16 -07:00