Vijay Pai
606177bbc8
Document that ClientContext must remain alive for duration of RPC
2018-12-03 20:00:08 -08:00
Vijay Pai
6bca0313d8
Merge pull request #17144 from vjpai/server_streaming
...
C++ callback API for streaming servers
2018-12-03 09:52:28 -08:00
apolcyn
5fed8e5452
Merge pull request #17354 from apolcyn/fix_ares_deadlocks
...
Cancel c-ares queries after a timeout to avoid getting stuck
2018-11-30 16:58:16 -08:00
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
2018-11-30 16:14:21 -08:00
Alexander Polcyn
b203ed3c07
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
2018-11-30 15:06:11 -08:00
Vijay Pai
2b5d45ab38
Fix clang-tidy and golden file issues
2018-11-30 04:13:41 -08:00
Vijay Pai
28dd7981d6
clang-format
2018-11-30 04:13:40 -08:00
Vijay Pai
ea1156da3f
Stop exposing streaming object class
2018-11-30 04:13:40 -08:00
Vijay Pai
dac2066a1c
Make StartCall() a releasing operation so that you can pile up ops
2018-11-30 04:13:40 -08:00
Vijay Pai
fa45ffd418
Address reviewer comments
2018-11-30 04:13:40 -08:00
Vijay Pai
d7eb26648d
Client callback streaming
2018-11-30 04:13:40 -08:00
Noah Eisen
b9a98dd2ab
Fix comment
2018-11-29 12:17:09 -08:00
yang-g
483e0ad3f2
Merge with master and resolve conflict
2018-11-29 10:39:35 -08:00
Soheil Hassas Yeganeh
9128881b6d
Add GPR_ATM_INC_ADD_THEN to grpc_core::RefCount
...
This is to fix the wrong atomic op counts reported by benchmarks.
Also add these macros to windows and gcc-sync headers as noop macros for
consistency.
2018-11-28 15:06:57 -05:00
yang-g
cdd698810b
Move grpc_shutdown internals to a detached thread
2018-11-27 14:26:08 -08:00
Yash Tibrewal
726f044932
Include linux/version.h for manylinux
2018-11-21 14:24:22 -08:00
Yash Tibrewal
8fb11e6d5e
Apply the conversion on the status irrespective of whether Pluck returned true
2018-11-21 14:11:59 -08:00
Yash Tibrewal
544f2a5abb
Necessary change after #17219
2018-11-21 14:00:16 -08:00
Yash Tibrewal
b32d8f5d4d
Merge pull request #17219 from yashykt/cleanup
...
Make Pluck use the changes made in FinalizeResult
2018-11-20 15:23:27 -08:00
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
2018-11-15 16:49:43 -08:00
Yash Tibrewal
00c9c40004
Remove extraneous logging statements
2018-11-15 16:01:14 -08:00
Yash Tibrewal
d4ebd30eb2
Add method to get status of send message op on POST_SEND_MESSAGE
2018-11-15 15:57:43 -08:00
Yash Tibrewal
0911e489e3
Add a method to check whether the message was received successfully
2018-11-15 13:55:56 -08:00
Yash Tibrewal
a9bee9b7ed
Make Pluck use the changes made in FinalizeResult
2018-11-14 17:48:35 -08:00
Yash Tibrewal
5d7d6c0fbd
Add method to fail hijacked send messages
2018-11-14 17:35:26 -08:00
Vijay Pai
0e29d7b9bc
Properly clear metadata and other structs when reusing ServerContext
2018-11-13 12:44:56 -08:00
Yash Tibrewal
565edf5297
Add safety checks
2018-11-09 19:51:11 -08:00
Yash Tibrewal
699c10386d
Add method to fail recv msg for hijacked rpcs
2018-11-09 19:43:00 -08:00
Yash Tibrewal
a803f96e5a
Add comment on cancellation being forever alone in the batch
2018-11-06 15:32:05 -08:00
Yash Tibrewal
193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
...
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
Vijay Pai
1e850944e9
Release the CallbackWithSuccessTag from a server context completionop
2018-11-06 11:49:17 -08:00
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
2018-11-06 11:20:50 -08:00
Yash Tibrewal
f055c1cfd2
Remove unnecessary header
2018-11-05 14:35:55 -08:00
Yash Tibrewal
f240af0cb8
Add GPR_CODEGEN_DEBUG_ASSERT
2018-11-05 13:56:06 -08:00
Yash Tibrewal
6faa17c6ca
s/new/post-1.0
2018-11-02 11:46:10 -07:00
Yash Tibrewal
3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
...
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Yash Tibrewal
ded9434e4c
Add array header for complaining compiler
2018-11-01 18:36:40 -07:00
Yash Tibrewal
382fe4b475
Add override back to GetInterceptedChannel
2018-11-01 18:17:02 -07:00
Yash Tibrewal
ddcadad5b5
Add note on hijacking
2018-11-01 16:26:04 -07:00
Yash Tibrewal
b732e9c403
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
2018-11-01 16:14:40 -07:00
Yash Tibrewal
fd88dcaf55
Add cancellation notification
2018-11-01 11:58:46 -07:00
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
2018-10-31 15:29:26 -07:00
Yash Tibrewal
857e79ce00
Improve documentation
2018-10-31 14:35:54 -07:00
Vijay Pai
932abf48a3
Address reviewer comments.
2018-10-31 01:02:07 -07:00
Vijay Pai
2f47137a6e
Add support for IsCancelled check
2018-10-30 23:15:59 -07:00
Vijay Pai
b460622c2d
Address reviewer comments
2018-10-30 12:35:56 -07:00
Vijay Pai
47d0d5bf1f
Merge branch 'master' into server_callback
2018-10-30 12:29:35 -07:00
Yash Tibrewal
0390b29e15
Register global interceptors functionality
2018-10-30 02:43:01 -07:00
Yash Tibrewal
3c1ca6bf39
Merge pull request #17034 from yashykt/interceptorcleanup
...
Get ClientContext included with ChannelInterface, and slight more cle…
2018-10-30 00:12:55 -07:00
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
2018-10-29 13:41:25 -07:00
Yash Tibrewal
145789e9ff
interceptor_creators_ should be destroyed after health_check_service_
2018-10-29 13:15:29 -07:00
Vijay Pai
371b1d99d5
Add call as param to MethodHandler::Deserialize to allow arena use
2018-10-29 02:10:00 -07:00
Yash Tibrewal
bfd1935afc
Add note on the experimental nature of the additional method in ServerInterface
2018-10-29 01:56:12 -07:00
Yash Tibrewal
85ddf5c713
Get ClientContext included with ChannelInterface, and slight more cleanup
2018-10-29 00:14:05 -07:00
Yash Tibrewal
01313976e1
Merge pull request #16842 from yashykt/interceptors
...
Experimental API for Client and Server Interception
2018-10-28 23:36:59 -07:00
Yash Tibrewal
395edbfa24
Replace size_t initialization from false to 0
2018-10-27 20:14:06 -07:00
Yash Tibrewal
2475744c75
Change index to size_t
2018-10-26 18:14:55 -07:00
Yash Tibrewal
005eb29298
Missed reviewer comments
2018-10-26 16:52:18 -07:00
Yash Tibrewal
1ea195b6f3
Reviewer comments except for void * fixed
2018-10-26 16:11:48 -07:00
Yash Tibrewal
6a5f39db3c
Separate out interceptorbatchmethodimpl to a different file
2018-10-26 15:47:16 -07:00
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
2018-10-26 15:15:48 -07:00
Vijay Pai
b8f3b532d3
Merge pull request #17018 from sreecha/patch-1
...
Fix an outdated comment
2018-10-26 12:54:44 -07:00
Noah Eisen
5cf95f0b52
Merge pull request #16991 from ncteisen/channelz-get-server-core
...
Channelz part 10: GetServer
2018-10-26 12:18:59 -07:00
Sree Kuchibhotla
91faa8e8f0
Fix an outdated comment
...
Fix the outdated commment in ServerCompletionQueue constructor
2018-10-26 10:49:52 -07:00
Yash Tibrewal
cc21d32c77
Some cleanup
2018-10-26 00:13:55 -07:00
Yash Tibrewal
312feb4202
Adding generic rpc and unimplemented rpc test for server interceptors
2018-10-25 21:43:49 -07:00
Yash Tibrewal
3896dabb85
Merge branch 'master' into interceptors
2018-10-25 19:50:10 -07:00
Yash Tibrewal
a094b7b312
Added server async tests
2018-10-25 19:24:30 -07:00
Vijay Pai
63921c7f63
Merge pull request #16992 from morganchen12/warnings
...
Fix warnings in doc comments
2018-10-25 17:04:42 -07:00
Muxi Yan
c88e509ba6
Merge branch 'master' into config-isolation
2018-10-25 15:43:09 -07:00
Vijay Pai
56f1d3d697
clang-format
2018-10-25 11:06:32 -07:00
ncteisen
693f46841a
Add GetServer to core
2018-10-24 17:31:30 -07:00
ncteisen
4fa389b137
Unifying grpc build hacks
2018-10-24 17:25:51 -07:00
ncteisen
482641501c
Revert "Revert "Refactor Channelz Service to Support Internal Build""
...
This reverts commit 2eafaccba6 .
2018-10-24 17:22:22 -07:00
Yash Tibrewal
281de1bb30
Solve memory leak due to double setting of set_server_rpc_info
2018-10-24 15:54:08 -07:00
Noah Eisen
2eafaccba6
Revert "Refactor Channelz Service to Support Internal Build"
2018-10-24 15:44:50 -07:00
Morgan Chen
6f4f17a3d0
Fix documentation warnings
2018-10-24 15:29:19 -07:00
Mark D. Roth
496d0676c8
Merge pull request #16507 from markdroth/health_checking_client
...
Health checking client
2018-10-24 13:17:01 -07:00
Mark D. Roth
f85fd026e3
Client-side health checking support.
2018-10-24 12:29:04 -07:00
Vijay Pai
22dc39ae66
Change CatchingCallback function to be varargs for broader use
2018-10-24 02:28:57 -07:00
Yash Tibrewal
62280b42c7
Add client streaming, server streaming and bidi streaming tests
2018-10-23 21:08:39 -07:00
Yash Tibrewal
66cc56bb03
Another server side test
2018-10-23 15:33:08 -07:00
Yash Tibrewal
4da91c1156
First test for server interception
2018-10-23 13:56:36 -07:00
ncteisen
97134a69be
Refactor to support internal build
2018-10-22 17:08:31 -07:00
Yash Tibrewal
d8cfd96fb2
Adding tests using the callback API
2018-10-22 16:43:43 -07:00
Yash Tibrewal
b358ef85dc
Merge branch 'master' into interceptors
2018-10-22 10:39:27 -07:00
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
2018-10-22 02:42:03 -07:00
Yash Tibrewal
3a17f5b05e
Working on tests
2018-10-21 23:06:21 -07:00
Vijay Pai
340bffa555
Merge pull request #16950 from vjpai/membug2
...
Fix CallOpSet copy/assignment to reset cq_tag
2018-10-19 20:22:58 -07:00
Vijay Pai
ce4bd108ea
Fix CallOpSet copy/assignment to reset cq_tag
2018-10-19 17:17:34 -07:00
Yash Tibrewal
52765e9cb1
Don't expose internal functions.. Add a layer of indirection namely InternalInterceptorBatchMethods
2018-10-19 17:07:05 -07:00
Yash Tibrewal
456231b26d
Server side interception for CompletionOp and AsyncRequest
2018-10-18 22:43:49 -07:00
Yash Tibrewal
adca91f6cf
Server interception for SyncRequest
2018-10-18 16:07:00 -07:00
Vijay Pai
dfcc96227c
Merge pull request #16362 from overvenus/formalize-empty-batch
...
Formalize the contract of grpc_call_start_batch with empty batches
2018-10-18 11:18:02 -07:00
Muxi Yan
62693ec1bd
Merge remote-tracking branch 'upstream/master' into config-isolation
2018-10-18 09:38:26 -07:00
Yash Tibrewal
d042a5acf1
some tests fail
2018-10-17 22:05:48 -07:00
Yash Tibrewal
0b785ae8cf
Remove unneeded file
2018-10-17 14:37:35 -07:00
Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
2018-10-17 12:51:17 -07:00
Yash Tibrewal
af621c7705
Add method to register server creators
2018-10-17 12:32:53 -07:00
Yash Tibrewal
b232bacf27
Starting on server interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
2018-10-16 14:10:48 -07:00
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
2018-10-16 14:10:30 -07:00
Yash Tibrewal
6f05a711e6
Adding a test
2018-10-16 14:10:17 -07:00
Yash Tibrewal
63bdf4e236
More changes for client interception
2018-10-16 14:10:02 -07:00
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
2018-10-16 14:09:34 -07:00
Mark D. Roth
f4e65787b6
Merge remote-tracking branch 'upstream/master' into health_checking_service
2018-10-15 13:12:26 -07:00
yang-g
a078aa6b68
Enable building opencensus for bazel build
2018-10-12 16:33:30 -07:00
Vijay Pai
a46ddf4a09
Remove grpc_use_signal which is no longer relevant
2018-10-10 08:38:15 -07:00
Muxi Yan
e2e5c81893
New API for GRPCCall
2018-10-08 15:50:55 -07:00
ncteisen
5de6e2533d
Merge branch 'master' of https://github.com/grpc/grpc into channelz-server-sockets
2018-10-05 12:20:09 -07:00
ncteisen
664178164a
reviewer feedback
2018-10-04 16:32:01 -07:00
ncteisen
867192e29e
Merge branch 'master' of https://github.com/grpc/grpc into channel-trace-size
2018-10-04 16:06:19 -07:00
ncteisen
cfe47deca4
Merge branch 'master' of https://github.com/grpc/grpc into channelz-server-sockets
2018-10-04 15:17:50 -07:00
ncteisen
d7bbc60ad6
Reviewer feedback
2018-10-04 13:19:49 -07:00
ncteisen
a139b44acc
Clenaer channelz default values
2018-10-03 14:43:23 -07:00
ncteisen
a64cb54de1
Channel trace is limited by memory
2018-10-02 17:33:07 -07:00
Yash Tibrewal
130eeeaeb9
Merge branch 'master' into interceptors_initial
2018-10-02 14:49:17 -07:00
ncteisen
3545d754d5
Channelz get server sockets support
2018-10-02 09:55:00 -07:00
Vijay Pai
e04a819c12
Merge pull request #16657 from g-easy/deadline
...
Document that set_deadline() uses absolute time.
2018-10-01 18:58:44 -07:00
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
2018-09-30 22:13:44 -07:00
Yash Tibrewal
b741edf37e
Error fixes
2018-09-27 17:34:19 -07:00
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
2018-09-26 19:25:30 -07:00
ncteisen
4fcf871806
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-09-25 13:37:58 -07:00
Mark D. Roth
be1ce0c4cc
Revert "Merge pull request #16600 from grpc/revert-16574-health_checking_service"
...
This reverts commit de11358660 , reversing
changes made to 107d10ea73 .
2018-09-25 11:42:57 -07:00
Muxi Yan
b522334d63
Merge pull request #16659 from grpc/security_func_signature
...
Update function signature in grpc_security
2018-09-21 08:07:34 -07:00
Vijay Pai
17fc4d4029
Address reviewer comments
2018-09-20 10:52:48 -07:00
Vijay Pai
0db69018b0
Use GPR_CODEGEN_ASSERT in impl/codegen
2018-09-20 00:58:29 -07:00
Vijay Pai
fc1e35444b
Reset status field in tag as well as func
2018-09-20 00:39:49 -07:00
Vijay Pai
9e6511ae2e
Make the core callback interface API so that it can be used in generated code
2018-09-19 23:57:56 -07:00
Muxi Yan
51b79f1757
Update function signature
2018-09-19 17:46:03 -07:00
easy
0131c7bbb3
Document that set_deadline() uses absolute time.
2018-09-19 14:26:59 -07:00
Vijay Pai
46429a2a6a
Merge pull request #16624 from vjpai/callback_alarms
...
EXPERIMENTAL: Add callback-based alarms
2018-09-19 12:06:11 -07:00
Vijay Pai
1359543b47
Add a comment to address reviewer feedback
2018-09-19 09:41:42 -07:00
ncteisen
bd9d97a200
Channelz socket support
2018-09-18 14:57:02 -07:00
Yash Tibrewal
d177c8fe46
Merge pull request #16384 from yashykt/doc1
...
Improve documentation on lifetime of message and status
2018-09-18 14:26:08 -07:00
Vijay Pai
73d89a66f9
Catch exceptions in user callbacks
2018-09-14 16:56:19 -07:00
Vijay Pai
db01bf793a
Add callback-based alarms
2018-09-13 09:54:41 -07:00
Yash Tibrewal
18a6a012f2
Merge branch 'master' into linuxversion
2018-09-12 17:10:09 -07:00
Yash Tibrewal
5f2bb7a7d4
s/GRPC/gRPC
2018-09-12 11:14:18 -07:00
Vijay Pai
3bc10c0f44
Merge pull request #16492 from vjpai/client_callback
...
EXPERIMENTAL: C++ generic client-side unary callback API
2018-09-12 09:03:49 -07:00
ncteisen
157e7fa03e
fix clang tidy
2018-09-11 14:33:40 -07:00
Vijay Pai
20778b0c46
Address reviewer comments
2018-09-11 09:14:57 -07:00
Mark D. Roth
42d9becd91
Revert "Second attempt: Implement Watch method in health check service."
2018-09-10 14:06:52 -07:00
ncteisen
ef1a390d1d
Merge branch 'master' of https://github.com/grpc/grpc into channelz-server
2018-09-10 11:19:53 -07:00
Noah Eisen
2edfddb66f
Merge pull request #16055 from ncteisen/channelz-subchannels
...
Channelz Part 4: Add Subchannel Support
2018-09-10 11:12:52 -07:00
Noah Eisen
1a09a5931e
Merge pull request #16558 from ncteisen/user-agent
...
Stop Unconditionally Surfacing User Agent to Server
2018-09-10 09:03:02 -07:00
ncteisen
5946ae5eff
Merge branch 'channelz-subchannels' into channelz-server
2018-09-08 10:19:26 -07:00
ncteisen
2f76fd452e
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-09-08 10:15:51 -07:00
Mark D. Roth
a8247c833c
Merge pull request #16574 from markdroth/health_checking_service
...
Second attempt: Implement Watch method in health check service.
2018-09-07 11:53:16 -07:00
ncteisen
16f53ff583
Surface user agent by default
2018-09-05 18:16:13 -07:00
ncteisen
c9e300d5b0
Add channel arg control for user agent
2018-09-05 17:08:01 -07:00
Jan Tattermusch
605a42d90a
fix #13939
2018-09-05 21:40:58 +02:00
Mark D. Roth
6d2c8f8072
Revert "Merge pull request #16512 from grpc/revert-16351-health_checking_service"
...
This reverts commit 4ee0f4c790 , reversing
changes made to 5ee9b5e7b5 .
2018-09-05 10:27:54 -07:00
Noah Eisen
4e6ed86a04
Merge pull request #16407 from ncteisen/lazy-metadata
...
Lazily Fill Metadata Map
2018-08-31 12:05:16 -07:00
Vijay Pai
5474e92292
Allocate using call arenas
2018-08-31 10:11:38 -07:00
Vijay Pai
6b6bdbbb76
Address reviewer and clang-tidy comments
2018-08-30 15:46:27 -07:00
Vijay Pai
8bf52535d1
Provide a generic client-side unary callback API
2018-08-30 15:46:27 -07:00
Jan Tattermusch
525c59f74c
Merge pull request #16443 from jtattermusch/improve_security_constants_doc
...
Improve doc comments for security constants
2018-08-30 20:57:40 +02:00
Jan Tattermusch
bc8f515fb8
clang format
2018-08-30 19:36:25 +02:00
Jan Tattermusch
2bc7b8e0a3
address comments
2018-08-30 19:28:30 +02:00
Juanli Shen
14a858123d
Revert "Implement Watch method in health check service."
2018-08-29 21:36:41 -07:00
ncteisen
58e99b6377
Use strncmp over grpc_slice_str_cmp
2018-08-29 10:30:31 -07:00
ncteisen
ca77fcd7cd
Reviewer comments
2018-08-29 07:46:48 -07:00
ncteisen
743d40d635
Lazily fill metadata map
2018-08-28 17:00:20 -07:00
ncteisen
6076b1d798
Merge branch 'channelz-subchannels' into channelz-server
2018-08-28 12:55:40 -07:00
ncteisen
4b5b019d56
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-08-28 12:53:57 -07:00
Mark D. Roth
4d985efe19
Merge pull request #16351 from markdroth/health_checking_service
...
Implement Watch method in health check service.
2018-08-28 11:59:22 -07:00
Mark D. Roth
99ce3e19af
Implement Watch method in health check service.
2018-08-28 08:51:52 -07:00
Yash Tibrewal
86530acca7
Include linux/version.h in port_platform.h
2018-08-27 15:14:58 -07:00
Vijay Pai
3ad8df35f0
Merge pull request #16383 from vjpai/tidy
...
Cast an index to size_t to avoid sign-conversion warning
2018-08-23 14:59:32 -07:00
Jan Tattermusch
458775d4f9
improve wording
2018-08-23 17:37:43 +02:00
Jan Tattermusch
fe20ad62a0
improve doc comments for security constants
2018-08-23 17:25:39 +02:00
Eric Gribkoff
b59d8674d2
Python post-fork handler: exit if grpc shutdown fails
2018-08-22 13:07:22 -07:00
Vijay Pai
ccc6ee3db0
Merge pull request #15984 from g-easy/hdrs
...
Move GetSpanFromServerContext() to public header.
2018-08-20 17:03:03 -07:00
Vijay Pai
46008f0d76
Merge pull request #15926 from cartr/platform_solaris_aix
...
Make gRPC buildable with AIX and Solaris (no official support)
2018-08-20 11:47:10 -07:00
Yash Tibrewal
f80af5a7c7
Formatting
2018-08-17 14:58:01 -07:00
Yash Tibrewal
356fff684a
Improve documentation on lifetime of message and status
2018-08-17 14:55:05 -07:00
Vijay Pai
616b5d798a
Cast an index to size_t to avoid sign-conversion warning
2018-08-17 13:38:48 -07:00
Mark D. Roth
8ba4563629
Merge pull request #16373 from markdroth/mu_guard_cleanup
...
Move C++ mu_guard class out of C-core public headers and fix style.
2018-08-17 11:56:24 -07:00
Juanli Shen
61dabce400
Merge pull request #16289 from AspirinSJL/warn_api_use
...
Add warning about AsyncNotifyWhenDone bug
2018-08-16 15:23:36 -07:00
Mark D. Roth
7a7e4f5652
Move C++ mu_guard class out of C-core public headers and fix style.
2018-08-16 13:19:01 -07:00
Neil Shen
4a1a447d35
Formalize the contract of grpc_call_start_batch with empty batches
2018-08-16 15:12:45 +08:00
ncteisen
3aa987a29a
Add channelz server support
2018-08-14 17:26:40 -07:00
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
2018-08-14 16:23:21 -07:00
Vijay Pai
4b42288905
Merge pull request #16302 from vjpai/callback_cq
...
EXPERIMENTAL: Infrastructure for callback-based core CQ
2018-08-14 09:37:58 -07:00
Vijay Pai
bbb97318e8
Merge branch 'master' into callback_cq
2018-08-13 11:07:22 -07:00
Sree Kuchibhotla
716857e216
Merge branch 'master' into rq-threads-2
2018-08-13 10:39:43 -07:00
ncteisen
c850354423
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-08-11 21:19:14 -04:00
Mehrdad Afshari
e58d400ba2
Fix type reference in documentation
2018-08-10 17:13:42 -07:00
Mehrdad Afshari
b7b1e77943
Fix minor typo in documentation
2018-08-10 14:38:33 -07:00
Vijay Pai
e84096bbe5
Experimental infrastructure for callback-based CQ
2018-08-10 14:33:22 -07:00
easy
eaa51cbc9d
Add explicit check that we're building with bazel.
2018-08-10 16:28:58 +10:00
Juanli Shen
5e9994bf30
Add warning about AsyncNotifyWhenDone bug
2018-08-09 14:40:26 -07:00
Sree Kuchibhotla
f63b51be86
Merge branch 'master' into rq-threads-2
2018-08-09 12:13:41 -07:00
Mark D. Roth
60069baa6a
Merge pull request #16225 from markdroth/reset_connection_backoff
...
Reset connection backoff
2018-08-07 08:09:59 -07:00
Mark D. Roth
f7e72560b6
Add experimental API for resetting connection backoff.
2018-08-06 14:46:53 -07:00
Sree Kuchibhotla
a2a64e5ad3
Fix default argument(put it in header instead of source file)
2018-08-06 11:58:20 -07:00
Sree Kuchibhotla
a21ab01420
Merge branch 'master' into rq-threads-2
2018-08-06 10:46:12 -07:00
ncteisen
6dfc4dd49a
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-08-02 17:25:09 -07:00
Juanli Shen
fa8aa6df10
Update grpc.h comment
2018-08-02 15:00:05 -07:00
Sree Kuchibhotla
9ce673f861
Make resource quota argument optional to the Server constructor
2018-08-01 12:12:46 -07:00
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
2018-08-01 11:22:40 -07:00
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
2018-07-31 21:12:45 -07:00
Sree Kuchibhotla
2ef6a3302c
Merge branch 'master' into rq-threads
2018-07-31 10:16:13 -07:00
apolcyn
8fc60d3f30
Merge pull request #16163 from apolcyn/revert_revert_windows_breakage
...
Revert "Revert "Merge pull request #15797 from apolcyn/windows_compile_and_sort""
2018-07-30 13:49:09 -07:00
Sree Kuchibhotla
9b84d7fe21
Merge branch 'master' into rq-threads
2018-07-30 10:09:47 -07:00
ncteisen
2428109608
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-07-29 19:51:56 -07:00
Alexander Polcyn
9896c64186
Revert "Merge pull request #16158 from apolcyn/revert_windows_breakage"
...
This reverts commit d9e8f86675 , reversing
changes made to 04847aeb1e .
2018-07-27 01:38:26 -07:00
Alexander Polcyn
f34c653936
Revert "Merge pull request #15797 from apolcyn/windows_compile_and_sort"
...
This reverts commit ae8d3efc3a , reversing
changes made to e41215e181 .
2018-07-26 14:32:07 -07:00
Alex Polcyn
1b1d5e52e7
Get c-ares to compile and do address sorting on windows
2018-07-25 13:21:43 -07:00
Yihua Zhang
acc6ba0c24
Add C++ wrapper for local credentials
2018-07-24 12:00:49 -07:00
Sree Kuchibhotla
7b8be4d6fd
Merge branch 'master' into rq-threads
2018-07-23 10:52:27 -07:00
Sree Kuchibhotla
ec1c112cc1
Each ThreadManager is a resource user
2018-07-20 15:10:16 -07:00
ncteisen
a9cde770ff
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-07-20 14:26:10 -07:00
ncteisen
18a9d7d57c
reviewer feedback
2018-07-20 09:29:05 -07:00
ncteisen
b47214952b
reviewer feedback
2018-07-19 15:19:43 -07:00
ncteisen
6104e4f33b
Move ChannelzServicePlugin to public, experimental
2018-07-19 14:59:10 -07:00
Yang Gao
a3f31d16e7
Merge pull request #16040 from yang-g/cq
...
Initialize member in default ctor
2018-07-19 09:42:49 -07:00
ncteisen
bbee13661c
Add channelz subchannel support
2018-07-19 08:15:49 -07:00
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
2018-07-18 15:03:31 -07:00
Sree Kuchibhotla
f2a57cdd75
Merge remote-tracking branch 'upstream/master' into rq-threads
2018-07-18 11:15:46 -07:00
Noah Eisen
a9f3d78c6e
Merge pull request #15980 from ncteisen/channelz-subchannel-refs
...
Channelz Part 3: Subchannel Refs Support for PickFirst
2018-07-18 07:34:24 -07:00
Sree Kuchibhotla
913f9b930a
Add Core resource quota implementation
2018-07-17 19:54:47 -07:00
yang-g
f48d3d5d98
Initialize member in default ctor
2018-07-17 12:06:31 -07:00
Sree Kuchibhotla
67bb4e3030
Initial scaffolding
2018-07-17 10:25:33 -07:00
Juanli Shen
be40b0d3a8
Add server load reporting service
2018-07-13 19:52:59 -07:00
ncteisen
25082c5fc4
Reviewer feedback
2018-07-12 17:32:04 -07:00
Yash Tibrewal
fa0373c599
GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS only makes sense for the server
2018-07-11 17:11:19 -07:00
ncteisen
018498a06b
Implements subchannel refs for pick_first
2018-07-11 15:17:35 -07:00
easy
1b6e8514a9
Move GetSpanFromServerContext() to public header.
2018-07-11 14:55:46 +10:00
Vijay Pai
bf9ff4e7e5
Merge pull request #15945 from vjpai/drop_assert
...
Drop a spurious assert, since ServerReader can SendInitialMetadata
2018-07-09 09:13:08 -07:00
Juanli Shen
86aa172d9b
Merge pull request #15919 from AspirinSJL/reorder
...
Reorder steps in ServerBuilder::BuildAndStart()
2018-07-06 22:08:34 -07:00
Vijay Pai
c5336fcf8b
Drop a spurious assert, since ServerReader can SendInitialMetadata
2018-07-06 14:21:14 -07:00
yihuaz
252d3f3b46
Merge pull request #15909 from yihuazhang/local_channel_credentials
...
Implement local channel/server credentials
2018-07-06 05:44:09 -07:00
Carter Sande
a0a0610343
port_platform.h: GPR_GETPID_IN_UNISTD_H on Solaris/AIX
2018-07-05 18:55:14 +00:00
Carter Sande
d5736045d3
port_platform.h: Make Solaris detection macro more precise
2018-07-03 21:37:01 +00:00
Juanli Shen
9e77eeb0d5
Update comment
2018-07-03 11:44:34 -07:00
Yihua Zhang
c5f1eda10f
implement loca credentials
2018-07-02 13:29:27 -07:00
ncteisen
7d474811ab
Reviewer feedback
2018-06-29 14:59:59 -07:00
ncteisen
a0a59537d2
s/CodegenGeneric/Raw/g
2018-06-28 18:52:01 -07:00
ncteisen
8db7788d46
Merge branch 'master' of https://github.com/grpc/grpc into serialization
2018-06-28 00:12:02 -07:00
Carter Sande
b51f6aba26
Add Solaris and AIX autodetection
2018-06-27 18:16:19 +00:00
Juanli Shen
174166d20c
Add header back in build.yaml
2018-06-25 16:27:32 -07:00
Juanli Shen
f5f1d57d7a
Add load reporting filter
2018-06-22 10:00:48 -07:00
Yash Tibrewal
0be746faff
Merge pull request #15823 from yashykt/writethroughdoc
...
Wire to socket doc change
2018-06-20 16:26:08 -07:00
Yash Tibrewal
73a124fcfb
Wire to socket doc change
2018-06-20 13:34:33 -07:00
ncteisen
0d878eae6c
Fix build
2018-06-20 07:59:06 -07:00
ncteisen
9e26b6c282
Regenerate project and fix sanity
2018-06-20 07:59:06 -07:00
ncteisen
d170b83e0d
Allow AsyncServer with one generic to compile
2018-06-20 07:59:05 -07:00
ncteisen
93a90e6132
Support codegen generic on server side
2018-06-20 07:59:05 -07:00
ncteisen
1ab1287ac7
Reviewer feedback
2018-06-19 17:09:53 -07:00
ncteisen
68d4f50f77
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-19 14:00:52 -07:00
Mark D. Roth
9e3e64604d
Merge pull request #15274 from JackOfMostTrades/verify-callback-core
...
Create verify_peer_options when creating ssl credentials to support a peer verification callback
2018-06-19 10:00:16 -07:00
Jim King
01cbab60f3
Merge pull request #15070 from Vizerai/filter_port
...
Adding opencensus grpc plugin with bazel support.
2018-06-18 17:01:26 -07:00
ncteisen
c7166ae67d
Make channelz an opt in feature
2018-06-15 11:04:37 -04:00
ncteisen
f92460e539
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-13 23:00:07 -07:00
hcaseyal
9a2c0a8641
Merge pull request #15740 from hcaseyal/update_listening_port_documentation
...
Update AddListeningPort documentation in ServerBuilder
2018-06-13 17:58:09 -07:00
Hope Casey-Allen
90b4ef5be7
Update AddListeningPort documentation in ServerBuilder
2018-06-13 12:56:01 -07:00
Vizerai
f9f0b54d38
update
2018-06-12 23:06:26 -07:00
Yash Tibrewal
56e59ef6b0
Merge pull request #15699 from yashykt/noproxyarg
...
Add channel arg to enable/disable http proxy
2018-06-12 13:58:33 -07:00
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.
2018-06-12 12:59:37 -07:00
Yash Tibrewal
17684374f5
Merge pull request #15717 from yashykt/sizedoc
...
Add documentation for default message sizes
2018-06-12 10:32:34 -07:00
Vijay Pai
500e3399b6
Address reviewer comments
2018-06-12 00:58:18 -07:00
Vijay Pai
1b8969b973
Add useful comment on ServerInterface::Shutdown
2018-06-12 00:53:19 -07:00
Yash Tibrewal
4e3835b36b
Add documentation for default message sizes
2018-06-11 15:10:21 -07:00
Yash Tibrewal
21dbaab4be
Add channel arg to enable/disable http proxy
2018-06-08 18:51:27 -07:00
yang-g
801e566622
handle empty slice explicitly
2018-06-08 10:29:07 -07:00
ncteisen
16280c7398
Remove unused API
2018-06-08 09:44:25 -07:00
ncteisen
d23739eda3
Reviewer feedback
2018-06-07 12:55:15 -07:00
Muxi Yan
d7728cda51
Merge pull request #15069 from muxi/prototype-cfstream
...
Implementation of CFStream
2018-06-07 10:45:10 -07:00
ncteisen
9a1bb05181
Build out the channelz unit test
2018-06-05 16:59:25 -07:00
ncteisen
c3c6e064b3
Add basic support for GetChannel
2018-06-05 16:59:25 -07:00
Vizerai
e501a3d3fd
Merge branch 'master' of https://github.com/Vizerai/grpc into filter_port
2018-05-29 10:45:32 -07:00
Muxi Yan
4dbd18aec5
Make mobile log per-host and rename as context
2018-05-29 10:45:04 -07:00
Vizerai
e1d7deeb53
update
2018-05-25 14:11:49 -07:00
Vizerai
cb2767143c
update
2018-05-24 22:39:23 -07:00
Vizerai
60086793e0
update
2018-05-22 16:03:16 -07:00
Muxi Yan
ba221d0423
Merge branch 'master' into prototype-cfstream
2018-05-22 10:12:38 -07:00
Muxi Yan
a70102b1eb
Use cc rather than mm files and merge cfstream related files into core
2018-05-22 08:53:46 -07:00
Michael Rebello
9c926f325d
Resolve Swift warnings by specifying void arguments
...
The following functions in the `fork.h` file cause a `This function declaration is not a prototype` warning in Swift:
```
void grpc_prefork(void);
void grpc_postfork_parent(void);
void grpc_postfork_child(void);
void grpc_fork_handlers_auto_register(void);
```
Explicitly specifying `void` as the argument resolves the warnings.
Reproducible using Xcode 9.2 with `SwiftGRPC`/`gRPC-Core` via CocoaPods.
2018-05-10 13:27:23 -07:00
apolcyn
57ed055f2f
Merge pull request #15283 from apolcyn/server_consume_socket_mutator
...
Consume socket mutators on posix servers
2018-05-08 21:04:36 -07:00
Alexander Polcyn
ac8b72f75b
Add a test that tcp server posix consumes socket mutators
2018-05-08 11:49:55 -07:00
Yash Tibrewal
a3ba733a84
Add GPR_DEBUG_ASSERT
2018-04-26 16:35:41 -07:00
Yihua Zhang
fe2fa0c1c8
Add C++ experimental API extensions for ALTS C stack
2018-04-16 15:11:32 -07:00
ncteisen
92c4e0fee0
Rename ProtoBuffer helpers
2018-04-12 17:19:54 -07:00
Yash Tibrewal
794edb3207
use GPR_UNLIKELY in GPR_ASSERT
2018-04-12 12:37:48 -07:00
Yash Tibrewal
344a2b2559
Merge pull request #15009 from yashykt/gprlikely
...
Add support for GPR_LIKELY and GPR_UNLIKELY
2018-04-12 12:32:42 -07:00
Jan Tattermusch
749f923c5b
Merge pull request #14945 from ara-ayvazyan/improve_log_perf
...
Avoid low severity log message construction
2018-04-12 08:56:40 +02:00
Yash Tibrewal
1ed62388dc
Revert change to GPR_ASSERT
2018-04-10 18:20:58 -07:00
Yash Tibrewal
e771f9ba84
Add mising GPR_UNLIKELY definition
2018-04-10 17:31:00 -07:00
Yash Tibrewal
20019ceef3
Add support for GPR_LIKELY and GPR_UNLIKELY
2018-04-10 17:21:03 -07:00
Noah Eisen
e91cfed3a2
Merge pull request #14934 from ncteisen/typos
...
Fix typos
2018-04-09 10:36:10 -07:00
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
2018-04-06 07:05:27 -07:00
Ara Ayvazyan
e7995f213c
Avoid low severity log message construction
2018-04-04 17:37:40 -07:00
ncteisen
4a719088ca
Fix typos
2018-04-04 10:26:57 -07:00
Noah Eisen
0b49467404
Merge pull request #14883 from ara-ayvazyan/fix_serverinterface_bytebuffer
...
Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer
2018-04-02 13:56:31 -07:00
Ara Ayvazyan
2e3d410846
fixup! Use bbuf_ptr
2018-04-02 11:16:41 -07:00
Ara Ayvazyan
8016d35aca
fixup! Fix formatting
2018-04-02 10:56:45 -07:00
Muxi Yan
dfbf607ccb
Introduce channel arg to disable authority filter
2018-04-01 22:51:02 -07:00
Ara Ayvazyan
f76069a593
fixup! Fix the payload ownership issue
2018-03-30 10:44:43 -07:00
Ara Ayvazyan
4df7438960
Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer
2018-03-30 10:15:27 -07:00
Vijay Pai
a4da2d2a54
Eliminate existence of SneakyCallOpSet, some server cleanup
2018-03-22 19:09:01 -07:00
Noah Eisen
dc93b71e53
Merge pull request #14751 from ncteisen/channel-tracing
...
[Fix Forward]: Channel Tracing Implementation; Part 1
2018-03-21 16:49:12 -07:00
Vijay Pai
7959f7d248
Merge pull request #14759 from vjpai/desneak
...
C++: Desneak client async unary call
2018-03-21 10:10:43 -07:00
Ruslan Nigmatullin
7ae3733cab
[grpc] Add SSL session client cache support
2018-03-20 09:17:28 -07:00
Vijay Pai
cdddc8ce42
Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity)
2018-03-20 08:46:28 -07:00
ncteisen
3b42f83068
Revert "Revert "Channel Tracing Implementation; Part 1""
...
This reverts commit f2bea3725f .
2018-03-19 13:22:35 -07:00
Noah Eisen
f2bea3725f
Revert "Channel Tracing Implementation; Part 1"
2018-03-19 12:05:18 -07:00
Noah Eisen
1571abdb7f
Merge pull request #13883 from ncteisen/channel-tracing
...
Channel Tracing Implementation; Part 1
2018-03-16 07:55:43 -10:00
ncteisen
b93a006d64
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-03-15 13:46:28 -10:00
Vijay Pai
ba46afe3e2
Delete status_test that has no coverage; replace with static_asserts
2018-03-15 11:30:59 -07:00
kpayson64
7518ce9773
Merge pull request #14599 from kpayson64/abstract_libuv_stuff
...
Abstract libuv event loop
2018-03-13 15:28:39 -07:00
Nicolas Noble
129f38a8a5
Merge pull request #14517 from makdharma/extensible_api
...
Remove "final" keyword and make methods protected.
2018-03-13 09:58:59 -07:00
Vijay Pai
3c3c4c913a
Update server.h
2018-03-13 09:53:28 -07:00
Vijay Pai
589e2cfe09
Update completion_queue.h
2018-03-13 09:52:00 -07:00
makdharma
626a65e877
Added protected default constructor
2018-03-13 09:46:08 -07:00
makdharma
dbf4b71a00
added Experimental in comments
...
For "struct Port" and friends, since they are now protected instead of
private.
2018-03-13 09:06:40 -07:00
kpayson64
539f5068bd
Abstract libuv implementation
...
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
2018-03-13 01:21:42 -07:00
Muxi Yan
60aa27884f
Remove include of inttypes.h completely
2018-03-12 11:50:09 -07:00
Muxi Yan
4b37fb0e4c
Stop including inttypes.h in gRPC core public header in Apple platforms
2018-03-12 11:43:00 -07:00
makdharma
d10c4e1e8e
added "Experimental" and returned raw pointers
...
Added experimental in the comment and removed reference_wrapper in favor
of the raw pointer.
2018-03-12 11:07:35 -07:00
makdharma
1d603248f2
forgot to add completion_queue.h doh!
2018-03-12 10:37:52 -07:00
makdharma
c8e523351e
clang-format
2018-03-09 13:47:46 -08:00
makdharma
757af97ad0
added ///Experimental in comment for c_server
...
Please enter the commit message for your changes. Lines starting
2018-03-09 10:46:35 -08:00
makdharma
838af3eb6c
moved member variables from protected to private
...
Per style guide, the member variables are not protected but private and
accessed through methods.
2018-03-09 09:39:42 -08:00
ncteisen
ac945eba98
Reviewer comments
2018-03-05 22:23:23 -08:00
ncteisen
cd6755b13c
Re write rendered
2018-03-02 15:16:50 -08:00
ncteisen
ee013d25b3
Fix build and sanity
2018-03-02 11:38:32 -08:00
ncteisen
bf5237a723
reviewer comments
2018-03-01 20:45:26 -08:00
ncteisen
6ea7f3330e
Reviewer comments
2018-03-01 20:19:25 -08:00
ncteisen
95cf05794a
Reviewer feedback
2018-03-01 20:12:41 -08:00
ncteisen
75cf85c9ce
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-03-01 19:57:24 -08:00
Mark D. Roth
718c8341ca
Retry support.
2018-02-28 13:00:04 -08:00
makdharma
57237443ac
clang-format
2018-02-26 16:03:57 -08:00
makdharma
e1a7283dd3
moved Next implementation to CC file.
2018-02-26 14:55:56 -08:00
makdharma
8065000697
Remove "final" keyword and make methods protected.
...
This adds extensibility to the API and makes custom implementation
of the server possible.
2018-02-23 14:51:46 -08:00
apolcyn
dc46c7f565
Merge pull request #14487 from apolcyn/port_platform_sanity
...
Sanity check for inclusion of port_platform.h
2018-02-23 12:10:45 -08:00
Muxi Yan
5699cfcd45
Merge pull request #14318 from muxi/add-logging-interface
...
Add mobile log interface to ObjC
2018-02-23 10:04:40 -08:00
Alexander Polcyn
db3e898a98
Add a sanity check for inclusion of port_platform.h
2018-02-23 09:59:53 -08:00
Muxi Yan
1a6d3a529b
Add comments to the interface
2018-02-22 14:59:17 -08:00
Alexander Polcyn
1bc550132a
Fix ruby artifact build
2018-02-21 15:01:33 -08:00
Juanli Shen
84f94c17aa
Merge pull request #14438 from grpc/revert-14412-revert-14376-revert-14356-revert-13671-grpclb_reresolution
...
Reintroduce grpclb re-resolution with fix
2018-02-19 19:19:10 -08:00
Tobias Jungel
f258b56f43
fix non-virtual-dtor
...
compiling with -Wnon-virtual-dtor works with this patch
2018-02-16 12:42:05 +01:00
Muxi Yan
34e8e0a640
Merge pull request #14210 from muxi/move-cpp-headers
...
gRPC C++ Public Header Directory Change
2018-02-15 16:46:43 -08:00
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
2018-02-15 14:49:34 -08:00
Juanli Shen
87c6504ca9
Revert "Revert "Revert "Revert "grpclb re-resolution""""
2018-02-15 09:42:45 -08:00
David G. Quintas
62a38fd028
Merge pull request #14412 from grpc/revert-14376-revert-14356-revert-13671-grpclb_reresolution
...
Revert "Revert "Revert "grpclb re-resolution"""
2018-02-13 10:36:46 -08:00
Noah Eisen
8d1b761296
Merge pull request #14405 from ncteisen/api-guarantees
...
Add Details about API Guarantees Surrounding grpc_arg_pointer_vtable
2018-02-13 09:59:59 -08:00
ncteisen
ac86f04373
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-02-13 09:27:35 -08:00
David G. Quintas
f66cf0d70d
Revert "Revert "Revert "grpclb re-resolution"""
2018-02-12 20:55:27 -08:00
Vijay Pai
1d168541fd
Merge pull request #14407 from vjpai/gpr_review_thd
...
GPR review: Internalize most of gpr_thd (but not ID/current ID)
2018-02-12 20:06:56 -08:00
Vijay Pai
236d9f2a28
Address reviewer feedback.
2018-02-12 18:24:39 -08:00
ncteisen
e83c234940
Add details about API gaurantees
2018-02-12 13:28:36 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Juanli Shen
776490af0e
Revert "Revert "grpclb re-resolution""
2018-02-12 11:35:40 -08:00
Muxi Yan
86accb1768
Merge pull request #14384 from grpc/sc-experimental
...
Mark stream compression as experimental
2018-02-12 10:02:26 -08:00
Muxi Yan
86e6cc160b
polish
2018-02-08 16:14:09 -08:00
Vijay Pai
0693b72b7f
Merge branch 'master' into gpr_review
2018-02-08 15:18:13 -08:00
Muxi Yan
bead9649e1
Mark stream compression as experimental
2018-02-08 15:04:24 -08:00
Vijay Pai
0024ebc852
Merge pull request #14196 from vjpai/gpr_review_tls
...
GPR review: Privatize thread-local storage headers
2018-02-08 13:24:39 -08:00
Vijay Pai
18b9133f31
Merge branch 'master' into gpr_review
2018-02-08 12:18:09 -08:00
Vijay Pai
239b7d4b0b
Merge branch 'master' into gpr_review
2018-02-08 11:08:41 -08:00
Vijay Pai
25b61fd60e
Merge branch 'master' into gpr_review_tls
2018-02-08 10:26:25 -08:00
Vijay Pai
573717bc8d
Merge branch 'master' into gpr_review3
2018-02-08 10:21:11 -08:00
Vijay Pai
7bd5e18fea
Merge pull request #14197 from vjpai/gpr_review_host_port
...
GPR review: privatize host_port.h
2018-02-08 10:14:29 -08:00
Vijay Pai
32748c1b2a
Merge branch 'master' into gpr_review3
2018-02-08 10:06:23 -08:00
yang-g
89464de6f0
Trim backup slice when it is larger than needed
2018-02-07 16:03:57 -08:00
Vijay Pai
b1ef84a7fd
Merge branch 'master' into gpr_review_host_port
2018-02-07 11:12:35 -08:00
Juanli Shen
aa7dc296b6
Revert "grpclb re-resolution"
2018-02-07 09:50:08 -08:00
Muxi Yan
fb369d9567
Merge pull request #14343 from muxi/revert-12708
...
Revert breaking API in #12708
2018-02-06 20:40:21 -08:00
Muxi Yan
cda058de8e
build projects
2018-02-06 18:17:42 -08:00
Muxi Yan
99f1a8f467
Remove compression_ruby
2018-02-06 18:17:42 -08:00
Muxi Yan
6f0b195d20
Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_*
2018-02-06 18:17:42 -08:00
Juanli Shen
33cdd57ab7
grpclb in charge of its re-resolution
2018-02-06 17:03:53 -08:00
Vijay Pai
b7bf76851d
Merge pull request #14323 from vjpai/cq_comments
...
C++: Properly comment CQ ok, Shutdown, contract, and effect of TryCancel
2018-02-06 13:12:38 -08:00
Vijay Pai
e81ead58fb
Improve CQ and cancellation comments
2018-02-06 11:46:17 -08:00
Vijay Pai
dcd5ef3ad8
Deprecate GenericStub()::Call for multi-threaded use
2018-02-05 13:08:44 -08:00
Muxi Yan
3e440f3500
Add MobileLog support
2018-02-05 11:27:00 -08:00
Vijay Pai
73a50abd1d
Merge pull request #14286 from dgquintas/fix_compresion_alg_accessors
...
Fix compression algorithm accessors
2018-02-04 23:39:07 -08:00
Vijay Pai
1acfaca3e6
Merge branch 'master' into gpr_review_host_port
2018-02-02 11:21:07 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
Vijay Pai
4c0640ebd6
Merge branch 'master' into gpr_review3
2018-02-02 09:12:11 -08:00
Vijay Pai
e5b0a50416
Merge pull request #14015 from vjpai/alarm
...
Remove alarm from core, implement in C++ layer only
2018-02-02 08:44:20 -08:00
David Garcia Quintas
a21ab2ba29
Fix compression algorithm accessors
2018-02-01 16:24:00 -08:00
David Garcia Quintas
f25126cffb
PR comments
2018-01-31 20:33:03 -08:00
David Garcia Quintas
3ee68da517
PR Comments
2018-01-30 15:45:50 -08:00
David Garcia Quintas
7896b62f2d
DNS cooldown mechanism
2018-01-29 17:14:32 -08:00
ncteisen
bdb746ec00
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-01-29 10:58:59 -08:00
Jan Tattermusch
97209aee1a
fix warning & typo
2018-01-26 09:57:41 +01:00
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
2018-01-25 23:06:24 -08:00
Vijay Pai
b6cf123717
Privatize thread-local storage headers
2018-01-25 22:12:28 -08:00
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
2018-01-25 20:11:38 -08:00
Muxi Yan
fd900e09fb
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2018-01-24 16:16:23 -08:00
ncteisen
bd0c019c39
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-01-23 08:58:11 -08:00
Mark D. Roth
62569dd978
Fix arena to return aligned memory.
2018-01-22 12:51:03 -08:00
Vijay Pai
e1e7042919
Restructure to simplify, harden, and avoid forward declaration
2018-01-21 21:04:38 -08:00
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
2018-01-21 21:03:56 -08:00
Muxi Yan
fb061c329a
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2018-01-19 12:20:15 -08:00
Vijay Pai
69d3e0984d
Merge pull request #13815 from vjpai/catcher
...
C++: Catch exceptions from sync method handlers rather than crashing server
2018-01-15 10:54:18 -08:00
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
2018-01-12 10:16:22 +01:00
Vijay Pai
4db3b7413d
Merge pull request #13697 from vjpai/nostdthread
...
Stop using std::thread in C++ library since it can trigger exceptions
2018-01-11 13:53:37 -08:00
Vijay Pai
1d91362f81
exec_ctx_fwd.h should never have been in public headers
2018-01-10 15:59:05 -08:00
Vijay Pai
b4b0ac7049
Resolve leak by freeing request payload if resources exhausted
2018-01-10 14:40:40 -08:00
Vijay Pai
fd4884a768
Address review comments
2018-01-10 18:47:09 +00:00
ncteisen
b04efac6a5
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-01-09 13:49:37 -08:00
Vijay Pai
7500577593
Address review feedback; stop using result of 'what'
2018-01-09 10:55:37 -08:00
Yuchen Zeng
32d077e7e1
Merge pull request #13922 from y-zeng/openssl_1_1_0
...
Silence openssl 1.1.0 warnings
2018-01-08 17:19:51 -08:00
Vijay Pai
ab00654784
Tag new #else and #endif blocks with comments
2018-01-08 15:12:55 -08:00
Vijay Pai
9809ce38e9
Use appropriate preprocessor guards to allow building without exceptions
2018-01-08 15:12:55 -08:00
Vijay Pai
8fc3715a17
Catch exceptions from sync method handlers without crashing server
2018-01-08 15:12:55 -08:00
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
2018-01-08 10:02:38 -08:00
Vijay Pai
91bab37129
When building with bazel on a Mac, workaround bazelbuild/bazel#4341
2018-01-05 09:59:34 -08:00
Yuchen Zeng
c6ae9b562b
Silence openssl 1.1.0 warnings
2018-01-04 16:29:06 -08:00
Vijay Pai
832bd00163
Merge pull request #13874 from vjpai/allow_no_message
...
C++: Allow no message on sync unary call, just like async
2018-01-02 15:40:34 -08:00
Yash Tibrewal
11d1ac4c0c
Add an exception in TLS to use pthread library instead of __thread for Android NDK with GCC as the compiler
2017-12-28 15:37:03 -08:00
ncteisen
7d9b6358b5
Initial commit
...
Picks up work from https://github.com/grpc/grpc/pull/10259 .
A merge was impossible due to the many sweeping changed that
have occured since I last touched that PR (c++-ization, exec_ctx,
reorganitation of filters, etc).
2017-12-28 15:09:17 -08:00
Vijay Pai
d5730c6c22
Allow no message on sync unary call, just like async
2017-12-22 23:48:58 -08:00
Muxi Yan
032e9b32dc
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2017-12-13 14:04:45 -08:00
ncteisen
934a3cebc4
Allow forward declaration of log args
2017-12-13 11:15:50 -08:00
yang-g
30ced5d09f
Add comments for AsyncGenericService
2017-12-12 11:45:32 -08:00
yang-g
9c5d8267cd
resolve comments
2017-12-11 17:00:33 -08:00
yang-g
69aec17562
Add dummy operator delete to make VS2015 not complain.
2017-12-11 15:52:50 -08:00
Muxi Yan
99024d6436
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2017-12-08 14:02:18 -08:00
Noah Eisen
5b1a66cef1
Merge pull request #13413 from ncteisen/surfacing-error-details-wrapped
...
Surface Error String to Wrapped Languages
2017-12-08 13:44:37 -08:00
ncteisen
6193c63dab
Reviewer feedback
2017-12-08 10:49:31 -08:00
Muxi Yan
9c02a3cca1
Do not separate message/stream compression levels
2017-12-07 19:02:22 -08:00
Muxi Yan
6043006af1
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2017-12-06 22:29:12 -08:00
Muxi Yan
fc38142db6
Merge commit 'b0bad8f^' into fix-stream-compression-config-interface
2017-12-06 22:02:08 -08:00
Muxi Yan
38fcd0c6c3
clang-format
2017-12-06 18:55:05 -08:00
Muxi Yan
4a117f0be7
Merge e759d2a^
2017-12-06 18:47:16 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
a3df36cc25
Merge pull request #13058 from yashykt/execctx
...
All instances of exec_ctx being passed around in src/core removed
2017-12-05 21:19:52 -08:00
Vijay Pai
9dbb6e3a28
Merge pull request #13559 from dmaclach/threadnames
...
Add thread naming support on platforms that support it.
2017-12-05 19:00:11 -08:00
Yash Tibrewal
73bb67d054
Merge master into execctx
2017-12-05 17:49:11 -08:00
Vijay Pai
30ccc944d6
Update port_platform.h
2017-12-05 18:30:52 -06:00
Mark D. Roth
6fa206de8f
Merge pull request #13336 from markdroth/server_connection_timeout
...
On server, include receiving HTTP/2 settings in handshake timeout
2017-12-04 14:28:49 -08:00
ncteisen
11f6780bfd
Add comment with API
2017-12-04 13:29:33 -08:00
ncteisen
64e0b10a97
Variable name consistency
2017-12-04 13:26:26 -08:00
ncteisen
b9cff78f9e
Reviewer feedback
2017-12-04 13:17:01 -08:00
Noah Eisen
0d7f5e77c0
No null string ctor
2017-12-04 12:45:15 -08:00
ncteisen
74c106eff3
Add error string to C++
2017-12-04 12:45:15 -08:00
yashkt
d9f6407190
Merge master into execctx after removal of assert in tls_gcc
2017-12-04 09:41:12 -08:00
Vijay Pai
7d7babb689
Merge branch 'master' into threadnames
2017-12-02 22:20:50 -08:00
Yash Tibrewal
e1e7db029f
Remove asserts from tls_gcc.h
2017-12-01 13:01:01 -08:00
Mark D. Roth
e109ddf89f
Merge remote-tracking branch 'upstream/master' into server_connection_timeout
2017-12-01 08:56:25 -08:00
Vijay Pai
764ef8c797
Merge pull request #13575 from vjpai/dehist
...
Move histogram to test/core/util
2017-11-30 18:02:44 -08:00
Yash Tibrewal
36522e9f80
Merge master after no Extern C changes
2017-11-30 17:47:36 -08:00
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
2017-11-30 15:02:04 -08:00