Lidi Zheng
c0dd83e9a0
Add documentation about CallCredentials restriction
6 years ago
Moiz Haidry
b0ef377ebd
Fixed erase() method by changing RemoveRecursive() to return a new iterator to the successor in addition to the new root. Both are returned as a single pair
6 years ago
yang-g
c156653997
Add listner fd as part of the external connection parameters
6 years ago
Stanley Cheung
a04dcb9da9
PHP: Fix ZTS build shutdown segfault
6 years ago
weiyongji
6040249a61
fix a windows compile warning
6 years ago
Mehrdad Afshari
8fa95462a1
Put strncpy in parens to silence GCC warning
...
GCC warns (-Wstringop-truncation) because the destination
buffer size is identical to max-size, leading to a potential
char[] with no null terminator. nanopb can handle it fine,
and parantheses around strncpy silence that compiler warning.
nanopb treatment of string buffers with specific max length
seems dangerous in general, specifically when read from,
but this particular case should be correct, as the buffer
is only ever read by nanopb itself, which takes the max
size into consideration, in addition to the null terminator.
6 years ago
Esun Kim
434b3b62e5
Applied the best practice using global configuration
6 years ago
Muxi Yan
381126fe2b
Fix typo
6 years ago
Jan Tattermusch
a432e2f502
check callInvoker is not null
6 years ago
Jan Tattermusch
8cb8d58185
add generated code for math_with_protoc_options.proto
6 years ago
Jan Tattermusch
4a4cf280a1
also generate code with "lite_client" option set
6 years ago
Muxi Yan
e3f976f4d5
Resolve merge issue
6 years ago
Yihua Zhang
a887f35a9b
add a new struct - grpc_ssl_verify_peer_options and an API - grpc_ssl_credentials_create_ex.
6 years ago
yang-g
a874fd8bbb
Resolve review comments
6 years ago
Muxi Yan
eb62ad3fae
address comments
6 years ago
Muxi Yan
1259579a94
clang-format
6 years ago
Karthik Ravi Shankar
fc002a4d02
Remove ref for GRPC_ERROR_NONE
6 years ago
Karthik Ravi Shankar
724565372f
Fix the ref count issue
6 years ago
Karthik Ravi Shankar
8ef2152c80
Fix the memory leak.
6 years ago
yang-g
bd97b1361d
Delete wrapper in executor thread to avoid self-joining deadlock
6 years ago
Karthik Ravi Shankar
196b0aa3a3
Revert "Revert "Start supporting a callback-based RPC under lock""
6 years ago
Mark D. Roth
28ccd61cf5
Use SubchannelInterface to hide implementation from LB policy API.
6 years ago
Karthik Ravi Shankar
b790c24e5c
Revert "Start supporting a callback-based RPC under lock"
6 years ago
Jan Tattermusch
81a2c849ab
regenerate C# protos
6 years ago
Jan Tattermusch
1b8418b546
only generate full or lite client, never both
6 years ago
Lidi Zheng
d835d1bb1f
Surface exception from metadata credentails plugin methods
6 years ago
Jan Tattermusch
25e3d26e8c
C# lite client codegen
6 years ago
Jan Tattermusch
8cecf605da
add LiteClientBase
6 years ago
HarrisonXi
fa6c944f4c
remove notification observer to avoid iOS 8 crash
6 years ago
yang-g
47dbf1dd26
Second approach
6 years ago
Stanley Cheung
757aba8f3c
PHP: Fix ZTS build error
6 years ago
Muxi Yan
2cb1892c77
address comments
6 years ago
Arjun Roy
14c55dea4a
Inline more of md_unref for interned metadata.
...
In the common case, unref() for interned metadata was performing some
unnecessary branches. This patch reduces the instruction count from about 19 to
12 in the case where an unref() occured but it wasn't the last reference.
This has various speedups for chttp2_hpack, metadata and fullstack pingpong
benchmarks.
As a tradeoff, static/external metadata unref regresses slightly (fraction of a
nanosecond increase in CPU time) while interned improves (roughly 5 nanoseconds
reduction in CPU time).
Examples:
Fullstack:
BM_UnaryPingPong<InProcess, NoOpMutator, NoOpMutator>/8/8 [polls/iter:0 ]
7.12µs ± 4% 6.91µs ± 3% -3.00% (p=0.000 n=20+19)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/32768
[polls/iter:3.0001 ] 35.3µs ± 2% 34.9µs ± 0% -1.15% (p=0.048 n=8+4)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/32768/32768
[polls/iter:3.00014 ] 49.6µs ± 1% 49.0µs ± 1% -1.15% (p=0.017 n=7+3)
HpackParser:
BM_HpackEncoderInitDestroy
274ns ± 0% 254ns ± 0% -7.12% (p=0.000 n=19+19)
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, UnrefHeader>
173ns ± 0% 140ns ± 0% -19.04% (p=0.000 n=18+16)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata, UnrefHeader>
751ns ± 1% 702ns ± 2% -6.50% (p=0.000 n=20+20)
BM_HpackParserParseHeader<RepresentativeServerTrailingMetadata, UnrefHeader>
50.6ns ± 0% 46.9ns ± 0% -7.29% (p=0.000 n=14+19)
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
486ns ± 1% 455ns ± 0% -6.42% (p=0.000 n=20+19)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.17µs ± 1% 1.12µs ± 1% -4.18% (p=0.000 n=18+20)
BM_HpackParserParseHeader<RepresentativeServerInitialMetadata, OnInitialHeader>
163ns ± 1% 155ns ± 0% -4.52% (p=0.000 n=18+17)
Metadata:
BM_MetadataFromInternedKeyWithBackingStore 7.32ns ± 1%
6.67ns ± 0% -8.89% (p=0.000 n=20+17)
BM_MetadataFromStaticMetadataStringsNotIndexed 77.4ns ± 2%
79.6ns ± 0% +2.86% (p=0.000 n=18+19)
BM_MetadataRefUnrefExternal 1.74ns ± 0%
1.79ns ± 0% +2.65% (p=0.000 n=20+19)
BM_MetadataRefUnrefInterned 18.5ns ± 0%
13.3ns ± 0% -28.00% (p=0.000 n=17+17)
BM_MetadataRefUnrefAllocated 18.5ns ± 0%
13.3ns ± 0% -28.00% (p=0.000 n=17+18)
6 years ago
Arjun Roy
7c8d6f6375
s/uintptr_t/intptr_t as requested
6 years ago
Muxi Yan
7ec6669481
address comments
6 years ago
Guantao Liu
740c931e23
Adjust the order of IOMgr initialization, so as to set up a customized
...
timer correctly.
Also, change the comment of grpc_timer::heap_index.
6 years ago
Arjun Roy
f13abc071c
Inlined and saved some ops for grpc_is_binary_header.
...
Various improvements for parsing/encoding:
BM_HpackEncoderEncodeDeadline 171ns ± 0% 164ns ± 0% -3.74% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<SingleInternedKeyElem>/0/16384 102ns ± 1% 98ns ± 0% -3.28% (p=0.000 n=20+19)
BM_HpackParserParseHeader<AddIndexedSingleStaticElem, UnrefHeader> 177ns ± 1% 165ns ± 1% -6.41% (p=0.000 n=19+18)
BM_HpackParserParseHeader<NonIndexedBinaryElem<1, true>, UnrefHeader> 212ns ± 2% 199ns ± 1% -6.28% (p=0.000 n=20+18)
6 years ago
Arjun Roy
0f83755c6e
chttp2 hpack encoder: fast-pathed static md/slice ops
6 years ago
Mark D. Roth
31ec9a74ae
More LB policy API improvements.
6 years ago
Yash Tibrewal
3893a6379b
Clean up
6 years ago
Srini Polavarapu
ec640a53c6
Merge pull request #19105 from gnossen/twine_check_artifacts
...
Produce Python Wheels with a Valid long_description field
6 years ago
Muxi Yan
e3c280d613
build fix
6 years ago
weiyongji
57cc401597
typo fix
6 years ago
yang-g
384f15ab6e
Delay calling plugin_creds callback
6 years ago
Yash Tibrewal
886dc10daa
Move validate_service_config to a new file
6 years ago
Muxi Yan
a1542b5a41
clang-format
6 years ago
Muxi Yan
155ca4be68
Polish scheme configurations
6 years ago
Muxi Yan
caa965bd1d
Address comments
6 years ago
Muxi Yan
1bb3f72abe
clang-format
6 years ago
Arjun Roy
0a57193dec
Replaced gpr_ref with grpc_core::Atomic in call batch struct
6 years ago