Arjan Singh Bal
e912015fd3
cleanup: Fix usages of non-constant format strings ( #7959 )
2024-12-23 13:34:22 -08:00
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
CharlesFeng
f9b96b853c
internal/transport: Unlock mutex before panic ( #7488 )
2024-08-08 11:32:52 -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
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
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
Zach Reyes
8eb4ac4c15
grpc: Change server stream context handling ( #6598 )
2023-09-01 15:00:56 -04:00
Tobo Atchou
56b33d5cd0
server/transport: send appropriate debug_data in GOAWAY frames ( #6220 )
2023-05-03 09:58:06 -07:00
Easwar Swaminathan
a8a25ce994
transport: use prefix logging ( #6135 )
2023-03-22 09:20:36 -07: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
Zach Reyes
a9709c3f8c
Added logs for reasons causing connection and transport close ( #5840 )
2022-12-08 19:44:23 -05:00
Doug Fawley
778860e606
testing: update Go to 1.19 ( #5717 )
2022-10-17 15:04:34 -07: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
23a83dd097
transport: various simplifications noticed during #4447 ( #4455 )
2021-05-18 15:26:51 -07:00
Menghan Li
266c7b6f82
xdsrouting: add fake headers ( #3748 )
2020-07-20 13:40:03 -07:00
Malte Isberner
66e9dfe703
transport: fix handling of header metadata in serverHandler ( #3484 )
2020-04-03 12:39:25 -07:00
Matthew Dolan
b3dcc68129
stats: set response compression codec on stats.InHeader and stats.OutHeader ( #3390 )
2020-03-20 10:12:38 -07:00
Matthew Dolan
5c17da6907
stats: add comments about why out headers and out trailers have no wire length ( #3408 )
2020-03-10 09:15:28 -07:00
Egon Elbre
b1a5073a2c
Fix vet issues ( #3396 )
...
* internal/wrr: fix copying lock
* internal/transport: don't use unkeyed fields
* xds/internal/balancer/edsbalancer: don't use unkeyed fields
* profiling/cmd: don't discard cancel
2020-02-25 10:56:49 -08: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
Menghan Li
8c50fc2565
revert buffer reuse ( #3338 )
...
* Revert "stream: fix returnBuffers race during retry (#3293 )"
This reverts commit ede71d589c .
* Revert "codec/proto: reuse of marshal byte buffers (#3167 )"
This reverts commit 642675125e .
2020-01-27 13:30:41 -08:00
Menghan Li
ede71d589c
stream: fix returnBuffers race during retry ( #3293 )
...
And release the buffer after Write(), unless the buffer needs to be kept for retries.
2020-01-07 17:17:22 -08:00
yihuaz
4346c5926d
credentials: create API for transport security level information ( #3214 )
2020-01-07 15:38:45 -08:00
Matthew Dolan
347a6b4db3
stats: attach metadata to In/Out Headers/Trailers ( #3169 )
2019-11-14 15:22:36 -08:00
Can Guler
eca11cb9e4
transport: share recv buffers ( #2813 )
...
transport: share recv buffers
2019-06-20 15:01:58 -07:00
Menghan Li
66cd524910
transport: stop using http.CloseNotifier in handler server ( #2697 )
2019-03-20 13:32:46 -07:00
André Martins
272a4b69f1
transport: do not close channel that can lean to panic ( #2695 )
...
`Write` can be called concurrently, for which it calls the `do` function.
As `WriteStatus` can close the `ht.writes` in parallel as well the `Write`
will try to write into the `ht.writes` in the `do` function, this can
lead into a panic. As there is no real usability on closing this channel
we can simply leave it to the garbage collector so we can avoid panic
during an execution.
Signed-off-by: André Martins <aanm90@gmail.com>
2019-03-19 10:29:19 -07:00
Doug Fawley
04ea82009c
cleanup: replace "x/net/context" import with "context" ( #2439 )
2018-11-12 13:30:41 -08:00
Doug Fawley
59a2cfbdf9
Remove support for Go1.6-1.8 ( #2428 )
2018-11-01 15:43:42 -07:00
dfawley
a344a35754
internal: remove TestingUseHandlerImpl ( #2253 )
2018-08-03 09:35:00 -07:00
dfawley
339b6cb107
transport: eliminate StreamError; use status errors instead ( #2239 )
2018-07-26 10:30:58 -07:00
dfawley
e193757038
internal/transport: remove some unused fields from structs ( #2213 )
...
- Flush and Authority are never read by the transport.
- Authority is used indirectly; move it to dialOptions.
- Delay is only set to false.
2018-07-13 09:56:47 -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