Craig Tiller
ce95fd2586
For-each loop for promises ( #27241 )
...
* For-each loop for promises
* Automated change: Fix sanity tests
* Fix older compilers
* Automated change: Fix sanity tests
* review feedback
* clang-tidy fixes
* clangfmt
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
8ee36d26bf
Move handshakers to core configuration system ( #27195 )
...
* Move handshakers to core configuration
* Automated change: Fix sanity tests
* fix memory ordering
* Update http_connect_handshaker.h
* slightly simpler code
* clangfmt
* review feedback
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Richard Belleville
33dd1bd8d0
Report Python xDS Interop Client SIGINTs ( #27289 )
3 years ago
Mark D. Roth
f3497eb790
implement improved xDS NACK semantics ( #27276 )
...
* refactor xDS response parsing
* fix build
* implement improved xDS NACK semantics
* fix clang-tidy
* fix test
3 years ago
Craig Tiller
5765d320d2
Remove unused APIs ( #27270 )
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
sanjaypujare
714eaa9df8
xds-k8s: fix typo to remove _java from the script name ( #27278 )
3 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
6dfcc6140f
EventEngine documentation and API changes from the gRFC ( #27220 )
3 years ago
Mark D. Roth
e468b00c56
refactor xDS response parsing ( #27272 )
...
* refactor xDS response parsing
* fix build
3 years ago
ZHANG Dapeng
0faa444426
Update grpc_xds_features.md with latest features ( #27277 )
3 years ago
Denny C. Dai
7da1671757
[objc] Reduce payload size for concurrent tests and separate expectations ( #27271 )
3 years ago
Ta-Wei Tu
dff9e84e35
[binder] Handle inbound flow control ( #27228 )
3 years ago
Ta-Wei Tu
3a5e844b38
[binder] Implicitly initialize the binder pool ( #27261 )
3 years ago
sanjaypujare
e20e26f0d4
xds-k8s/interop: add files for cross language testing ( #27234 )
...
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
Craig Tiller
dc701787e2
Convert HPACK encoder to C++ ( #27226 )
...
* Rebuild HPACK encoder table as C++
* move comment
* incguards
* build
* Automated change: Fix sanity tests
* c++ initialization ftw
* Automated change: Fix sanity tests
* Add missing header
* Add missing header
* Begin converting HPACK encoder to c++
* First pass conversion to c++
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Piotr Morgwai Kotarbinski
483e11ddc3
Tiny update to protocol overview doc. ( #26396 )
...
* Tiny update to protocol overview doc.
Clarify client stream closing and link to more detalied HTTP/2 specific doc.
* apply review comments
* add brief HTTP/2 client stream closing mechanism explenation
* reword to differentiate HTTP/2 stream from gRPC message stream
* apply review comments
3 years ago
AJ Heller
17174976b6
Remove the TaskHandle return type from EventEngine::Run ( #27269 )
...
It isn't used in gRPC currently, and would be difficult to implement
efficiently in some scenarios.
3 years ago
Yash Tibrewal
205445ffc6
Update submodule envoy-api to origin/main ( #27256 )
...
* Update submodule envoy-api with origin/main
* Update UPB generated files
3 years ago
Craig Tiller
9b43c881d7
Add python formatters to sanitize.sh ( #27253 )
...
* Add python sanitizers to sanitize.sh
* virtualenv
3 years ago
Denny C. Dai
fdf369b313
[gRPC ObjC] Adding copy property attribte to response header & trailer dictionary ( #27237 )
3 years ago
AJ Heller
398b44405f
Add sanity check preventing "DO NOT SUBMIT"s from submitting ( #27250 )
3 years ago
yifeizhuang
f1e4ddc715
interop-testing, staging: ignore urlmap not exist errors in existing resource setup ( #27258 )
3 years ago
Denny C. Dai
94bf58735d
[gRPC ObjC] Adding strong self nullability check ( #27236 )
3 years ago
Jan Tattermusch
1568b9cb6c
Revert "Adding grpc_init/grpc_shutdown to subchannel ctor/dtor to solve bugs related to async destruction of subchannels" ( #27245 )
...
This reverts commit b016729c90
.
3 years ago
Nicolas 'Pixel' Noble
599be194ff
Change repo manager to drfloob.
3 years ago
Ming-Chuan
2dfa59e898
Enable server side implementation in example binder server app ( #27259 )
3 years ago
Ta-Wei Tu
a796cb5fdf
[binder] Add CreateCustomBinderChannel() ( #27255 )
...
This allows users to pass in custom channel arguments.
3 years ago
Ta-Wei Tu
7860fec73d
[binder] Keep pulling messages when there's more ( #27254 )
...
Top-level messages may be broken into multiple pieces and streamed if
they are too long. Keep pulling them from the stream until we've got to
the desired length.
3 years ago
Ta-Wei Tu
3df113f6d6
Add binder server ( #27036 )
...
Add `grpc::BinderServerCredentials()` and other related functionalities for the server to listen to binder transactions through a phony "binder port".
The APIs are temporarily placed in internal headers until the corresponding gRFC is merged.
3 years ago
donnadionne
f9a2a7401a
Upgrade third_party/protobuf to v3.17.3 ( #27227 )
...
* update protobuf dependency
* version changes and generated files
* updating upb to use the latest proto and regen files
3 years ago
Denny C. Dai
2d858866eb
[gRPC ObjC] Fix setenv crash for invalid c string access ( #27197 )
3 years ago
Richard Belleville
2349aad7a4
Install Python 3.10.0 ( #27247 )
3 years ago
Craig Tiller
b408c8c510
Remove iterator interface from LBPolicy Metadata ( #26492 )
...
* Remove iterator interface from LBPolicy Metadata
Trying to clear the way to think about how metadata is handled in core.
Right now this interface is only used for tests, so a single method that
does what's needed for that (and marked TestOnly) is provided for now.
In the future we'll certainly likely need API to access metadata from
load balancing policies. However, it seems likely that we'll want to
encourage access via lookup-by-key rather than lookup-by-iteration, and
so it seems likely we'll want to expose interfaces phrased in those
terms.
In the meantime, this change localizes some complexity to make it easier
to transition to new internal API's.
* mdcleanup
3 years ago
yifeizhuang
5f33e0b3b3
interop-testing: url_map resource leakage ( #27223 )
3 years ago
Alexey Mikheyev
4a267667b7
[csharp] Fix error loading library grpc_csharp_ext.*.dll on windows with non-ASCII encoding ( #26762 )
...
* [csharp net472] Fix error loading library grpc_csharp_ext.x64.dll on Windows with charset on non ANSI encoding. Example library path: C:\Program Files (x86)\тест\grpc_csharp_ext.x64.dll
* cleanup
* Change charset to Unicode
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
3 years ago
Daniel Cazzulino
6c095c957b
Annotate copied Content native lib items with package id to enable customization ( #26725 )
...
Add `%(NuGetPackageId)` as is standard procedure for nuget package-provided assets,
so that other MSBuild targets can act on items contributed by Grpc.Core as needed, for
example, in Pack scenarios.
Fixes #26724
3 years ago
Ming-Chuan
e7461d002d
[binder] Disable header in Parcel ( #27229 )
...
Java side implementation does not use header, so we need
AIBinder_Class_disableInterfaceTokenHeader to disable header.
The weak symbol will be resolved when the libbinder_ndk.so on device is
new enough. Otherwise, our transport implementation will keep using
header.
After SDK and NDK that support API level 32 get released, we will remove
this workaround and specify correct minSDKVersion in AndroidManifest
3 years ago
Jan Tattermusch
fd0a4624c9
increase timeout for building mac ruby artifact ( #27230 )
3 years ago
Brad Hess
b082fbe79d
Clear SSL error stacks before performing SSL I/O. ( #26834 )
...
* Clear SSL error stacks before performing SSL I/O.
3 years ago
Craig Tiller
999e36fb31
Rebuild HPACK encoder table as C++ ( #27192 )
...
* Rebuild HPACK encoder table as C++
* move comment
* incguards
* build
* Automated change: Fix sanity tests
* c++ initialization ftw
* Automated change: Fix sanity tests
* Add missing header
* Add missing header
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
4729f6fdcc
Add Python 3.10 drop 3.5 ( #26074 )
...
* Add Python 3.10.0rc1 binary wheels
* Drop Python 3.5 artifacts
* Document the drop of 3.5
* Fix the wrong pip pointer
* Update manylinux2014 to a newer version, remove 3.5 distribtest
* Update manylinux aarch64 to see if the absl error go away
* Use the preferred alias
* Allow different wheel library to produce different tag order
* Remove unused shell var and log produced wheels
* Use copy instead of move
* Make bash happy about the wildcard
* Upgrade the debian image to use 3.5+ Python
* Polish the comments for the Dockerfiles
3 years ago
Richard Belleville
8fca16ac45
Add compute_engine_channel_credentials to __all__ ( #27235 )
...
* Add compute_engine_channel_credentials to __all__
* And amend api_test
3 years ago
Denny C. Dai
837ee24f66
[gRPC ObjC] Fix flaky Interop test cases with write message callback counting ( #27196 )
3 years ago
Craig Tiller
3214be885d
Add initial pipe facility for promises ( #27202 )
...
* Add initial pipe facility for promises
* Automated change: Fix sanity tests
* fixes for windows?
* comment tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
b062fcd5c6
Ensure consistency of include style for <grpc.* headers ( #27233 )
...
* Add a tool to ensure consistency in how grpc public headers are included
* Apply tool
* add to test suite
* isort
3 years ago
Donghao Qiu
dc19d6c132
add file existance check ( #27133 )
3 years ago
Ming-Chuan
5b808a1bb5
Add missing namespace for binder transport phony implementation ( #27225 )
...
Also order the definitions correctly
3 years ago
Soheil Hassas Yeganeh
7911beacdb
Use a smaller array for write IOVs. ( #27224 )
...
Instead of 1000, use 260 IOVs to make stack overflows less likely.
Also pull the `iov` array to the bottom of the stack, to improve
locality.
3 years ago
Yash Tibrewal
9e4c657fa3
C++ opencensus filter: Fix point of creating context for overall call ( #27221 )
3 years ago