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
mgravell
746287111d
(left a base-call in that I'd used to get the intellisense comment)
5 years ago
mgravell
6f315691da
remove boxing of Timespec caused by Equals usage
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
mgravell
aa535356e8
fix encode benchmark (and simplify decode benchmark)
5 years ago
Soheil Hassas Yeganeh
d3316ad22e
Merge pull request #19522 from soheilhy/fix-host-split
...
Return empty strings on optional ports for backward compatibility.
5 years ago
Yunjia Wang
651a8b0ec2
Change FetchAdd/Sub to Load-Add/Sub-Store
5 years ago
Soheil Hassas Yeganeh
bf9b4c257b
Fix stale comment in split host port.
5 years ago
Yash Tibrewal
842a3dcd9d
Merge pull request #19516 from yashykt/inqcmsgsize
...
Increase the control message size
5 years ago
Guantao Liu
5a18779d05
Merge branch 'no_backup_poller' of github.com:guantaol/grpc into no_backup_poller
5 years ago
Guantao Liu
da56330cd6
Merge remote-tracking branch 'upstream/master' into no_backup_poller
...
Also, fix a segfault issue on g_event_engine when using a custom iomgr.
5 years ago
Soheil Hassas Yeganeh
01b82d3a39
Return empty strings on optional ports for backward compatibility.
...
gpr_split_host_port returns an empty string for the port
when given "0.0.0.0:" as the input.
Change the emptiness check to an explicit argument called has_port,
to remain backward compatible.
Added a test to cover both v4 and v6.
5 years ago
Yash Tibrewal
1487ac42cc
Remove CMSG_SPACE for macos
5 years ago
Moiz Haidry
842a5a610f
Merge branch 'grpc_to_grpc_impl_async_callback' of https://github.com/mhaidrygoog/grpc into grpc_to_grpc_impl_async_callback
5 years ago
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
5 years ago
Yash Tibrewal
02ff96bd31
No need to allocate space for receive timestamp if errqueue is not present
5 years ago
Yash Tibrewal
a94e00dccf
Reviewer comments
5 years ago
Yash Tibrewal
7cb861ce29
Reviewer comments
5 years ago