Nathan Baulch
c8951abc16
*: fix minor typos ( #7487 )
...
* Fix typos
* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Doug Fawley
5e0fa765ba
transport: make nextID accessed inside t.mu only ( #7148 )
2024-04-18 10:18:20 -07:00
Doug Fawley
54e0a1365b
transport: misc cleanups ( #7147 )
2024-04-18 10:10:47 -07:00
Abhishek Ranjan
f268126950
Send GOAWAY to server on Client Transport Shutdown ( #7015 )
2024-04-17 14:20:12 -07:00
Doug Fawley
55cd7a68b3
channelz: major cleanup / reorganization ( #6969 )
2024-03-15 11:13:53 -07:00
Doug Fawley
05db80f118
server: wait to close connection until incoming socket is drained (with timeout) ( #6977 )
2024-02-12 08:38:58 -08:00
Vladimir Varankin
67e50be526
transport: Remove redundant if in handleGoAway ( #6930 )
2024-01-22 19:31:00 -05:00
Aditya Sood
987df13092
metadata: move FromOutgoingContextRaw() to internal ( #6765 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2024-01-18 09:55:32 -08:00
Easwar Swaminathan
a03c7f1faa
client: always enable TCP keepalives with OS defaults ( #6834 )
2023-12-07 14:04:31 -08:00
Carlos Ruiz
591c48187c
internal/transport: Add LocalAddr to http2Client.getPeer() ( #6779 )
2023-11-10 08:49:14 -08:00
Jayden Teoh
f1a1fcd042
grpc: disable and document overrides of OS default TCP keepalive by Go ( #6672 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2023-11-07 13:49:01 -08:00
Doug Fawley
e3f1514cdb
Reapply "status: fix/improve status handling ( #6662 )" ( #6673 ) ( #6688 )
2023-10-05 08:20:01 -07:00
Doug Fawley
9e1fc3e9c0
Revert "status: fix/improve status handling ( #6662 )" ( #6673 )
2023-10-02 12:52:25 -07:00
Doug Fawley
0772ed7355
status: fix/improve status handling ( #6662 )
2023-10-02 09:54:42 -07:00
Doug Fawley
fe1519ecf7
client: fix ClientStream.Header() behavior ( #6557 )
2023-08-18 08:05:48 -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
Sergey Matyukevich
9bb44fbf2e
transport: use a sync.Pool to share per-connection write buffer ( #6309 )
2023-07-20 15:28:06 -07:00
Ernest Nguyen Hung
7dfd71831d
internal/buffer: add Close method to the Unbounded buffer type ( #6161 )
2023-04-18 16:53:59 -07:00
Easwar Swaminathan
a8a25ce994
transport: use prefix logging ( #6135 )
2023-03-22 09:20:36 -07:00
Doug Fawley
7651e62090
transport: add a draining state check before creating streams ( #6142 )
2023-03-21 13:58:51 -07:00
Doug Fawley
b458a4f11a
transport: stop always closing connections when loopy returns ( #6110 )
2023-03-14 13:32:25 -07: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
Mikhail Mazurskiy
379a2f676c
*: add missing colon to errorf messages to improve readability ( #5911 )
2023-01-17 16:11:47 -08:00
Arvind Bright
6de8f50f91
transport: drain client transport when streamID approaches maxStreamID ( #5889 )
...
Fixes https://github.com/grpc/grpc-go/issues/5600
2023-01-11 12:58:00 -08:00
Arvind Bright
07ac97c355
transport: simplify httpClient by moving onGoAway func to onClose ( #5885 )
2022-12-21 15:44:31 -06:00
Zach Reyes
a9709c3f8c
Added logs for reasons causing connection and transport close ( #5840 )
2022-12-08 19:44:23 -05:00
wby
0238b6e1ce
transport: new stream with actual server name ( #5748 )
2022-11-18 08:57:37 -08:00
Doug Fawley
9127159caf
client: synchronously verify server preface in newClientTransport ( #5731 )
2022-10-20 09:29:17 -07:00
Doug Fawley
778860e606
testing: update Go to 1.19 ( #5717 )
2022-10-17 15:04:34 -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
Doug Fawley
12db695f16
grpc: restrict status codes from control plane (gRFC A54) ( #5653 )
2022-10-04 15:13:23 -07: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
feihu-stripe
641dc8710c
transport: add peer information to http2Server and http2Client context ( #5589 )
2022-08-24 09:46:22 -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
Lidi Zheng
ea86bf7497
stats: add support for multiple stats handlers in a single client or server ( #5347 )
2022-06-03 09:15:50 -07:00
Doug Fawley
799605c228
client: fix potential panic during RPC retries ( #5323 )
2022-05-04 10:06:12 -07:00
Easwar Swaminathan
a73725f42d
channelz: include channelz identifier in logs ( #5192 )
2022-02-23 07:30:06 -08:00
Menghan Li
40916aa021
transport: better error message when per-RPC creds fail ( #5033 )
2021-12-08 10:05:59 -08:00
Ryan Leung
14ebd917f2
lint: fix some unused parameter issues ( #4956 )
2021-11-09 11:18:21 -08:00
Anirudh Ramachandra
bac0a7e47f
transport: pass handshake info with attributes to custom dialers ( #4938 )
2021-11-08 14:57:42 -08:00
Easwar Swaminathan
aaff9e7ab9
grpc: better RFC 3986 compliant target parsing ( #4817 )
2021-10-14 14:54:02 -07:00
Doug Fawley
75f1d4b986
transport: call stats handler for trailers before closeStream ( #4816 )
2021-09-28 12:20:57 -07: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
d53469981f
transport: fix transparent retries when per-RPC credentials are in use ( #4785 )
2021-09-21 10:39:59 -07:00
Menghan Li
0d6854ab5e
transport: fix race accessing s.recvCompress ( #4641 )
2021-08-03 14:17:02 -07:00
Doug Fawley
1ddab33869
client: fix detection of whether IO was performed in NewStream ( #4611 )
...
For transparent retry.
Also allow non-WFR RPCs to retry indefinitely on errors that resulted in no I/O; the spec used to forbid it at one point during development, but it no longer does.
2021-07-23 10:37:18 -07:00
John Howard
0103ea2d6c
client: improve GOAWAY debug messages ( #4587 )
2021-07-14 13:59:50 -07:00
James Protzman
ba41bbac22
transport: validate http 200 status for responses ( #4474 )
2021-07-14 10:54:58 -07:00
Vicent Martí
83f9def5fe
internal/transport: do not mask ConnectionError ( #4561 )
2021-06-28 09:51:21 -07:00
Zach Reyes
b9270c3a7f
client: add deadline for TransportCredentials handshaker ( #4559 )
...
* Add deadline on connection for TransportCredentials handshake
2021-06-23 16:36:24 -04:00