Karthik Ravi Shankar
8b91dc5fd2
Move more of usage to grpc_impl
...
1) Create server_context_impl and completion_queue_impl headers.
2) Move more of usage of ClientContext, ServerContext to grpc_impl
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Yunjia Wang
ad22f9d7bf
Add delete operator overload
6 years ago
Yunjia Wang
1def76bf1d
Add Makefile
6 years ago
Yash Tibrewal
94e7edad99
Add Delegating Channel
6 years ago
Karthik Ravi Shankar
522ddfe273
Move ClientContext to grpc_impl
...
ClientContext is another file which needs to be moved from grpc to
grpc_impl for referencing it.
6 years ago
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
6 years ago
Mark D. Roth
28ccd61cf5
Use SubchannelInterface to hide implementation from LB policy API.
6 years ago
Yash Tibrewal
886dc10daa
Move validate_service_config to a new file
6 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
Karthik Ravi Shankar
03b079499c
Move CompletionQueue and Channel
6 years ago
Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
6 years ago
murgatroid99
4242c85bed
Consolidate conditional localhost resolution into existing file
6 years ago
murgatroid99
718d0ac621
Fix typo
6 years ago
murgatroid99
a0b32609ff
Moved code back into one file with a #ifdef
6 years ago
murgatroid99
710cbb02e6
libuv cares: scope manual localhost resolution to only Windows
6 years ago
murgatroid99
7743130f64
Consolidate conditional localhost resolution into existing file
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
murgatroid99
e16a0d4599
Fix typo
6 years ago
murgatroid99
90e52f00a1
Moved code back into one file with a #ifdef
6 years ago
Arjun Roy
f65208af02
Added slice equality when static fastpath.
6 years ago
murgatroid99
4b4006f833
libuv cares: scope manual localhost resolution to only Windows
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Karthik Ravi Shankar
e060cd7519
Fix formatting errors
6 years ago
Karthik Ravi Shankar
3184fff6b2
Fix BUILD.gn file
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Yash Tibrewal
156d743c37
Reviewer comments
6 years ago
Karthik Ravi Shankar
3377e49bc7
Fix build errors
6 years ago
Arjun Roy
8ce42f67b2
Shrink arena size by 40 bytes and add additional
...
alignment options (for cache-alignment).
We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.
We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.
We also cache-align created arenas.
6 years ago
Karthik Ravi Shankar
a1493cfa62
Add missing files for build
6 years ago
Karthik Ravi Shankar
81ba5a7b9b
Add missing files for build
6 years ago
Yash Tibrewal
edd817a46f
Reviewer comments
6 years ago
murgatroid99
dc1bcf8762
Consolidate helper function from windows and libuv
6 years ago
Yash Tibrewal
07e899f5f3
Separate out message size parsing into a different file to avoid build issues
6 years ago
Muxi Yan
9e593f721f
build system fix for default CFStream
6 years ago
Yash Tibrewal
2c4c8438cc
Message size filter parser and health check parser
6 years ago
murgatroid99
41871bf7de
Add cares glue for libuv event loop
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
yang-g
6929cdd654
initial
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
6 years ago
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
6 years ago
Karthik Ravi Shankar
506ca7fc36
Fix clang script errors
6 years ago