yihuaz
91cf96c6ee
Do not set custom bio size in ssl_transport_security_test when openssl version < 1.1.0 ( #29286 )
...
* fix ssl tests
* remove boringssl check
3 years ago
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
yihuaz
93d47104da
Handle SSL_ERROR_WANT_WRITE error ( #29176 )
...
* fix ssl write error
* address comments
* fix test compilation error
3 years ago
krestofur
2d34ccff42
Softfail when receiving a X509_V_ERR_UNABLE_TO_GET_CRL error ( #29124 )
3 years ago
Esun Kim
c08eb4fc41
Attempt to upgrade upb to the latest ( #28685 )
...
* Update upb to 85e5c76cb7098d3ae35e575d652a40568013a149
* Update grpc_deps.bzl
* Run gen_upb_api.sh
* Run run_sed.sh
* Update gen_build_yaml.py
* Regen projects
* Reformat
* Update third_party/upb to 950cdab42fe4c83f06a2be46eeb46a068e486eed
* Update third_party/upb to c9c31241bc39922b092a81d192badd50cccaaa81
* Update src/upb/gen_build_yaml.py
* Generated projects
* Update third_party/upb to a02d92e0257a35f11d4a58b6a932506cbdbb2f29
* Patching in https://github.com/protocolbuffers/upb/pull/524
* Sed script went too far.
Co-authored-by: Nicolas 'Pixel' Noble <nicolas@nobis-crew.org>
3 years ago
Craig Tiller
ff87ca02b2
Revive test/core/memory_usage ( #28931 )
...
* Revert "Deprecate gpr_get/set_allocation_functions"
This reverts commit 81df105ac8
.
* memory stats
* Hack up to get per-call numbers
* expunge memory counters
* buildgen
* Automated change: Fix sanity tests
* sanity
* fix
* Automated change: Fix sanity tests
* simplify
* better
* Automated change: Fix sanity tests
* Disable windows memory_usage
* disable mac
* disable mac
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
yihuaz
b458db9246
Eliminate gRPC insecure build ( #25586 )
...
* force submit
* fix test error
* remove is_client from local tsi and its callsites
* fix too_many_pings_test
* add missing dep
3 years ago
krestofur
b8d3a09092
Update CRL test credentials ( #28794 )
...
* remove old files
* update credentials
* fix README
3 years ago
ZhenLian
ded999b1e5
fix openssl protability test ( #28499 )
3 years ago
yihuaz
10b2b50569
Reland empty target introduction to ease the internal merge of #25586 ( #28408 )
...
* revert #28172
* fix missing arena dependency
* add missing dependency
* sync to upstream/master
3 years ago
krestofur
7759632a2d
Add CRL checking to gRPC Core ( #28418 )
3 years ago
Vignesh Babu
24778bf8ea
Revert "Enable CRL checking in gRPC core ( #26287 )" ( #28416 )
...
This reverts commit 7d8c9ae890
.
3 years ago
krestofur
7d8c9ae890
Enable CRL checking in gRPC core ( #26287 )
...
* enable crl checking in gRPC C core
3 years ago
Denny C. Dai
c485b94ed7
Remove extern c wrapping for openssl headers ( #28360 )
3 years ago
apolcyn
2a4b7f25e6
testing: add a fake TCP and UDP server to test/core/util (extracted from #27883 ) ( #28332 )
...
* add a fake TCP and UDP server to test/core/util
3 years ago
Mark D. Roth
19d653d4ff
TSI: free the fixture in destruct() instead of in tsi_test_fixture_destroy() ( #28312 )
3 years ago
krestofur
7e5f257925
Update test creds to have 10 year expiry ( #28291 )
3 years ago
Mark D. Roth
1ff1feaa83
Revert "update ( #28275 )" ( #28288 )
...
This reverts commit 55b12e2679
.
3 years ago
krestofur
55b12e2679
update ( #28275 )
...
- Update test creds to have 10 year expiry
3 years ago
Ashitha Santhosh
1290364374
Plumb subject field and add to authz flow. ( #27615 )
...
* Plumb subject field and add to authz flow.
* formatting
* Test on empty principal
* resolving comments
* resolving comment
* update subject check in test
3 years ago
Craig Tiller
e5d0b95870
Revert "Introduce empty targets to ease the internal merge of #25586 ( #28122 )" ( #28172 )
...
This reverts commit 171c64eee2
.
3 years ago
yihuaz
171c64eee2
Introduce empty targets to ease the internal merge of #25586 ( #28122 )
...
* add empty targets
* fix format error
* fix build format error
* address reviewer's comments
* fix test build rules
* remove server_auth_fiter from grpc_secure
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Esun Kim
3b6056aed8
Zalloc or C++ new for structs ( #27739 )
3 years ago
krestofur
8610a34016
Add CRL Enabled Credentials to test folder ( #27678 )
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Vignesh Babu
34e4bd93e1
Revert "Add CRL Enabled Credentials to test folder ( #27436 )" ( #27535 )
...
This reverts commit e611d0c489
.
3 years ago
krestofur
e611d0c489
Add CRL Enabled Credentials to test folder ( #27436 )
3 years ago
Craig Tiller
9b41852a5e
channel_init --> core configuration system ( #27347 )
...
* channel_init --> core configuration system
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* eliminate grpc_base_c
* fixes
* fix merge
* fix
* update visibility
* fixes
* feedback
* fix comment
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Austin Schuh
d30404868f
ARM and -Wextra fixups ( #19141 )
...
* Make generated code compile with -Wunused-parameters
-Wunused-parameters is turned on by -Werror -Wextra. gRPC code
generation creates header files with unused parameters. So let's modify
the generator to not generate code which will make -Wunused-parameters
unhappy.
* Fix unsigned vs signed comparisons and 32 bit string formats
Fix unsigned vs signed comparison warnings.
For 64 bit numbers printed in gRPC, the string formats assume that you
are running on a 64 bit machine. Use inttypes.h to make it portable.
Also, use size_t format strings for the same reason.
* Fix unaligned memory access
cost_entry_ptr has no alignment guarentees that ubsan can find. So it
fails the test with an alignment problem. Use memcopy to read the data
from the pointer to fix this.
* Fix undefined behavior with memcpy and memcmp
Passing in a 0 length piece of data and a null pointer is undefined
behavior. If the length is 0, don't pass it in. This fixes ubsan
failures.
* Clang-format
* Automated change: Fix sanity tests
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
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
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Ashitha Santhosh
0570bd9205
Plumbs SAN fields to tsi_peer. ( #25874 )
4 years ago
Ashitha Santhosh
4f81c3b706
Update multi-domain cert to add more SAN fields. ( #25946 )
...
* Update multi-domain cert to add more SAN fields.
4 years ago
matthewstevenson88
2b0f8b6313
Fix ssl_transport_security_test.cc when built against OpenSSL 1.0.2. ( #25843 )
...
* Add Python mTLS greeter example (#40 )
* Revert "Add Python mTLS greeter example (#40 )"
This reverts commit 383c247775
.
* Fix ssl_transport_security_test.cc when built against OpenSSL 1.0.2.
* Fix TSAN flake.
Co-authored-by: Ryan Kim <Ryanfsdf@users.noreply.github.com>
4 years ago
Esun Kim
b55fba3382
Revert "Added portability test with openssl 1.0.2 ( #25770 )" ( #25812 )
...
This reverts commit 0147d99c41
.
4 years ago
Esun Kim
0147d99c41
Added portability test with openssl 1.0.2 ( #25770 )
...
* Added openssl102 test to portability
* Update by review
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
yihuaz
d4ef8084f4
add max_frame_size support to fake TSI handshaker and fake HS service ( #25621 )
4 years ago
Ashitha Santhosh
e049a1f223
Increase max frame size to 1MB.
4 years ago
Esun Kim
be761cd430
Fixed sign-compare warnings
4 years ago
Jan Tattermusch
0b1798412b
Revert "Wrap strerror into a thread-safe implementation"
4 years ago
Esun Kim
9bd7c4917a
Fix unused-parameter warning
4 years ago
yang-g
cf26f0133a
Wrap strerror into a thread-safe implementation
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
e0d8c498a6
C++ cast for others
4 years ago