Esun Kim
3c6bb96a1f
Add test for static elements
5 years ago
Vijay Pai
65eb9c9ddb
Revert "Test message size of 100MB"
5 years ago
Juanli Shen
d34f366337
Test message size of 100MB
5 years ago
Arjun Roy
b46e3668d3
s/branch/tail_call/ for CH2 on_hdr().
...
on_hdr() checks if a void-return function pointer is null before jumping to it.
If it is null, it returns an error; else it executes that function and returns
success.
This change converts the void-returning function to one that returns a
grpc_error* and thus saves a branch in on_hdr() (since we're branching once by
following the function pointer anyways, we're effectively coalescing these two
branches).
5 years ago
Mark D. Roth
21c5424477
Add API for accessing per-call backend metric data in LB policies.
5 years ago
Arjun Roy
2767accc1b
Fixed init-order-fiasco for static slice table.
...
Fixes init-order bug affecting https://github.com/grpc/grpc/issues/19819 which
was first exposed by this commit:
857375a142
5 years ago
Mark D. Roth
18be57b4df
LB policy API changes suggested by Sanjay.
5 years ago
Esun Kim
2707fd0bd4
Added GRPC_USE_CPP_STD_LIB flag
5 years ago
yang-g
3728329033
return unavailable on transport closed
5 years ago
Esun Kim
a031f0ffd6
Remove all nanopb defines
5 years ago
Mark D. Roth
5d646ff9ff
Make Map<> copyable.
5 years ago
Esun Kim
e0b94db1b9
Enforce abstract class rule
5 years ago
Hope Casey-Allen
59564ebd96
Fix warnings to unblock gcc8 support
5 years ago
Matthew Stevenson
6189d34724
Revert "Forgot to autogenerate files and run clang_format/tidy_code"
...
This reverts commit 9295e4ebb3
.
5 years ago
Matthew Stevenson
9295e4ebb3
Forgot to autogenerate files and run clang_format/tidy_code
5 years ago
Juanli Shen
a802b14be6
Add xds resolver
5 years ago
Qiancheng Zhao
1391c93a95
atomic client idle filter
5 years ago
Esun Kim
feb263ba6d
Add check_attrs & clean-up build.yaml
5 years ago
Yihua Zhang
ae863630d5
Add spiffe client-side credential reload
5 years ago
Juanli Shen
45dd8be442
Use LRS in xds policy
5 years ago
Esun Kim
be4e684a82
Migrated tsi/alts from nanopb to upb
5 years ago
Tony Lu
d2ce6e707c
Isolated test-specific build steps so that unrelated tasks don't run them
...
Move interop making back to run_tests.py
5 years ago
Yihua Zhang
c414fe06f8
add cred data to BUILD files
5 years ago
Esun Kim
6f2234277a
Disable nanopb fuzzer test
5 years ago
Juanli Shen
79f191114e
Use EDS in xds LB policy
5 years ago
Yihua Zhang
8a301a438a
revision 1
5 years ago
Esun Kim
c6b0bd08c7
Updated grpclb to use upb
5 years ago
Soheil Hassas Yeganeh
bdd3fdddb2
Expose cycle counter and use it /channelz.
...
We are using clock real time (which is very expensive) on every
RPC to update channelz. We should simply use cycle clock.
This patch exposes cycle clock, enables RDTSC on intel,
and use it for channelz.
This patch also changes the implementation of time_precise_init
to that more accurately using the monotonic clock and
shorter by looping at most a few hundred milliseconds.
This is part of a larger performance series.
5 years ago
Yihua Zhang
dab3bdde61
recongize URI and email address SAN fields
5 years ago
Arjun Roy
b2cda1e185
Reduced ops for grpc_chttp2_stream_map_find().
...
Several asserts in grpc_chttp2_stream_map_find() can be converted to debug
asserts. This PR also templatizes the internal find() method to have it be
strict in the delete case (which saves some branches).
5 years ago
Hope Casey-Allen
bd8a04a6e9
Add human-readable names for channelz sockets and listen sockets
5 years ago
Mark D. Roth
db3d8be647
Add MetadataInterface abstraction to LB policy API.
5 years ago
Yash Tibrewal
2d498d2b6c
Add a few tests for ContextList and BufferList. Also, check that
...
timestamps is non-null before modifying it.
5 years ago
Yunjia Wang
7c10819641
Fix comments
5 years ago
Mark D. Roth
224f0ef837
Second attempt: Hide ConnectedSubchannel from LB policy API.
5 years ago
Juanli Shen
c3896fa84d
Make Map<> movable
5 years ago
Yunjia Wang
0161de3a56
Addressing comments
5 years ago
Alexander Polcyn
609107586a
Add a way for tests with LeakDetector to free the control plane creds map
5 years ago
Alexander Polcyn
6898c23a5d
Add experimental control plane creds C-core API
5 years ago
Yunjia Wang
f50301fde8
Add LIFO and Chunked List
5 years ago
Alexander Polcyn
37126b5446
Lower min-time-between-resolutions for the goaway server test
5 years ago
Yunjia Wang
603054a29a
Modify locality
5 years ago
Yunjia Wang
34c76f527d
Add default size 1 for thread pool
5 years ago
Arjun Roy
b1d73a01f1
Removed duplicate static table from hpack table. Removed an or instruction for
...
every usage of static grpc metadata. Inlined hpack table lookups for static
metadata.
This leads to faster hpack parser creation:
BM_HpackParserInitDestroy 5.32µs ± 1% 0.06µs ± 1% -98.91% (p=0.000 n=18+19)
And slightly faster parsing:
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
456ns ± 1% 435ns ± 1% -4.74% (p=0.000 n=18+19)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.06µs ± 2% 1.04µs ± 2% -1.82% (p=0.000 n=19+20)
It also yields a slight (0.5 - 1.0 microsecond) reduction in CPU time for
fullstack unary pingpong:
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/512
[polls/iter:3.0001 ] 23.9µs ± 2%
23.0µs ± 1% -3.63% (p=0.002 n=6+6)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/32768
[polls/iter:3.00015 ] 35.1µs ± 1%
34.2µs ± 1% -2.57% (p=0.036 n=5+3)
BM_UnaryPingPong<MinTCP, NoOpMutator, NoOpMutator>/8/0
[polls/iter:3.00011 ] 21.7µs ± 3%
21.2µs ± 2% -2.44% (p=0.017 n=6+5)
5 years ago
Yunjia Wang
a381dea062
reformat
5 years ago
Yunjia Wang
c15d246f6a
Add constructor test case
5 years ago
Wensheng Tang
8e4d14fe91
Fix the assertion of grpc_udp_server_add_port
...
grpc_udp_server_add_port() can return port = -1 when going fail.
@nanahpang also recommands discarding port = 0
5 years ago
Keith Moyer
4a96677219
Use struct-defined initialization when available
...
The grpc_polling_entity and grpc_httpcli_response types have default
member initializer values specified, to indicate what a cleared variable
of those types should have as values.
This file overrides that, however, by directly performing a memset to 0
over the structures. Instead, the initialization values defined by the
type should be honored.
Local types that include these types are also upgraded to specify
default member initializer values to simplify clearing them.
This fixes -Wclass-memaccess warnings in modern versions of GCC.
5 years ago
Julien Boeuf
109edca971
Adding C++ API and implementation for STS credentials:
...
- marked as experimental.
- also changed the name of a field in the options struct.
5 years ago
Yunjia Wang
7bc9aba863
Reformat
5 years ago