Yuchen Zeng
0aedb8136f
Merge pull request #11587 from y-zeng/pure_ping
...
Fix the client-side ping policy
2017-09-19 10:11:50 -07:00
Yash Tibrewal
06312bdb43
Minor formatting, commenting and clang format for C to C++ conversion
2017-09-18 15:42:41 -07:00
Yash Tibrewal
6b56c4d953
Redefine GRPC_SLICE_MALLOC to use grpc_slice_malloc function instead of
...
designated initializers
2017-09-18 15:41:03 -07:00
Yuchen Zeng
ad32075af8
Set last_ping_sent_time to inf_past after receiving data
2017-09-18 13:34:16 -07:00
Yash Tibrewal
9eb8672bbe
Removing deprecated string to char * conversions
2017-09-17 23:55:58 -07:00
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
2017-09-14 17:55:13 -07:00
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544 .
2017-09-13 19:45:07 -07:00
Juanli Shen
3bf7b714a5
Merge pull request #12187 from AspirinSJL/lb_fallback
...
Add LB fallback to use when we can't contact any balancer.
2017-09-13 10:46:44 -07:00
K.K. Yap
a6721a0979
Comment that IPv6 Any accepts both IPv4 and IPv6 connections.
2017-09-11 16:20:04 -07:00
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
2017-09-11 09:22:48 -07:00
Craig Tiller
55863ff527
Merge github.com:grpc/grpc into write_completion
2017-09-08 14:39:15 -07:00
Mark D. Roth
0aee498525
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
2017-09-08 08:01:29 -07:00
Vijay Pai
7f6a27a4d3
Merge pull request #12372 from vjpai/armalarmadingdong
...
Core API change: Decouple alarm construction from setting to avoid races in MT code
2017-09-07 18:34:56 -07:00
Vijay Pai
66eaa32773
Specify that ServerCompletionQueue must be drained.
2017-09-07 15:35:21 -07:00
Craig Tiller
dfc6cffdf8
Merge github.com:grpc/grpc into write_completion
2017-09-07 14:48:40 -07:00
Mark D. Roth
8941f607d6
Merge pull request #12369 from markdroth/call_combiner
...
Second attempt at call combiner PR
2017-09-07 14:43:47 -07:00
Craig Tiller
a8fc020e0f
Merge github.com:grpc/grpc into write_completion
2017-09-07 13:39:26 -07:00
Yuchen Zeng
b6ef6e9ff5
Merge pull request #12080 from y-zeng/connectivity
...
Reconnect channels automatically in C++ clients
2017-09-07 12:59:41 -07:00
Craig Tiller
ff952d292f
Merge github.com:grpc/grpc into write_completion
2017-09-07 12:52:44 -07:00
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
2017-09-07 11:34:13 -07:00
Craig Tiller
0033c752d1
C89
2017-09-07 10:20:57 -07:00
Craig Tiller
b8fcff171a
Compile fix
2017-09-06 13:33:14 -07:00
Craig Tiller
9c519434be
EXPERIMENT: Increase grpc_slice size to allow more inlining
2017-09-06 09:53:19 -07:00
Craig Tiller
b675e0a0af
Annotate benign race
2017-09-06 09:22:39 -07:00
Blair Kutzman
c64be96372
Correct spelling of 'client'.
2017-09-05 12:45:32 -07:00
Mark D. Roth
2caf021772
Change plugin credentials API to support both sync and async modes.
2017-09-01 15:04:13 -07:00
Craig Tiller
9bebf8b22a
C++ API for write-through
2017-09-01 10:20:13 -07:00
Craig Tiller
6ba448fb55
Merge github.com:grpc/grpc into write_completion
2017-09-01 10:09:30 -07:00
Mark D. Roth
764cf04a13
Revert "Revert "Implement call combiner""
...
This reverts commit bf19961d0a .
2017-09-01 09:00:06 -07:00
Craig Tiller
8fd40d5ed9
Merge github.com:grpc/grpc into wc
2017-08-31 10:54:11 -07:00
Muxi Yan
0e3969874a
Allow unreachable code on iPhone
2017-08-30 16:23:41 -07:00
Ken Payson
08b79c1611
Doc UPdate
2017-08-30 08:36:59 -07:00
Ken Payson
4754398f81
Clang_format
2017-08-30 08:31:38 -07:00
Mark D. Roth
bf19961d0a
Revert "Implement call combiner"
2017-08-29 16:59:07 -07:00
Ken Payson
567e0f1eb6
Have write ops take ownership over slices
2017-08-29 09:21:22 -07:00
Mark D. Roth
ff4f2db4b9
Merge pull request #11566 from markdroth/call_combiner
...
Implement call combiner
2017-08-25 09:05:04 -07:00
Mark D. Roth
76e264b8df
Implement call combiner.
2017-08-25 09:03:33 -07:00
Yang Gao
2921e1ea7d
Merge pull request #12282 from yang-g/sync_thd_refactor
...
Refactor sync/thd headers
2017-08-24 15:47:33 -07:00
yang-g
a79ada3bcc
Double check macro to protect from faulty test.
2017-08-24 10:15:12 -07:00
yang-g
9ff6031014
Add sync_custom.h
2017-08-24 09:08:21 -07:00
Yuchen Zeng
b4481a9a13
Share one monitoring thread between channels
2017-08-24 03:13:42 -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
be9b814240
Add ChannelConnectivityWatcher
2017-08-22 18:56:25 -07:00
Muxi Yan
7c62a35c6f
Merge remote-tracking branch 'upstream/master' into stream_compression_config
2017-08-21 15:19:50 -07:00
Muxi Yan
d37411e71d
Some missing parts
2017-08-17 18:44:45 -07:00
Muxi Yan
e9447a0068
Minor name fix
2017-08-14 13:09:00 -07:00
Muxi Yan
983539565b
Fix core_untyped_structs sanity test
2017-08-14 11:20:18 -07:00
Muxi Yan
229125abb1
Merge remote-tracking branch 'upstream/master' into stream_compression_config
2017-08-11 16:15:53 -07:00
Muxi Yan
d36283ab59
Address review comments
2017-08-11 16:11:26 -07:00
Vijay Pai
b18ab3f7c8
Delete deprecated constructor and CallOpSetCollectionInterface
2017-08-11 11:56:34 -07:00
Jeremy Yallop
b8e68dcdd6
Add tags to tagless structs and unions.
2017-08-09 15:59:54 +01:00
Vijay Pai
ce58cf8c44
Add Slice constructors to match all grpc_slice cases
2017-08-04 07:48:48 -07:00
Mark D. Roth
f9bf428489
Add support for service configs to c-ares resolver.
2017-08-03 14:47:23 -07:00
Jan Tattermusch
e68c0d1722
Revert "Reintroduce a lambda capture as part of C++11-izing code"
2017-08-03 12:42:24 +02:00
Muxi Yan
69b8fe02b6
Merge branch 'master' into stream_compression_config
2017-08-02 16:57:23 -07:00
yang-g
e8a61d63b5
Add a default delete override for the interface
2017-08-02 09:31:24 -07:00
apolcyn
b667f12cef
Merge pull request #11979 from apolcyn/ensure_cancel_with_status_memory_api
...
Add comment and test for API of a parameter to grpc_call_cancel_with_status
2017-07-31 17:10:41 -07:00
Alexander Polcyn
088e85ca64
add comment and test for memory api of grpc_call_cancel_with_status
2017-07-28 16:07:16 -07:00
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
2017-07-28 12:49:40 -07:00
Muxi Yan
bb7ff0df00
minor missing header
2017-07-27 11:22:08 -07:00
Muxi Yan
c80526d122
Modify C++ and Objective C to initialize maybe_stream_compression_level
2017-07-27 11:16:49 -07:00
Muxi Yan
0603895423
Merge remote-tracking branch 'upstream/master' into stream_compression_config
2017-07-26 17:02:31 -07:00
Muxi Yan
68a0fd5416
Separate stream compression from message-wise compression
2017-07-26 14:20:01 -07:00
Yang Gao
986f056ee9
Merge pull request #11865 from yang-g/avl_interface
...
Adding user_data to avl interface so that an exec_ctx can be passed in.
2017-07-26 07:20:37 -07:00
yang-g
303de0ae71
update comments
2017-07-25 07:50:45 -07:00
yang-g
59ef64898a
Adding exec_ctx to avl vtable functions
2017-07-25 07:45:23 -07:00
Vijay Pai
bc81eee4d4
Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API
2017-07-25 01:51:28 -07:00
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 00:43:30 -07:00
Mehrdad Afshari
4260f2852d
Merge pull request #11917 from hxcan/master
...
Fix error in Doxygen comment.
2017-07-24 15:14:16 -07:00
hxcan.cai
ba65002de4
Fix error in Doxygen comment.
2017-07-24 13:51:10 +08:00
Muxi Yan
c97fc14a0e
Revert "Stream compression configuration"
...
This reverts commit a4dc077d3c .
2017-07-21 16:23:08 -07:00
Mark D. Roth
e0778b2c18
Add cancellation to asynchronous security APIs.
2017-07-21 15:42:00 -07:00
Craig Tiller
4a70c24f13
Merge github.com:grpc/grpc into write_completion
2017-07-18 14:32:56 -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
764cdbaaf0
Merge github.com:grpc/grpc into write_completion
2017-07-17 16:32:50 -07:00
Craig Tiller
d996379030
Reset OWNERS state
2017-07-17 10:54:07 -07:00
Vijay Pai
fd82a6cb4f
Merge pull request #11145 from vjpai/inproc3
...
In-process transport
2017-07-15 20:05:26 -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
Julien Boeuf
da8eca56e2
Better handling of token lifetime.
...
- In C++, we need a constant for the max lifetime.
- In C, make sure that we crop the lifetime in the credentials object
itself and not just later during the creation of the token. This will
allow the refresh to occur based on the actual token lifetime as opposed
to the one from the user (which may be cropped).
2017-07-13 21:58:01 -07:00
Craig Tiller
00f78ba0e2
Merge github.com:grpc/grpc into write_completion
2017-07-13 13:53:45 -07:00
Nicolas Noble
9877189e45
Merge pull request #11310 from nicolasnoble/import
...
Import mutations.
2017-07-13 13:39:58 -07:00
Noah Eisen
c571a8abc4
Merge pull request #11466 from ncteisen/revert-zco
...
Partial Revert of https://github.com/grpc/grpc/pull/10743
2017-07-13 09:26:42 -07:00
Craig Tiller
e476f7d33f
Strawman OWNERS --> CODEOWNERS script
2017-07-13 08:52:00 -07:00
ncteisen
616dafd52c
Partial revert of https://github.com/grpc/grpc/pull/10743
2017-07-12 15:31:38 -07:00
Muxi Yan
a4dc077d3c
Stream compression configuration
2017-07-12 14:04:30 -07:00
Craig Tiller
a6ca571bd5
Merge github.com:grpc/grpc into write_completion
2017-07-11 14:51:57 -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
Yang Gao
6eaaa923fa
Merge pull request #11731 from yang-g/cpp_is_hard
...
Avoid use after free if the sneaky op is owned by the collection
2017-07-11 10:39:11 -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
Ken Payson
b84a489f02
Revert "Reduce server memory usage"
...
This reverts commit 53e6b56e32 .
2017-07-10 17:21:12 -07:00
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
2017-07-10 22:24:28 +00: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
yang-g
d03594fb73
second try
2017-07-10 14:23:00 -07:00
yang-g
0d9caecde2
Unref the call first in case the collection is still used in call
2017-07-10 11:24:53 -07:00
yang-g
a3d929169f
Use pointer to avoid assignment and race.
2017-07-08 00:57:20 -07:00
Vijay Pai
17bf3e1434
Merge pull request #11705 from vjpai/typos
...
Resolve typos
2017-07-07 08:44:33 -07:00
Craig Tiller
1d85332481
Merge pull request #11532 from ctiller/optimize_for
...
Allow application optimization targets to be hinted to grpc (prefer latency over throughput for now)
2017-07-06 15:35:12 -07:00
Vijay Pai
28ee1ecdf0
Resolve typos
2017-07-06 14:46:37 -07:00
Noah Eisen
67a40548ca
Initialize pending_ops false
2017-07-06 09:34:06 -07:00
ncteisen
36bb8a0006
s/hanging/pending/g
2017-07-05 11:21:25 -07:00
ncteisen
43f2b55a07
Add repro and fix to bidi case
2017-07-05 10:33:21 -07:00
ncteisen
95f7a51746
Fix writelast bug
2017-07-05 10:33:21 -07:00
Craig Tiller
a1a3f363ee
Merge github.com:grpc/grpc into optimize_for
2017-07-05 08:37:09 -07:00
David G. Quintas
b9223347bc
Merge pull request #11539 from dgquintas/alarm_non_copyable
...
Make grpc::Alarm non-copyable
2017-06-29 14:19:58 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02:00
Vijay Pai
10c040d455
Move collection reset before unref (since unref could destroy obj)
2017-06-22 13:41:41 -07:00
Vijay Pai
d35730d185
Fix use of terminal underscores in field names.
2017-06-22 12:06:44 -07:00
Vijay Pai
fc539eb193
Re-enable public constructor for ClientAsyncResponseReader to avoid busting client that bypassed code generator. This code is deprecated-on-arrival as it is a performance pessimization. This code path should not be used.
2017-06-22 09:40:09 -07:00
David Garcia Quintas
e48949f0b4
Make grpc::Alarm non-copyable
2017-06-20 15:42:56 -07:00
Craig Tiller
f1633a9bec
Allow application optimization targets to be hinted to grpc (prefer latency over throughput for now)
2017-06-19 10:01:52 -07:00
Noah Eisen
5f5415eae3
Merge pull request #11429 from gkelly/fix-extra-semis
...
Remove extraneous semicolons.
2017-06-08 10:08:57 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Yang Gao
2f6715d49b
Merge pull request #11399 from yang-g/status_ok_message
...
Update comments to discourage having an OK status with error_message
2017-06-07 15:31:09 -07:00
Garret Kelly
0cd689202d
Remove extraneous semicolons.
...
Fixes compilation if building with -Wextra-semi.
2017-06-07 14:56:06 -04:00
David Garcia Quintas
87d5a3130d
Implement LB policy updates
2017-06-06 19:45:58 -07:00
yang-g
63610c4740
Update comments to discourage having an OK status with error_message
2017-06-02 16:30:54 -07: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
Eric Gribkoff
df8b5eacf0
Update comment formatting
2017-06-01 08:53:49 -07:00
Nicolas "Pixel" Noble
7bc55fdaa3
Merge remote-tracking branch 'ctiller/build-wtf' into import
2017-05-26 00:32:47 +02:00
murgatroid99
c18b9069cd
Merge remote-tracking branch 'upstream/v1.3.x' into master_1.3.x_upmerge
2017-05-25 15:13:27 -07:00
Yang Gao
0a94f3c8ab
Merge pull request #11158 from yang-g/async_default_service
...
Add api to server builder plugin to modify the builder
2017-05-23 13:53:44 -07:00
Craig Tiller
5cb685f0ab
Merge pull request #11262 from KindDragon/patch-1
...
Export function gpr_log_severity_string for grpc_csharp_ext
2017-05-23 13:34:42 -07:00
Mark D. Roth
34011f19ed
Merge pull request #11246 from markdroth/doc_fixes
...
More Doxygen comment improvements.
2017-05-23 09:20:39 -07:00
Yang Gao
725d822743
merge with head
2017-05-22 10:41:17 -07:00
Mark D. Roth
98bb6323ae
Yet another Doxygen comment syntax fix.
2017-05-22 08:25:59 -07:00
Mark D. Roth
a4881ccd5e
Fixed Doxygen comment syntax.
2017-05-22 07:24:55 -07:00
Arkady Shapkin
b046d0f511
Export function gpr_log_severity_string for grpc_csharp_ext
2017-05-22 14:03:39 +03:00
Craig Tiller
840931eec9
More import fixes
2017-05-19 15:37:45 -07:00
Mark D. Roth
127fdaeace
More Doxygen comment improvements.
2017-05-19 13:16:13 -07:00
Alexander Polcyn
c3b1f18a7e
get rid of connectivity state watchers right after timeout
2017-05-18 12:09:26 -07:00
Mehrdad Afshari
37718a4fce
Doxygenize comments in server_context_test_spouse.h
2017-05-17 23:30:11 -07:00
Mehrdad Afshari
d488bbac02
minor: doxygenize comment
2017-05-17 23:30:11 -07:00
Mehrdad Afshari
6a6747a906
Link comment code entities
2017-05-17 23:30:11 -07:00
Mehrdad Afshari
65942421b4
minor edits in channel_arguments.h
2017-05-17 23:30:10 -07:00
Mehrdad Afshari
27da5defc7
Minor edits and doxygenize some comments
2017-05-17 23:30:10 -07:00
Mehrdad Afshari
4601bc254b
tiny edit and linking entities
2017-05-17 23:30:10 -07:00
Mehrdad Afshari
59cd2d7f66
doxygenize include/grpc++/security/credentials.h comments
2017-05-17 23:30:10 -07:00
Mehrdad Afshari
31e9c14e83
doxygenize auth_metadata_processor.h comments
2017-05-17 23:30:10 -07:00
Mehrdad Afshari
3a509ecc5d
minor: Link code entities in comments
2017-05-17 23:30:09 -07:00
Mehrdad Afshari
a9d5637a37
minor: doxygenize health_care_service_interface.h comments
2017-05-17 23:30:09 -07:00
Mehrdad Afshari
f0e87f7364
doxygenize comment
2017-05-17 23:30:09 -07:00
Mehrdad Afshari
6f07e3aa42
minor
2017-05-17 23:30:09 -07:00
Mehrdad Afshari
b97bd4a8e7
minor: add trailing period
2017-05-17 23:30:09 -07:00
Mehrdad Afshari
ab1277c433
Add documentation comment for Version()
2017-05-17 23:30:09 -07:00
Mehrdad Afshari
dcc3610860
link referenced code elements
2017-05-17 23:30:08 -07:00