Esun Kim
6b1dcc75c5
Update clang-tidy checks ( #25627 )
2021-03-05 19:31:20 -08:00
Yash Tibrewal
8eb2e13a6e
C++ xDS interop test server changes ( #25633 )
...
* C++ xDS interop test server changes
2021-03-05 16:25:50 -08:00
yihuaz
d4ef8084f4
add max_frame_size support to fake TSI handshaker and fake HS service ( #25621 )
2021-03-05 16:07:24 -08:00
Yash Tibrewal
a214b52998
Disable channelz_service_test for iOS ( #25639 )
2021-03-05 14:27:30 -08:00
Lidi Zheng
e7d9cccf9a
Fix build abseil/boringssl/protobuf at head ( #25638 )
...
* Update PyYAML install steps
* F-string is 3.6+
* Regenerate project
2021-03-05 14:00:32 -08:00
Stanley Cheung
8f2f3d555a
Enable timeout xds test for Ruby ( #25623 )
2021-03-05 10:56:32 -08:00
Ashitha Santhosh
bd86187f19
SDK authorization policy translator. ( #25361 )
...
* SDK authorization policy translator.
2021-03-05 09:05:11 -08:00
donnadionne
34c8a1f87a
Revert "Adding xxhash as a subtree" ( #25630 )
...
This reverts commit 3880393fea .
2021-03-05 09:11:48 +01:00
apolcyn
0901c9914b
Remove CAS loops in global subchannel pool and simplify subchannel refcounting ( #25485 )
2021-03-04 20:29:34 -08:00
Stanley Cheung
e6e82104e2
Fix access to empty list in proto ( #25625 )
2021-03-04 20:14:19 -08:00
donnadionne
40bc4624c2
Adding xxhash as a subtree ( #25601 )
...
* Squashed 'third_party/xxhash/' content from commit aea11081f3
git-subtree-dir: third_party/xxhash
git-subtree-split: aea11081f349893ec26f86ada22c66e828885083
* Adding xxhash as a subtree
2021-03-04 16:00:51 -08:00
Yash Tibrewal
3bd458dd4c
Fix internal build ( #25622 )
2021-03-04 15:12:10 -08:00
Hannah Shi
0fc521067b
Ruby: support for PSM security ( #25330 )
...
* support for PSM security, SSL fallback
* Ruby Server, support for PSM security, SSL fallback
* address review comments
* add more tests, address review comments
* add XdsChannelCredentials class for PSM security, ruby client
* XdsServerCredentials
* address review comments
* re-run tools/distrib/clang_format_code.sh
* address comments, add entries to grpc_class_init_test
* fix to pass end2end ci test
* re-run tools/distrib/clang_format_code.sh
* address comments
2021-03-04 13:32:30 -08:00
Esun Kim
444e6e6d64
Added include/grpcpp/impl/codegen/method_handler_impl.h to grpc++_codegen_base ( #25618 )
2021-03-04 12:34:34 -08:00
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
2021-03-04 11:54:30 -08:00
Vijay Pai
dae5624e47
Thread annotations for C++ callback API headers ( #25571 )
...
* Annotate headers
* clang-format
2021-03-04 10:15:21 -08:00
Sergii Tkachenko
65ea33e427
xds-k8s Fix NameError name 'cls' is not defined ( #25615 )
2021-03-04 10:10:01 -08:00
Yash Tibrewal
4b9ec936e8
xDS Interop Client changes for PSM security tests ( #25613 )
2021-03-04 10:09:25 -08:00
Jan Tattermusch
a2697e4592
simplify build.yaml: get rid of the "secure" field ( #25547 )
...
* get rid of useless "secure" field from build.yaml
* remove nonsensical "liblibssl.a" dependency from makefile
* regenerate projects
2021-03-04 15:07:24 +01:00
Jan Tattermusch
1dce57f35f
Assorted python wheel build improvements ( #25602 )
...
* cleanup unnecessary deps from grpc_artifact_python_manylinux2014_aarch64
* cleanup in grpc_artifact_python dockerfiles
* enable boringssl assembly optimizations when crosscompiling aarch64 linux wheels
* pin manylinux2010 images to keep python27 build
* avoid pip install --upgrade cython when not necessary
2021-03-04 09:54:11 +01:00
Jan Tattermusch
cb8114d689
Delete no longer needed artifact_linux dockerfiles ( #25542 )
...
* delete no longer needed artifact_linux dockerfiles
* fix build_package_python.sh
2021-03-04 09:40:31 +01:00
Jan Tattermusch
c58128e028
Improve Grpc.Tools documentation ( #25570 )
...
* improve Grpc.Tools documentation
* Fix typo
2021-03-04 09:34:46 +01:00
Yash Tibrewal
abf1e9a3c9
Add missing security field to channelz Socket ( #25593 )
...
* Add missing security field to channelz Socket
2021-03-03 23:29:50 -08:00
Hannah Shi
d098697659
PHP: php server commit 3/n, add ServerContext and MethodDescriptor ( #25399 )
...
* add ServerContext and MethodDescriptor
* re-run generate_projects.sh
2021-03-03 22:36:49 -08:00
Yash Tibrewal
44e5409a4e
Option to disable local_certificate check from PSM security tests ( #25595 )
...
* Remove local_certificate check from PSM security tests
* Reviewer comments
* Update tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_testcase.py
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* YAPF code
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2021-03-03 19:31:52 -08:00
Ashitha Santhosh
dbe50923b4
Add getter to grpc_metadata_batch. ( #25395 )
2021-03-03 13:02:22 -08:00
Hannah Shi
061fcbb214
PHP: php server commit 2/n, add Server Call ( #25397 )
...
* php server commit 2, server call
* re-run generate_projects.sh
* temp solution to avoid using autoload
* remove type-hint of
2021-03-03 11:57:43 -08:00
Daren McCulley
fbc5194df6
replace deprecated addProtoService ( #25536 )
2021-03-03 10:34:51 -08:00
Sergii Tkachenko
ee375222a0
Double WAIT_FOR_BACKEND_SEC ( #25603 )
2021-03-03 09:38:43 -08:00
Esun Kim
f862a2259f
Add abseil thread annotations to grpcpp/sync ( #25560 )
...
* Add abseil annotation to grpcpp/sync
* Bump alpine linux to 3.11 from 3.9
2021-03-03 08:39:20 -08:00
Vijay Pai
26e4c14b1e
Add virtual destructor to ClientReactor base class ( #25599 )
...
* Add virtual destructor
* Remove subclass empty destructors
2021-03-02 21:08:07 -08:00
Lidi Zheng
3cef9d3302
Update config selector for LDS update with no route config ( #25528 )
...
* Update config selector upon LDS update
* Add current_virtual_host_.Clear()
* Correct the clear statement
2021-03-02 19:14:23 -08:00
WANG Lei
f99a08fe46
Remove unused parameter from UnaryDeserializeHelper ( #25332 )
...
* fix -Wunused-parameter warning
* clang-fmt
* clang-format
Co-authored-by: Vijay Pai <vpai@google.com>
2021-03-02 17:51:36 -08:00
Yash Tibrewal
2794beb89c
Parse FilterChainMatch from LDS response ( #25530 )
...
Parse FilterChainMatch from LDS response
2021-03-02 16:39:20 -08:00
Lidi Zheng
4e9206f48c
Make returning a local reference a compilation error ( #25568 )
...
* Make returning a local reference a compile error
* Bazel doesn't like return-local-addr
2021-03-02 13:55:07 -08:00
Lidi Zheng
39cc797025
[xDS Proto] Modernize buildgen scripts ( #25512 )
...
* [xDS Proto] Modernize buildgen scripts
* This PR only covers some buildgen scripts that will be used by xDS
proto
* This PR also improves the debuggability of some scripts
* Merge with master
* Adopt reviewer's advices
2021-03-02 11:25:01 -08:00
Esun Kim
160cb1b215
Changed RPI build test to general ARM build test ( #25580 )
...
* Change rpi build test to arm test
* Having a separate docker and targetting aarch64
2021-03-02 08:46:03 -08:00
Jan Tattermusch
fcd43e9030
Crosscompile python aarch64 wheels with dockcross ( #25418 )
...
* build aarch64 python wheels via crosscompilation
* yapf format code
* fix shellcheck complaints
* fix python37 aarch64 wheel build
* build python wheels on linux aarch64 with static libstdc++
* yapf format code
2021-03-02 07:32:28 +01:00
AJ Heller
0e3a02e903
Revert "Remove the `urgent` argument from iomgr tcp read API ( #25494 )" ( #25592 )
...
This reverts commit a3398f9 . Justification: see b/181367644. tl;dr: assuming urgent==false does not hold in all situations.
2021-03-01 22:04:22 -08:00
Lidi Zheng
565520443b
[xDS Proto] Update Bazel dependencies ( #25511 )
...
* [xDS Proto] Update Bazel dependencies
* Include transitive deps required by xDS proto libraries
* The Golang deps come from protoc-gen-validate project
* Adding a new submodule: opencensus-proto
* Add the new submodule to .bazelignore
* Update WORKSPACE file to initialize googleapis
* Remove WORKSPACE override
* Adopt reviewer's advice
2021-03-01 17:53:11 -08:00
yulin liang
c2ed1c70af
In Doxygen-style comments, '@c @select()' is invalid now. ( #25474 )
2021-03-01 15:20:33 -08:00
Sergii Tkachenko
ad461a3c7c
xds-k8s: Update local-dev.cfg.example ( #25552 )
2021-03-01 17:56:27 -05:00
donnadionne
1a26424603
Passing repo manager to markdroth ( #25589 )
2021-03-01 13:35:44 -08:00
Vijay Pai
37bd0a0cbd
Fix race at server shutdown between actual shutdown and MatchOrQueue ( #25541 )
...
* Fix race at server shutdown between actual shutdown and MatchOrQueue
* Address reviewer comments
* Add thread safety annotations
* Address reviewer comments
2021-03-01 12:16:53 -08:00
crewmatt
fe37853055
Update csharp_generator.cc to be compatible with internal and public version of protobuf ( #25514 )
...
* Update csharp_generator.cc to be compatible with internal and public proto
* Add mappings to config_protobuf.h:
* Refactor uses of MethodType
* Refactor Functions using GetMethodType
* Update for comments
* Update config_protobuf.h
* improve readability
* clang format code
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2021-03-01 10:52:01 +01:00
Jan Tattermusch
65454866da
use linkstatic for libraries that contain main() ( #25517 )
2021-02-27 07:01:48 +01:00
Jeff Moser
e46445cb5d
Add support for additional protoc arguments in Grpc.Tools ( #25374 )
...
Using "optional" presence tracking in proto3 (before protobuf 3.15)
required the `--experimental_allow_proto3_optional` protoc option
but there was no existing Grpc.Tools feature that would allow specifying
these arguments.
This commit adds an optional `Protobuf.AdditionalProtocArguments` option
that allows you to specify arbitrary protoc arguments. For example:
```
<Protobuf Include="**\*.proto" CompileOutputs="true" AdditionalProtocArguments="--experimental_allow_proto3_optional" />
```
Fixes #22975
2021-02-27 06:53:29 +01:00
Yash Tibrewal
d861ececfe
Disable check_call_host when server_verification_option is not GRPC_TLS_SERVER_VERIFICATION ( #25577 )
...
Disable check_call_host when server_verification_option is not GRPC_TLS_SERVER_VERIFICATION
2021-02-26 19:32:18 -08:00
Vijay Pai
2a656ce68b
Don't dynamically allocate default server context ( #25576 )
2021-02-26 14:21:35 -08:00
Karthik Ravi Shankar
2fd9f5ead9
Update third_party/protobuf to v3.15.2 ( #25565 )
...
* Update protobuf to v3.15.2
* revert boringssl podspec changes
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2021-02-26 13:32:25 -08:00