Yuchen Zeng
ddaef3e325
Remove non-POD global variables
2017-08-24 15:34:52 -07:00
Yuchen Zeng
f1d50983ae
Document GRPC_DISABLE_CHANNEL_CONNECTIVITY_WATCHER
2017-08-24 12:08:03 -07:00
Yuchen Zeng
33845d08d4
Check env variable
2017-08-24 03:28:51 -07:00
Yuchen Zeng
b4481a9a13
Share one monitoring thread between channels
2017-08-24 03:13:42 -07:00
Yuchen Zeng
bfb4e06e3c
Check connectivity intermittently
2017-08-23 23:47:15 -07:00
Yuchen Zeng
4d88416c11
Remove atm in ChannelConnectivityWatcher
2017-08-23 15:20:01 -07:00
Yuchen Zeng
a2e506e8d9
Avoid using timers
2017-08-22 20:46:52 -07:00
Yuchen Zeng
6a6d618034
Prevent watching unsuppoted channels
2017-08-22 18:56:25 -07:00
Yuchen Zeng
2411bacd04
Address review comments
2017-08-22 18:56:25 -07:00
Yuchen Zeng
ee3e3310bb
Add reconnect channel tests
2017-08-22 18:56:25 -07:00
Yuchen Zeng
be9b814240
Add ChannelConnectivityWatcher
2017-08-22 18:56:25 -07:00
David Garcia Quintas
713597f1cd
Master version bump to 1.7.x
2017-08-16 20:59:05 -07:00
Sree Kuchibhotla
419b617a95
Fix thread avalances in thread manager
2017-08-09 20:40:24 -07:00
Vijay Pai
ce58cf8c44
Add Slice constructors to match all grpc_slice cases
2017-08-04 07:48:48 -07:00
Garret Kelly
9663d0337e
Add a GrpcLibraryInitializer to client_context.cc
...
It's feasible that a program be written/linked such that it only use
ClientContext from grpc++, which could end up with the other instances
of GrpcLibraryInitializer not ending up in the final binary. Add a
GrpcLibraryInitializer to client_context.cc to ensure that the library
is initialized. The primary side-effect of the library not being
initialized when only using a ClientContext is that the destructor for
ClientContext indirectly ends up trying to call through
g_core_codegen_interface when destructing its metadata, which is null.
2017-07-31 15:07:59 -04:00
yang-g
097cbfc94f
Resolve comments
2017-07-28 12:51:50 -07:00
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
2017-07-28 12:49:40 -07:00
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 00:43:30 -07:00
Noah Eisen
5079182938
Merge pull request #11693 from ncteisen/refactor-thread-pool
...
Make CreateThreadPool Settable
2017-07-21 09:27:00 -07:00
ncteisen
139072ff92
Const correct and clang
2017-07-19 08:17:58 -07:00
ncteisen
eb70b9e0df
Anon namespace over static
2017-07-18 17:06:09 -07:00
ncteisen
a5d557b96d
Rename function to avoud future clash
2017-07-18 17:06:09 -07:00
ncteisen
30939f8854
Make CreateThreadPool settable
2017-07-18 17:06:09 -07:00
ncteisen
85fac6df57
Quiet down server builder
2017-07-18 17:05:28 -07:00
Vijay Pai
e5ba80b507
Merge pull request #11870 from vjpai/slice
...
Add idiomatic C++ API for grpc::Slice construction
2017-07-18 14:10:13 -07:00
Mark D. Roth
65d447f2c3
Merge pull request #11454 from markdroth/server_cq_ok_semantics
...
Do not return calls on server when request proto fails to deserialize.
2017-07-18 12:19:45 -07:00
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
2017-07-18 11:07:43 -07:00
Craig Tiller
d996379030
Reset OWNERS state
2017-07-17 10:54:07 -07:00
David G. Quintas
ee3fddb6fb
Merge pull request #11837 from dgquintas/thread_manager_join
...
Put thread creation and join under lock
2017-07-17 08:37:40 -07:00
Vijay Pai
fd82a6cb4f
Merge pull request #11145 from vjpai/inproc3
...
In-process transport
2017-07-15 20:05:26 -07:00
David Garcia Quintas
aef267b71e
Put thread creation and join under lock
2017-07-14 19:02:53 -07:00
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
2017-07-14 16:23:54 -07:00
Mark D. Roth
0696611fb5
Do not return calls on server when request proto fails to deserialize.
2017-07-14 07:18:39 -07:00
Craig Tiller
41690d1ad8
Detach ownership of core/c++
2017-07-13 16:16:13 -07:00
Craig Tiller
e476f7d33f
Strawman OWNERS --> CODEOWNERS script
2017-07-13 08:52:00 -07:00
Mehrdad Afshari
2ca8282846
Merge pull request #11738 from mehrdada/canonica-urls
...
Use https://grpc.io consistently as the canonical URL
2017-07-11 11:41:14 -07:00
Vijay Pai
5e3699493d
Merge pull request #11572 from vjpai/internalize
...
Separate internal-only and public parts of C++ API
2017-07-10 23:22:19 -07:00
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
2017-07-10 22:24:28 +00:00
Mehrdad Afshari
976eb7c4b4
Fetch grpc.io/release over https
2017-07-10 15:07:33 -07:00
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
Noah Eisen
67a40548ca
Initialize pending_ops false
2017-07-06 09:34:06 -07:00
Mark D. Roth
cc4ef5919f
Improvements to C++ filter API:
...
- Make sure all C-core parameters are passed into C++ methods.
- Add Destroy() methods for ChannelData and CallData.
- Use C++-style casts.
- Add 'extern "C"' to iomgr/closure.h, which is used in C++ filters.
2017-06-29 08:11:57 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
David G. Quintas
672f15fbdd
Merge pull request #11143 from dgquintas/dns_server
...
Make ServerBuilder accept (dns:///) URIs instead of just dns names
2017-06-02 09:55:29 -07:00
David Garcia Quintas
aebcdbd732
master bumped to 1.5.x
2017-05-30 14:14:27 -07:00
Yang Gao
725d822743
merge with head
2017-05-22 10:41:17 -07:00
Muxi Yan
f6b622c08a
Take grpc_workaround_list as parameter
2017-05-17 10:34:10 -07:00
yang-g
21035da1c9
Add api to server builder plugin to modify the builder
2017-05-16 11:42:04 -07:00
Muxi Yan
928681dc3d
obsolete -> is obsolete
2017-05-16 10:16:23 -07:00
David Garcia Quintas
94ab1b55bf
Make ServerBuilder accept (dns:///) URIs instead of just dns names
2017-05-15 15:27:11 -07:00
Muxi Yan
04f97ca022
Merge branch 'master' into backward-compat-dev
2017-05-12 12:25:43 -07:00
yang-g
a044f6d3f5
Propagate deadline to GenericServerContext
2017-05-11 15:37:51 -07:00
Yang Gao
8bab30dc7c
Merge pull request #11028 from yang-g/default_hc
...
Lower the level of a log message to INFO
2017-05-11 09:53:51 -07:00
Muxi Yan
f5b3db9c22
Use AddChannelArgument method
2017-05-09 17:12:24 -07:00
Muxi Yan
b1a80c751d
bug fixes
2017-05-09 16:50:54 -07:00
Muxi Yan
cdc0d03b2d
Add EnableWorkaround API to enable server workarounds
2017-05-09 16:26:51 -07:00
yang-g
f070d4158c
Lower the level of a log message to INFO
2017-05-08 15:02:28 -07:00
ncteisen
fde16afefa
Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor
2017-05-05 10:27:17 -07:00
ncteisen
cc7e17b2d6
Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor
2017-04-21 08:06:12 -07:00
Craig Tiller
59db187c85
Merge branch 'tsan-c++' into hybrid
2017-04-20 19:24:57 +00:00
Craig Tiller
06a30eef36
Merge github.com:grpc/grpc into cpparena
2017-04-19 14:40:20 -07:00
ncteisen
e107b0d439
Add to codegen interface, refactor proto serialization
...
This change allows for some internal proto serialization
changes to be made
2017-04-19 14:01:13 -07:00
Craig Tiller
3588248554
Merge github.com:grpc/grpc into hybrid
2017-04-19 09:06:45 -07:00
Craig Tiller
f659ee5ff1
Move comment
2017-04-18 17:07:16 -07:00
Craig Tiller
cac4e178fd
Merge github.com:grpc/grpc into cpparena
2017-04-18 13:39:18 -07:00
Craig Tiller
a12c0657ef
Merge github.com:grpc/grpc into hybrid
2017-04-18 13:23:44 -07:00
Craig Tiller
35f27cd457
More cleanup
2017-04-18 13:14:45 -07:00
Craig Tiller
4818150728
Better commentary
2017-04-18 13:09:54 -07:00
Craig Tiller
a3e87894f2
Fix, restore draining
2017-04-18 13:08:08 -07:00
Craig Tiller
991c101de8
Initial thread manager fixes
2017-04-18 19:43:14 +00:00
David G. Quintas
a6f64f4c00
Merge pull request #10391 from dgquintas/lr_back_to_md
...
Load Reporting back to using metadata
2017-04-17 10:36:42 -07:00
Yang Gao
c5fc2b7112
Merge pull request #10663 from yang-g/globalcallback
...
Update ServerGlobalCallback::AddPort api
2017-04-17 09:13:49 -07:00
David Garcia Quintas
a818f72c0c
Load Reporting back to using metadata
2017-04-15 11:25:48 -07:00
Craig Tiller
c3666d7090
Merge github.com:grpc/grpc into hybrid
2017-04-14 13:15:56 -07:00
Craig Tiller
2c6f63731c
Merge github.com:grpc/grpc into cpparena
2017-04-14 13:14:10 -07:00
yang-g
eafeea48a9
Update ServerGlobalCallback::AddPort api
2017-04-14 12:34:10 -07:00
Craig Tiller
957562780a
Merge pull request #10583 from ctiller/server_start
...
Threading robustness
2017-04-14 08:53:01 -07:00
Sree Kuchibhotla
0e5fa9ebcd
Merge branch 'master' into cq_create_api_changes
2017-04-13 18:36:23 -07:00
David Garcia Quintas
9e1acc0796
master to 1.4.0-dev
2017-04-13 16:30:15 -07:00
Craig Tiller
57e6485e2d
Merge github.com:grpc/grpc into hybrid
2017-04-13 06:46:27 -07:00
Sree Kuchibhotla
aa5a92800f
Merge branch 'master' into cq_create_api_changes
2017-04-13 03:13:17 -07:00
Craig Tiller
11c5832b3e
Get rid of second api for marking non-listening cqs
2017-04-12 08:21:17 -07:00
Craig Tiller
75bfb97548
Finish hybrid server stuff, ensure it gets tested
2017-04-11 17:55:12 -07:00
Craig Tiller
334c4678a3
Start building out C++ interface
2017-04-11 16:26:07 -07:00
yang-g
eceec8eaf6
Add helper function to supply and parse error_details from Status.
2017-04-11 16:07:24 -07:00
Craig Tiller
9d9313cfc6
Threading robustness
...
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
2017-04-11 15:05:46 -07:00
Sree Kuchibhotla
a6ff103446
Merge branch 'master' into cq_create_api_changes
2017-04-06 13:09:17 -07:00
Craig Tiller
d4e9a4863a
Convert all async client stream types to not allocate
2017-04-05 15:41:59 -07:00
Craig Tiller
fa416cbe3b
Dont break codegen barrier
2017-04-05 15:14:30 -07:00
Craig Tiller
41f46ab665
Merge github.com:grpc/grpc into cpparena
2017-04-05 14:05:38 -07:00
Craig Tiller
bbcf378192
Merge pull request #10457 from ctiller/fixmsan
...
Potential msan fix
2017-04-05 07:55:44 -07:00
Craig Tiller
5de46568ce
Merge github.com:grpc/grpc into cpparena
2017-04-04 17:08:12 -07:00
Craig Tiller
be094fc5e6
Fix compile
2017-04-04 09:31:28 -07:00
Craig Tiller
7a8232d773
review feedback
2017-04-03 10:59:42 -07:00
Craig Tiller
f854f2a7b0
Merge github.com:grpc/grpc into new_transport_op
2017-04-03 08:21:40 -07:00
Sree Kuchibhotla
c1a32fa46e
Merge branch 'master' into cq_create_api_changes
2017-04-01 17:36:15 -07:00
Sree Kuchibhotla
4426800e6c
clang format
2017-04-01 17:33:50 -07:00
Sree Kuchibhotla
fa71f6f369
Fix ASAN failure
2017-04-01 17:32:34 -07:00
Craig Tiller
5f95f1a4ca
Merge github.com:grpc/grpc into cpparena
2017-04-01 07:42:20 -07:00
Craig Tiller
9c54a0c12c
Merge pull request #10382 from ctiller/checks
...
Reinstate filegroup dependency checks, fix fallout
2017-03-31 16:10:35 -07:00