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
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
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
Esun Kim
ac080fd17a
Fix readability-inconsistent-declaration-parameter-name manually
4 years ago
Esun Kim
61deee2217
Disable ASSERT_EQ in ConnectLoop on Mac
4 years ago
capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e
.
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440
.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
4 years ago
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
4 years ago
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
4 years ago
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
c08f33c437
Fix clang-tidy errors
4 years ago
Alexander Polcyn
e5bb358edd
double the handshake failure deadline of AltsConcurrentConnectivityTest.TestHandshakeFailsFastWhenHandshakeServerClosesConnectionAfterAccepting
4 years ago
ZhenLian
0cdc36f64f
ALTS peer attributes plumbing
4 years ago
Alexander Polcyn
307e175ab2
Make fake insecure servers in ALTS concurrent connectivity test eagerly send an empty settings frame upon receiving new connections
4 years ago
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
4 years ago
Mark D. Roth
cc6414893c
update bazel build dep, regenerate upb files, and add missing includes
5 years ago
Mark D. Roth
c769951764
Remove deprecated variant of JoinHostPort().
5 years ago
Ashitha Santhosh
fdbdcb93d2
Remove ABSL_CONST_INIT.
5 years ago
Ashitha Santhosh
3cc7aae8ee
Fixed memory leak.
5 years ago
Ashitha Santhosh
cf19300da2
Corrected method name.
5 years ago
Ashitha Santhosh
3651424ea4
Moved k[Min/Max]FrameSize variables to header file.
5 years ago
Ashitha Santhosh
53fc4e5c13
Fixed error
5 years ago
Ashitha Santhosh
6fbf67ed9c
Modified test variable name
5 years ago
Ashitha Santhosh
72112d034e
Added tests.
5 years ago
Esun Kim
415d41f9e8
Rerun clang-formatter-7
5 years ago
Mark D. Roth
879ab14c8c
clang-format
5 years ago
Mark D. Roth
6637bbe47b
Update code to use new upb map API.
5 years ago
yang-g
5bc57b64fe
InitGoogleTest before grpc_init
5 years ago
Esun Kim
f31ca23a6a
Add TestEnvironment to more tests
5 years ago
Esun Kim
9ae81e1d3f
Make test code use TestEnvironment
5 years ago
Yihua Zhang
e10d90ba27
add security level negotiation between call creds and channel.
5 years ago
Ashitha Santhosh
ec4bfdfa57
Use pointer instead of reference parameter
5 years ago
Jan Tattermusch
78888d7861
avoid thread local unitialized problem under GRPC_PTHREAD_TLS
5 years ago
Vijay Pai
9cbd685304
Prevent use of pthread header
5 years ago
Alexander Polcyn
7ba01aa3a2
Fix differing parameter name clang tidy warning
5 years ago
Alexander Polcyn
074ecfb754
Post-review change: disable active RPC counting for the expected-to-fail tests
5 years ago
Alexander Polcyn
528d50ab15
Add a global queue to limit the number of outstanding ALTS handshakes
5 years ago