Arjun Roy
51f80abb5a
Coalesced some grpc_slice_buffer_tiny_add calls in hpack_enc
5 years ago
Lidi Zheng
6d62eb1b70
Merge pull request #19581 from lidizheng/rf-signal
...
Remove the unused import that breaks import
5 years ago
Lidi Zheng
06d8d07a98
Remove the unused import
5 years ago
Jan Tattermusch
70dd0b9b3b
Merge pull request #19511 from mgravell/mgravell/unsafe-encode
...
csharp remove byte[] allocations during UTF8 encode/decode
5 years ago
Jan Tattermusch
2ebbf220ab
fix C# sanity and other nits
5 years ago
mgravell
b98cc917a7
remove changes to .Generated.cs
5 years ago
mgravell
ccbde1365b
add missing copyright
5 years ago
mgravell
47913c20ab
utf8-encode; fix broken test
5 years ago
mgravell
0628990feb
UTF8 decode: remove "unsafe" from a bunch of places that don't need it any more
5 years ago
mgravell
3ab3f5e586
move WellKnownStrings to top-level file; add tests; refactor
5 years ago
mgravell
9967e42a7f
review feedback; naming : Blob => ByteArray
5 years ago
mgravell
b352873461
UTF encode/native: use IntPtr, not byte*, in the native API (avoid "unsafe" declaration)
5 years ago
mgravell
b6e104f22f
make use of Encoding.GetString(byte*, int) when available; poly-fill when not available (NET45); move related logic to extension class
5 years ago
Yang Gao
3914de0b49
Merge pull request #19553 from grpc/revert-19529-revert-host-split
...
Revert "Clearly callout the behavior for listening ports."
5 years ago
Richard Belleville
8f044f741f
Merge pull request #19481 from gnossen/main_thread_starvation
...
Enforce a finite bound on the time gap between signal receipt and signal handler execution.
5 years ago
Soheil Hassas Yeganeh
5e35a367d9
Revert "Clearly callout the behavior for listening ports."
5 years ago
Richard Belleville
f7182fe4f2
Add explanation to _signal_client
5 years ago
Moiz Haidry
5ae9afdc55
Merge pull request #19517 from mhaidrygoog/grpc_to_grpc_impl_async_callback
...
Move grpc async, callback and sync implementation to grpc_impl namespace
5 years ago
Richard Belleville
af1b09f7e7
Enforce a Finite Time Gap Bound between Signal Receipt and Signal Handler Execution
...
Previously, signal handlers were only given a chance to run upon receipt of an
entry in the RPC stream. Since there is no time bound on how long that might
take, there can be an arbitrarily long time gap between receipt of the signal
and the execution of the application's signal handlers.
Signal handlers are only run on the main thread. The cpython implementation
takes great care to ensure that the main thread does not block for an
arbitrarily long period between signal checks.
Our indefinite blocking was due to wait() invocations on condition variables
without a timeout.
This changes all usages of wait() in the the channel implementation to use a
wrapper that is responsive to signals even while waiting on an RPC.
A test has been added to verify this.
Tests are currently disabled under gevent due to
https://github.com/grpc/grpc/issues/18980 , but a fix for that has been
found and should be merged shortly.
5 years ago
Jan Tattermusch
7655ba4c0a
Merge pull request #19533 from mgravell/mgravell/remove-lazy-t
...
csharp: remove AuthContext's Lazy<T> usage
5 years ago
Richard Belleville
9caf5d32b6
Merge pull request #19537 from gnossen/terminate_bazel_hack
...
Terminate bazel hack
5 years ago
Jan Tattermusch
d7bd178b31
Merge pull request #19526 from mgravell/mgravell/capture-ctx-handlenewserverrpc
...
csharp avoid capture-context in HandleNewServerRpc => HandleCallAsync
5 years ago
Jan Tattermusch
df998f7023
Merge pull request #19467 from chwarr/cmake-min-3.1.3
...
Bump min CMake to 3.5.1 to match Google benchmark
5 years ago
yunjiaw26
aec511e0e0
Merge pull request #19358 from yunjiaw26/mpmcqueue
...
MPMCQueue
5 years ago
Christopher Warrington
4be4df3624
Bump min CMake to 3.5.1 to match Google benchmark
...
The Google Benchmark CMake build needs CMake 3.5.1 or newer. CMake 3.5.1
was released May 24, 2016 and is available in Debian stable and Ubuntu
16.04 and 18.04.
5 years ago
Guantao Liu
478160d9e2
Merge pull request #19454 from guantaol/no_backup_poller
...
Disable the backup poller when using the background poller
5 years ago
Soheil Hassas Yeganeh
d9165a7b32
Merge pull request #19529 from soheilhy/revert-host-split
...
Clearly callout the behavior for listening ports.
5 years ago
Richard Belleville
85b4e7948c
Remove debug prints
5 years ago
Richard Belleville
c9ce403dc4
Ensure bazel_hack terminates when running test_gevent.
5 years ago
mgravell
b1914bd46c
remove lazy<T> usage
5 years ago
Moiz Haidry
5f55921b08
Remove third_party
5 years ago
Moiz Haidry
a67cd9c362
Merge branch 'master' of https://github.com/grpc/grpc into grpc_to_grpc_impl_async_callback
5 years ago
Moiz Haidry
d8c0182360
Expose some of the internal codegen interfaces
5 years ago
Soheil Hassas Yeganeh
def083b2c8
Clearly callout the behavior for listening ports.
...
This is to clarify that the port number is a required part
of the listening address.
5 years ago
Soheil Hassas Yeganeh
6376cc9b8f
Revert "Return empty strings on optional ports for backward compatibility."
...
This reverts commit 01b82d3a39
.
5 years ago
Soheil Hassas Yeganeh
64871bfea2
Revert "Fix stale comment in split host port."
...
This reverts commit bf9b4c257b
.
5 years ago
Juanli Shen
aa27b05587
Merge pull request #19486 from AspirinSJL/typo_dns
...
Fix typo
5 years ago
mgravell
e95f3297aa
don't allocate/copy a buffer in ReadMetadataFromPtrUnsafe unless we actually need to (move that logic to CreateUnsafe); implement well-known strings check (just "user-agent" at the moment)
5 years ago
mgravell
264fca1eb6
match delegate signature in benchmark
5 years ago
mgravell
a443b6bf95
Merge branch 'master' into mgravell/unsafe-encode
5 years ago
mgravell
834a3d29a6
capture the server too
5 years ago
mgravell
36ecd052f6
avoid capture-context in HandleNewServerRpc => HandleCallAsync
5 years ago
Jan Tattermusch
99e8298a61
Merge pull request #19515 from mgravell/mgravell/benchmarkdotnet
...
csharp convert micro-benchmarks to benchmarkdotnet
5 years ago
Jan Tattermusch
47287e8ed7
add license headers
5 years ago
Jan Tattermusch
3ba99a685e
make pingbenchmark compile
5 years ago
Jan Tattermusch
43240238d2
tweak iteration counts for multithreaded benchmarks
5 years ago
Jan Tattermusch
a56998bdff
fix small nits
5 years ago
mgravell
ffac31b108
incorrectly added
5 years ago
mgravell
dd5f19765e
add framework overhead "PingBenchmark"
5 years ago
mgravell
36c1a11d84
give useful names to benchmarks
5 years ago