Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
AJ Heller
0e3a02e903
Revert "Remove the `urgent` argument from iomgr tcp read API ( #25494 )" ( #25592 )
...
This reverts commit a3398f9
. Justification: see b/181367644. tl;dr: assuming urgent==false does not hold in all situations.
4 years ago
donnadionne
1835f00ef1
Revert "Revert "Made grpc_core::Mutex compatible to absl::Mutex" ( #25537 )" ( #25549 )
...
This reverts commit 8e268dcec8
.
4 years ago
AJ Heller
a3398f924c
Remove the `urgent` argument from iomgr tcp read API ( #25494 )
...
The urgent argument is a platform-specific flag that leaked into the (ideally) platform-independent HTTP/2 transport layer. In an effort to clean up the cross-platform API surface, it would be helpful if we can remove this argument from the TCP Read api without losing the performance optimization that was introduced along with it (see #18240 ).
4 years ago
donnadionne
8e268dcec8
Revert "Made grpc_core::Mutex compatible to absl::Mutex" ( #25537 )
...
* Revert "Made grpc_core::Mutex compatible to absl::Mutex"
This reverts commit 0b53341328
.
* Revert "Added thread annotation (#25486 )"
This reverts commit 9d897cb1a5
.
* Revert "Fix a race in resolve_address and resolve_address_posix tests"
This reverts commit 6d8e7d3819
.
* Restore 25398
* restore 25398
4 years ago
Esun Kim
0b53341328
Made grpc_core::Mutex compatible to absl::Mutex
4 years ago
Esun Kim
6dc1748f6c
Revert "Made grpc_core::Mutex compatible to absl::Mutex"
4 years ago
Esun Kim
6a1518bd22
Made grpc_core::Mutex compatible to absl::Mutex
4 years ago
Esun Kim
d2bff16c25
C++ cast for char*
4 years ago
Esun Kim
3aba567746
Fix google-build-using-namespace
4 years ago
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
8e9e895ffc
Replace grpc_shutdown_blocking with grpc_shutdown
4 years ago
Esun Kim
aa43403343
Add init and shutdown to verify_peer_options
4 years ago
Yash Tibrewal
e310d4366c
Receive SETTINGS frame on clients before declaring subchannel READY
4 years ago
Jan Tattermusch
7ce7bbfc33
fix concurrent file read flake
4 years ago
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
4 years ago
Esun Kim
62ac3f075a
Added call to grpc::testing::TestEnvironment in tests
4 years ago
Matthew Stevenson
9c116d5c03
Address David's comments.
5 years ago
Matthew Stevenson
a575049c03
Changes needed to enable TLS 1.3.
5 years ago
Jan Tattermusch
5c8e0bcafb
add missing _test suffix for some bazel tests
5 years ago
Esun Kim
415d41f9e8
Rerun clang-formatter-7
5 years ago
Esun Kim
7a14955759
Replaced grpc_core::MakeUnique with absl::make_unique
5 years ago
Esun Kim
ed44a1f430
Clean up grpc_core::MakeUnique
5 years ago
Esun Kim
f31ca23a6a
Add TestEnvironment to more tests
5 years ago
Prashant Jaikumar
2526dfade5
WIP: Make core and C++ tests work with bazel on Mac OS
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Vijay Pai
53e7e9f3fe
Remove unused parameter warning (9 of 20)
5 years ago
Mark D. Roth
5e9404e41a
Fix polymorphism for UniquePtr<> and OrphanablePtr<>.
5 years ago
Jan Tattermusch
3ce50ae754
disable some test on windows based on build.yaml
5 years ago
Vijay Pai
fd9bdd9922
Avoid duplicate initialization of SSL (from within grpc and from test)
5 years ago
Bill Feng
df89d8e157
bazel RBE Windows build
6 years ago
Soheil Hassas Yeganeh
18b19105f2
Implement TCP_INQ for gRPC in Linux
...
TCP_INQ is a socket option we added to Linux to report pending bytes
on the socket as a control message.
Using TCP_INQ we can accurately decide whether to continue read or not.
Add an urgent parameter, when we do not want to wait for EPOLLIN.
This commit improves the latency of 1 RPC unary (minimal benchmark)
significantly:
Before:
l_50: 61.3584984733
l_90: 94.8328711277
l_99: 126.211351174
l_999: 158.722406029
After:
l_50: 51.3546011488 (-16%)
l_90: 72.3420731581 (-23%)
l_99: 103.280218974 (-18%)
l_999: 130.905689996 (-17%)
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
yang-g
86b23adc7f
Other comments
6 years ago
Arjun Roy
195a30bb8b
Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
...
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
23a9cf91f2
Fix test
6 years ago
yihuaz
285d4ef1be
Revert "Revert "Create and pass pollset_set to ALTS TSI handshaker""
6 years ago
Jan Tattermusch
fb296824af
Revert "Create and pass pollset_set to ALTS TSI handshaker"
6 years ago
Yihua Zhang
c0fa62f2b6
pass a pollset_set to ALTS TSI handshaker
6 years ago
Ian Haken
68eff58df6
Create verify_peer_options when creating ssl credentials in order to expose a verification callback option.
...
These options are not yet exposed to languages outside of core.
7 years ago
Mark D. Roth
dc4d01f6ef
Add tracer for handshakers.
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
58a62755fc
Remove support for detached threads. All threads must be joined.
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago