Soheil Hassas Yeganeh
3a9411ca1e
Optimize error handling for special cases.
...
This commit contains a few improvements:
1. Using a consequetive range of [0..4], will allow us to merge all
branches of error_is_special into one comparison.
2. With (1), we can remove the for loops to find entries in
error_status_map with a single O(1) lookup.
3. grpc_error_is_special() code paths should be inlined for ref
and unref to avoid callq for the majority of cases where speical
error is used.
4. grpc_error_get_int() should never accept a nullptr argument to
avoid an expensive branch in the hot path. Callers should all
allocate a dummy int on the stack when calling.
6 years ago
Vishal Powar
a33e796575
Changes to register xds plugin init and shutdown.
...
Also,
- Changes to extract grpclb_proto into its own build target
- Remove client_load_reporting_filter from xds plugin.
6 years ago
ncteisen
0582a003d5
reviewer comments
6 years ago
ncteisen
a60226726a
reviewer feedback
6 years ago
Yash Tibrewal
d042a5acf1
some tests fail
6 years ago
kkm (aka Kirill Katsnelson)
3100e94386
Add missing quote
6 years ago
Alexander Polcyn
f6e8417627
Move package_options.proto file for ruby test
6 years ago
ncteisen
03dbb8c1e2
reviewer feedback
6 years ago
Yash Tibrewal
0b785ae8cf
Remove unneeded file
6 years ago
Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
6 years ago
Yash Tibrewal
af621c7705
Add method to register server creators
6 years ago
ncteisen
265eace8e6
reviewer feedback
6 years ago
Vijay Pai
1a9c197987
clang-tidy fixes
6 years ago
Mark D. Roth
231b863922
address clang-tidy problems
6 years ago
Jan Tattermusch
ee4cb5ce65
fix Grpc.Tools nuget layout on Linux and Mac
...
For files without known extension (e.g. Unix binaries) , NuGet can't tell files from directories,
so mention protoc and grpc_csharp_ext explicitly to avoid breaking nuget's directory layout.
6 years ago
yang-g
8e76cdd2c9
Catch missing kick for non-polling poller
6 years ago
ncteisen
aa7b8e5bc6
Start of channelz resolution support
6 years ago
kkm
3b7c408262
Remove target netcoreapp2.1 from Tools.Tests csproj
6 years ago
Yash Tibrewal
b232bacf27
Starting on server interceptors
6 years ago
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
6 years ago
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
6 years ago
Yash Tibrewal
6f05a711e6
Adding a test
6 years ago
Yash Tibrewal
63bdf4e236
More changes for client interception
6 years ago
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
6 years ago
ncteisen
8fe64be062
Incorperate uuid into channel and server socket lookup
6 years ago
Vishal Powar
a95ea6dab4
Add new grpc lb plugin 'xds'
...
This plugin currently implements the grpclb protocol.
NOTE: All the files under xds/ directory have been cloned from grpclb/ and
will be updated in subsequently to support xds API.
6 years ago
ncteisen
58486521ae
s/more_to_come/reached_pagination_limit
6 years ago
ncteisen
f1d3d32f9c
Assume UNKNOWN if no status
6 years ago
Mark D. Roth
a424d96997
clang-format
6 years ago
Mark D. Roth
0b085a1f05
Fix tsan problem at startup.
6 years ago
ncteisen
c27d2fcbbe
Ban gevent test
6 years ago
ncteisen
c13260802e
Add subchannnel conn state tracing
6 years ago
ncteisen
39b8de9eff
Add channel conn state tracing
6 years ago
Soheil Hassas Yeganeh
08ae060a44
Fix formatting errors introduced in a280d899
.
6 years ago
ncteisen
3c41a169d0
protect spammy log with tracer
6 years ago
Jan Tattermusch
a959b6d7d2
Show dlerror if grpc_csharp_ext load fails
6 years ago
Jan Tattermusch
9929a23ecd
add dlerror stubs
6 years ago
Lidi Zheng
118e134ded
fix Exception throw for invalid channel args
...
* unit test included
* throw ValueError exception from Cython to Python
* prevent the deconstruction method from failing when Channel initialization failed
6 years ago
Soheil Hassas Yeganeh
a280d89937
Use grpc_mdelem_create() directly.
...
Remove grpc_mdelem_from_slices_no_unref() since it's a wrapper
around grpc_mdelem_create().
6 years ago
kkm
27771aa604
Document .NET build integration with Grpc.Tools
6 years ago
kkm
5103951117
Infer coding style, adjust .editorconfig, reformat Tools code
6 years ago
kkm
f626d4618d
Restore packaging of binary tools under tools/
...
Unfixes #13098 , hopefully temporarily.
6 years ago
kkm
9158493c41
Improve ProtoToolsPlatformTask tests
6 years ago
kkm
ccacf24fb0
Fix dotnet/Mono build and testing under Linux
6 years ago
Yihua Zhang
bed575c8b1
Do not pass interested_parties during handshake
6 years ago
Mehrdad Afshari
9d2f985f55
Revert "Bazel rules for gRPC Python interop tests"
...
This reverts commit 9172775bc8
.
6 years ago
Mehrdad Afshari
45e8ada064
Revert "Bazel rules for Python grpcio_reflection"
...
This reverts commit 2e78e516ad
.
6 years ago
Mehrdad Afshari
c992454355
Revert "Rename BUILD files to Bazel convention"
...
This reverts commit 079e250167
.
6 years ago
ncteisen
4377cbadaf
Support channelz pagination
6 years ago
Naresh
079e250167
Rename BUILD files to Bazel convention
6 years ago