Commit Graph

1171 Commits

Author SHA1 Message Date
Yang Gao 3cb89bcf4b Merge pull request #8281 from gcasto/cronet_cpp_api
Add C++ Api For Cronet
2016-10-24 15:44:55 -07:00
Sree Kuchibhotla f72ec6b37b Move thread_manager.h header from server.h to server_cc.cc 2016-10-24 11:09:43 -07:00
Sree Kuchibhotla 77c483b707 remove unused fields 2016-10-24 11:01:02 -07:00
Sree Kuchibhotla 85399f0824 clang formatting fixes 2016-10-24 09:41:20 -07:00
Garrett Casto 07ecd9d08c Add copyright header 2016-10-21 14:31:39 -07:00
Craig Tiller 153eaa7aba s/BUFFER_POOL/RESOURCE_QUOTA/g 2016-10-21 13:52:36 -07:00
Garrett Casto a2a325048d Clang format 2016-10-20 16:51:04 -07:00
Sree Kuchibhotla cb18d7a6b6 make gcc 4.6 and earlier versions happy 2016-10-20 12:39:30 -07:00
Sree Kuchibhotla 6135535ca7 Minor changes and called generate_projects.sh again 2016-10-20 11:17:22 -07:00
Craig Tiller 6952b213b7 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 13:36:59 -07:00
Sree Kuchibhotla da069a506d Rename sync_methods_ to sync_requests_ 2016-10-19 11:22:29 -07:00
Yuchen Zeng 654aa869d2 Merge remote-tracking branch 'upstream/master' into reflection_header 2016-10-18 16:29:34 -07:00
Sree Kuchibhotla 385c9b2f05 Address code review comments 2016-10-18 16:26:38 -07:00
Craig Tiller afcc8752f3 clang-format 2016-10-18 16:10:06 -07:00
Sree Kuchibhotla 556aebb1e0 Merge branch 'master' into rpc_mgr 2016-10-18 14:59:24 -07:00
Sree Kuchibhotla e4eb51f20c reorder params in Server 2016-10-18 11:51:28 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Yuchen Zeng 324cc66128 Fix missing dependencies 2016-10-17 11:27:35 -07:00
Garrett Casto 7ec31718f4 Merge remote-tracking branch 'upstream/master' into cronet_cpp_api 2016-10-17 09:56:43 -07:00
Yuchen Zeng 169c985f67 Remove generated pb files 2016-10-14 15:58:09 -07:00
Yuchen Zeng de3daf5d63 More interfaces for grpc_socket_mutator 2016-10-13 17:26:26 -07:00
yang-g 4287998855 Add a test spouse for server context 2016-10-13 16:45:53 -07:00
Sree Kuchibhotla d39f40da9e Fix include files 2016-10-13 15:21:14 -07:00
Sree Kuchibhotla 8f7739bcd6 Rename GrpcRpcManager -> ThreadManager 2016-10-13 15:12:55 -07:00
Sree Kuchibhotla 96766195a6 Refactor SyncServerSettings code 2016-10-13 12:42:54 -07:00
Sree Kuchibhotla e4996d6c43 Merge branch 'master' into rpc_mgr 2016-10-13 11:18:09 -07:00
Craig Tiller fb324c4d39 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-12 13:18:56 -07:00
Jan Tattermusch fad04cc4ad Merge pull request #8354 from grpc/v1.0.x
Upmerge doc changes from v1.0.x
2016-10-12 18:44:15 +02:00
Jan Tattermusch 9cece7ca99 Update README.md 2016-10-12 18:01:41 +02:00
Garrett Casto 37e3cc0c2a Remove stale comment 2016-10-10 16:38:07 -07:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Mark D. Roth 70c0b32c0f Merge pull request #8219 from markdroth/fail_fast
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-10-07 13:06:59 -07:00
Mark D. Roth 6f6f94fc92 Fix header. 2016-10-06 12:16:31 -07:00
Mark D. Roth 4bcdd73df6 Merge remote-tracking branch 'upstream/master' into fail_fast 2016-10-06 07:56:05 -07:00
Garrett Casto 931a26bf5b Add C++ Api 2016-10-04 09:18:29 -07:00
Sree Kuchibhotla 5f806d321a Merge branch 'master' into rpc_mgr 2016-10-03 15:23:02 -07:00
Sree Kuchibhotla 33382d0f53 Cleanup server_cc.cc 2016-10-03 15:15:49 -07:00
Sree Kuchibhotla acd64db4d9 Minor changes 2016-10-03 14:29:47 -07:00
Craig Tiller 1bb0ce5e23 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-03 12:58:02 -07:00
Sree Kuchibhotla 384eea80ba Merge remote-tracking branch 'upstream/master' into rpc_mgr 2016-10-03 09:20:52 -07:00
Mark D. Roth 4944ee23df Merge remote-tracking branch 'upstream/master' into fail_fast 2016-09-30 10:47:24 -07:00
Sree Kuchibhotla 3b2bc2deb1 tsan failures 2016-09-29 17:53:29 -07:00
Stanley Cheung 146a3773da PHP Proto3: upgrade protobuf to v3.1.0 and regenerate reflection.proto 2016-09-29 17:26:50 -07:00
Craig Tiller e2180f069d Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-09-29 13:52:51 -07:00
Yang Gao d24b822d73 Merge pull request #8046 from gislan/master
Add method for creating insecure channel from FD with custom arguments using C++ API.
2016-09-29 13:39:12 -07:00
Nicolas Noble ef49a5d217 Merge pull request #7833 from sreecha/fix_channel_from_fd_api
Remove completion queue parameter from `grpc_server_add_insecure_channel_from_fd` API
2016-09-29 11:16:55 -07:00
Craig Tiller d88c461217 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-29 10:35:38 -07:00
Craig Tiller af541d8232 Fix conflicting filename 2016-09-28 17:32:09 -07:00
Craig Tiller 0c80c7d12c Collecting failure status progress 2016-09-28 16:30:55 -07:00
Craig Tiller db1a5cce47 Buffer pool C++ wrapper 2016-09-28 14:22:12 -07:00
Mark D. Roth 59c9f904bf Rename GRPC_INITIAL_METADATA_IGNORE_CONNECTIVITY to
GRPC_INITIAL_METADATA_WAIT_FOR_READY.
Also add a flag to indicate whether wait_for_ready was explicitly set by
the application.
2016-09-28 13:33:21 -07:00
Mark D. Roth 5db24978b6 Merge remote-tracking branch 'upstream/master' into fail_fast 2016-09-28 13:21:31 -07:00
Sree Kuchibhotla a7a21d2049 Make sync server settings configurable 2016-09-28 12:38:01 -07:00
Sree Kuchibhotla 892dbf4d95 Make settings configurable 2016-09-27 19:42:27 -07:00
Mark D. Roth 9477724003 Change C++ API to expose wait_for_ready instead of fail_fast. 2016-09-27 13:07:00 -07:00
Sree Kuchibhotla e2ac10627d new value 2016-09-26 19:12:52 -07:00
Sree Kuchibhotla f4c6e43ff2 fine tune the cq deadline value (temporarily) 2016-09-26 19:05:28 -07:00
Sree Kuchibhotla 2d08f5bc8d fix the plugin initialization order in ServerBuilder 2016-09-26 16:11:02 -07:00
Sree Kuchibhotla 862acb9f3a fix shutdown crash 2016-09-26 09:48:48 -07:00
Yuchen Zeng ef394a954a Fix typo 2016-09-23 14:04:33 -07:00
Yuchen Zeng 27e96f9beb Add comments about how to re-generate reflection proto files 2016-09-22 20:56:46 -07:00
Sree Kuchibhotla 7974232f41 Merge branch 'master' into rpc_mgr 2016-09-21 11:17:41 -07:00
Sree Kuchibhotla 4028d2c11b More fixes 2016-09-21 10:45:33 -07:00
Sree Kuchibhotla 4306eeee39 Minor changes 2016-09-21 09:56:29 -07:00
Sree Kuchibhotla aabada97a1 One RPCMgr instance per CQ 2016-09-21 01:39:13 -07:00
Mark D. Roth abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Mark D. Roth 0e256107e8 Code review changes. 2016-09-15 09:01:05 -07:00
Craig Tiller a51f54192a Merge pull request #7559 from dgquintas/codegen_cleanse
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
Mark D. Roth f5afcd9f65 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-13 14:57:50 -07:00
Sree Kuchibhotla 765e6542b9 Merge branch 'master' into fix_channel_from_fd_api 2016-09-09 11:33:59 -07:00
Sree Kuchibhotla d0989101f5 Merge branch 'master' into fix_channel_from_fd_api 2016-09-09 11:31:25 -07:00
Adam Czachorowski dbdc6e4ae6 Add method for creating insecure channel from FD with custom arguments
using C++ API.

This was already supported in C API.
2016-09-09 11:32:09 +02:00
makdharma 93b09478f0 Merge pull request #8024 from makdharma/cpp_cacheable
add cacheable option to client_context
2016-09-08 08:19:10 -07:00
Mark D. Roth ebfcd97940 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-08 07:16:34 -07:00
Nicolas "Pixel" Noble 5928bff0c7 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-09-08 01:58:49 +02:00
Makarand Dharmapurikar 2b98b77225 add cacheable option to client_context 2016-09-07 14:24:15 -07:00
Mark D. Roth 7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
Mark D. Roth 6980362c4e Allow setting max send message size via C++ ServerBuilder API. 2016-09-06 08:15:36 -07:00
David Garcia Quintas e44902ecc9 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-02 15:27:33 +02:00
kpayson64 cfa18475f6 Merge pull request #7918 from y-zeng/server_builder
Add ServerBuilderPlugin::UpdateChannelArguments
2016-09-01 12:53:58 -07:00
David Garcia Quintas d3dee72437 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-01 20:18:41 +02:00
Mark D. Roth 7331a7aa62 Change wrapped languages to use the new channel arg macro name. 2016-08-31 13:09:27 -07:00
David Garcia Quintas 468e16d97a server builder include fix 2016-08-31 13:29:40 +02:00
David Garcia Quintas 621e2b1a49 Merge with newly added/modified files 2016-08-30 09:27:19 -07:00
David Garcia Quintas f3581bf90a Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-30 04:45:50 -07:00
Yuchen Zeng 11d3c8f3d4 Add ServerBuilderPlugin::UpdateChannelArguments 2016-08-29 18:19:03 -07:00
Nicolas Noble 668bf881a9 Merge pull request #7802 from nicolasnoble/upmerge-from-v1.0.x
Upmerge from v1.0.x
2016-08-23 14:59:39 -07:00
Nicolas "Pixel" Noble d25c1d2a6c Removing unused header. 2016-08-23 21:28:33 +02:00
Nicolas "Pixel" Noble 455c5d45f0 Untangling secure and unsecure. 2016-08-23 20:39:49 +02:00
Sree Kuchibhotla 509ee4c111 Remove the API to return the underlying completion queue. This API is no
longer needed
2016-08-22 17:48:41 -07:00
Sree Kuchibhotla cc357bf74e Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API 2016-08-22 16:08:50 -07:00
Sree Kuchibhotla 3ea9e247e0 some refactoring 2016-08-22 14:15:43 -07:00
Craig Tiller 102fa966b6 Rename some files to avoid conflicting .obj files on Windows 2016-08-22 13:56:36 -07:00
Sree Kuchibhotla 86edf01593 Merge 2016-08-22 10:01:35 -07:00
Vijay Pai c4752d8857 Remove this-> 2016-08-18 10:06:38 -07:00
Mark D. Roth 2665bdd6d2 Reduce allocations associated with src/cpp/util/byte_buffer.cc. 2016-08-18 08:02:24 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
Mark D. Roth 00e9c3bb3b clang-format 2016-08-03 10:48:30 -07:00
Jorge Canizales 3df9bdf880 Update generated files with new protobuf version
Also make the script fetch protoc from the usual place.
2016-08-03 10:48:23 -07:00
Mark D. Roth 3b4f99549d Update destroy_call_elem args from merge. 2016-08-02 14:17:11 -07:00
David Garcia Quintas 1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
Mark D. Roth 3ac6fc1b97 Merge branch 'filter_call_init_failure' into filter_api 2016-08-02 10:07:48 -07:00
Sree Kuchibhotla e3a282e90d Merge branch 'master' into rpc_mgr 2016-07-29 09:54:24 -07:00
Nicolas Noble 5a36325896 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:32:25 -07:00
Nicolas Noble e51b9d2e39 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:28:17 -07:00
Mark D. Roth f9d8e9064b Code review changes. 2016-07-28 09:31:56 -07:00
David Garcia Quintas 61887dcf46 scrubbed codegen/sync.h 2016-07-27 23:17:34 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
David Garcia Quintas 1399e466b0 removed codegen/time.h 2016-07-27 20:31:55 -07:00
David Garcia Quintas 3b31fdf77b removed codegen/byte_buffer.h 2016-07-27 18:17:12 -07:00
David Garcia Quintas 6b11462da1 removed codegen/alloc.h 2016-07-27 14:49:53 -07:00
David Garcia Quintas 3922838613 Added missing var initialization 2016-07-22 13:13:31 -07:00
David Garcia Quintas 440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
Yuchen Zeng 12c3811167 Use compiling instead of making 2016-07-20 17:54:37 -07:00
Yuchen Zeng 6b88b22d9e Add comments for GRPC_NO_GENERATED_CODE 2016-07-19 19:12:46 -07:00
Sree Kuchibhotla f95f125506 Minor changes 2016-07-19 17:47:46 -07:00
Sree Kuchibhotla bb5519f5a5 More changes 2016-07-19 11:00:39 -07:00
Sree Kuchibhotla 0ba41907a2 Minor changes to GrpcRpcManager 2016-07-19 09:28:39 -07:00
Sree Kuchibhotla 8600438d54 Add more functionality (no cq integration yet) and add a dummy test 2016-07-19 02:00:50 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Sree Kuchibhotla 9e656a4340 Initial shell 2016-07-18 13:02:43 -07:00
Mark D. Roth 30a4a544be Merge branch 'filter_call_init_failure' into filter_api 2016-07-15 09:16:05 -07:00
yang-g 807387641f prevent spurious wake up and unstarted/already shutdown server 2016-07-14 22:59:39 -07:00
yang-g 6ec11f2acd prevent spurious wake up and unstarted/already shutdown server 2016-07-14 14:53:35 -07:00
yang-g 05573f1692 Make Server::Wait work for async only server. 2016-07-13 22:23:19 -07:00
Mark D. Roth 14bed44db2 Merge remote-tracking branch 'upstream/master' into filter_api 2016-07-12 14:09:41 -07:00
yang-g e89dc6ceb6 Make Server::Wait work for async only server. 2016-07-11 15:48:01 -07:00
Mark D. Roth 98aa0c13f0 Merge branch 'filter_call_init_failure' into filter_api 2016-07-01 14:17:55 -07:00
David Garcia Quintas 6721d4f0f1 Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
David Garcia Quintas 4281272389 Updated git clone URL 2016-06-29 17:39:07 -07:00
Mark D. Roth 97b173dfb8 Addressed reviewer comments. 2016-06-29 15:07:35 -07:00
Mark D. Roth ab950ee7c5 Move channel_filter.h from include/ tree to src/ tree. 2016-06-29 14:51:53 -07:00
Mark D. Roth bd3e3189d6 clang-format 2016-06-29 08:01:55 -07:00
Mark D. Roth 89ebe55985 Merge branch 'filter_call_init_failure' into filter_api 2016-06-29 07:50:18 -07:00
Mark D. Roth 07cd9c9e06 Initial attempt at a C++ wrapper for the C grpc_transport_op and
grpc_transport_stream_op structs.
2016-06-27 10:14:38 -07:00
Jan Tattermusch b6163dfb4a Merge pull request #6352 from ctiller/error
Unifying error handling within core
2016-06-17 18:50:55 -07:00
Vijay Pai ddf694cc62 Merge branch 'master' into wheezy 2016-06-17 13:41:38 -07:00
Craig Tiller bc4c3e3a79 Merge github.com:grpc/grpc into error 2016-06-16 16:17:56 -07:00
Mark D. Roth 9fe5ef5f9d Removed unnecessary comments. Added connection counter to test. 2016-06-16 14:26:04 -07:00
Mark D. Roth f5bbff9c8e Fix portability issues. 2016-06-16 12:56:07 -07:00
Mark D. Roth f9c1f7a412 clang-format 2016-06-16 10:57:28 -07:00
Mark D. Roth c008b33c18 Pass channel args to ChannelData ctor and ChannelData to CallData ctor. 2016-06-16 10:39:39 -07:00
Nicolas Noble 1e52b1aadf Merge pull request #6876 from mdyring/master
Fix scope problem when GPR_SUPPORT_CHANNELS_FROM_FD is not defined
2016-06-16 10:23:40 -07:00
Mark D. Roth c459ecf7c9 - fix build problems
- make changes suggested by reviewer
- add test (not working yet)
2016-06-16 09:17:49 -07:00
Vijay Pai 6b668cc93f Remove range-based for, comparisons to nullptr 2016-06-16 07:49:36 +00:00
Vijay Pai 4e1a883a5f Digraph 2016-06-16 07:32:42 +00:00
Vijay Pai 62eb1c7908 Merge branch 'wheezy' of github.com:vjpai/grpc into wheezy 2016-06-16 00:24:10 -07:00
Vijay Pai 4425828d1d Should not explicitly initialize these pointers to nullptr in gcc-4.4 case
because nullptr assignment actually requires the calling of a constructor.
As a result, the order in which these nullptr initializations take place
is not defined with respect to other initializations.
A pointer that is left without explicit initialization automatically
gets nullptr anyway, so just don't explicitly initialize these.
2016-06-16 06:47:10 +00:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Mark D. Roth ec0bc8b4ed Initial attempt at a C++ API for defining channel filters. 2016-06-15 14:02:57 -07:00
Craig Tiller 13c0940f66 Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout 2016-06-15 09:41:33 -07:00
Jan Tattermusch 136307756c Merge pull request #6438 from y-zeng/reflection_separate_lib
Proto server reflection
2016-06-13 14:16:06 -07:00
Martin Dyring-Andersen 0de6cea207 Fix scope problem when GPR_SUPPORT_CHANNELS_FROM_FD is not defined 2016-06-10 20:59:44 -04:00
Vijay Pai 15855f3e7f Switch server builder plugin API to something that will work with gcc4.4 2016-06-10 12:25:32 -07:00
Vijay Pai eac07c3cc8 WIP 2016-06-10 01:52:20 -07:00
Craig Tiller 05bec5c0ab Fix uninitialized variable 2016-06-09 23:01:24 -07:00
Vijay Pai b645a2d3ce Remove another range-based for
Do not make explicit comparisons against nullptr; only use
implicit typecast to bool
2016-06-09 18:39:06 -07:00
Jan Tattermusch 1bc2976a0f Merge pull request #6481 from dgquintas/compression_md_level_bis
Allow servers to select compression level via initial MD & overall compression cleanup
2016-06-08 19:17:20 -07:00
Jan Tattermusch b81f172206 Merge pull request #6610 from xyzzyz/external_fd_fresh
Add support for communication using existing FD (for client and server)
2016-06-08 19:16:40 -07:00
David Garcia Quintas dd385b6a19 Merge branch 'master' of github.com:grpc/grpc into core_codegen_be_public 2016-06-07 18:51:36 -07:00
Adam Michalik 4ad746e4e0 clang-format, fix headers, windows fixes 2016-06-07 15:09:19 -07:00
Adam Michalik b97e2d145e Add C++ support for using external FD 2016-06-07 15:09:19 -07:00
Yuchen Zeng d23710787b Merge remote-tracking branch 'upstream/master' into reflection_separate_lib 2016-06-07 15:00:52 -07:00
Yuchen Zeng 7ae31a8898 Add more comments, fix format issues 2016-06-06 14:35:51 -07:00
Yuchen Zeng 0601df3a04 Move reflection src/hdr to src/cpp/ext include/grpc++/ext 2016-06-06 13:08:06 -07:00
David Garcia Quintas 55c08f81cf Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-03 14:18:01 -07:00
Craig Tiller fa96d86a99 Fix comments 2016-05-21 12:39:56 -07:00
Craig Tiller 8a7fe1a0ef Fix crash 2016-05-20 11:17:20 -07:00
Craig Tiller e004958fd6 Fix formatting, mem leak, stall 2016-05-20 10:31:09 -07:00
Craig Tiller 20431a8618 Fix merge 2016-05-20 10:02:07 -07:00
Craig Tiller 0e314bccff Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into test_affine 2016-05-20 10:00:04 -07:00
Craig Tiller aae6c2cb96 Fix server plugin test 2016-05-20 08:58:30 -07:00
Craig Tiller 3eee9b4ace Mark sync cq as non-listening when it is 2016-05-19 11:28:41 -07:00
David Garcia Quintas a20a2ad41b moved core_codegen from src/cpp/... to include/grpc++/... 2016-05-19 11:02:01 -07:00
David Garcia Quintas 2d02456e78 got rid of grpc_compression_options 2016-05-17 23:24:39 -07:00
David Garcia Quintas 9e9f7b62c7 Refactorings and renamings related to compression.
Also added levels to the channel args options.
2016-05-16 22:06:54 -07:00
Sree Kuchibhotla 8c34e7c3f1 Fix a typo 2016-05-16 19:26:22 -07:00
Sree Kuchibhotla 98a185a72e Change error to warning since we do not have a good way to determine
whether the server is sync or async
2016-05-16 18:45:15 -07:00
Sree Kuchibhotla 4790263c5f Merge branch 'master' into server_channel_affinity 2016-05-16 11:06:30 -07:00
Craig Tiller f7a670fe6d Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine 2016-05-14 13:05:41 -07:00
David Garcia Quintas 183ba02ce7 Renamed some defines 2016-05-12 17:12:34 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
Yuchen Zeng 26a1785cfc Resolve conflicts 2016-05-06 15:50:15 -07:00
Yuchen Zeng 7d099a5c90 Fix naming and comment problems 2016-05-06 13:21:36 -07:00
Yuchen Zeng 3b8f3354de Add plugins at the time of static initialization 2016-05-03 12:18:13 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
David Garcia Quintas 1b2db6333d Moved protos out of core_codegen interface 2016-04-27 15:09:11 -07:00
Sree Kuchibhotla 30499760db Merge branch 'master' into server_channel_affinity 2016-04-26 11:27:14 -07:00
Craig Tiller 7beea147e5 Merge github.com:grpc/grpc into strong-includes 2016-04-21 17:07:36 -07:00
Sree Kuchibhotla 01907123f6 generate_projects.sh and fix copyright year 2016-04-21 15:09:13 -07:00
Sree Kuchibhotla 7def036085 Add a safety check to ensure atleast one of the completion queues is
listening completion queue (i.e frequently polled)
2016-04-21 14:54:32 -07:00
Sree Kuchibhotla 1f5e262589 Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier 2016-04-21 12:28:15 -07:00
Deepak Lukose dba4c5fd01 Add various options to verify ssl/tls client cert including letting the
application handle the authentication.
2016-04-19 15:02:06 -07:00
Craig Tiller 3ab2fe0094 Rollup of changes from the latest import 2016-04-11 20:11:18 -07:00
Jan Tattermusch abb4f5f3ab Merge pull request #6070 from ctiller/head-of-line-blocking
Fix a head of line blocking issue in the C++ server
2016-04-05 14:31:33 -07:00
Craig Tiller 06cb1a9d93 Initial interface rework to allow knowing whether to pull payload at registration, not at request time 2016-04-04 08:10:47 -07:00
Craig Tiller 399b3c42de Fix client_crash_test, implement idempotency, fail_fast for C++ 2016-04-01 12:24:18 -07:00
Craig Tiller 64a12c55df Merge github.com:grpc/grpc into copyright-fix 2016-03-31 07:49:58 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 3bd9695939 Merge github.com:grpc/grpc into idempotent 2016-03-28 12:43:02 -07:00
Craig Tiller b7f3f6eec4 Fix copyright 2016-03-25 17:13:09 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
Craig Tiller 44654553de Merge github.com:grpc/grpc into idempotent 2016-03-21 09:04:06 -07:00
Jan Tattermusch dadb32a01f Merge pull request #5843 from dgquintas/fix-grpc-lib
fixed multiple initialization of globals
2016-03-20 15:41:50 -07:00
Jan Tattermusch 8bce393aeb Merge pull request #5819 from dgquintas/compression_levels
Implemented compression level algorithms properly
2016-03-18 16:46:21 -07:00
David Garcia Quintas 146070db8d fixed multiple initialization of globals 2016-03-18 15:53:28 -07:00
Yuchen Zeng d85ef06064 Doc Fixit: src/cpp/README.md
Replace liquid templates with relative links.
2016-03-18 11:10:13 -07:00
David Garcia Quintas 13c2f6e69d Implemented compression level algorithms properly (as a function of the accepted algorithms by the call's peer. 2016-03-17 22:51:52 -07:00
Craig Tiller c65af4d784 Merge github.com:grpc/grpc into idempotent 2016-03-17 07:44:17 -07:00
Craig Tiller 4f7ffa05a4 Merge github.com:grpc/grpc into idempotent 2016-03-16 07:58:20 -07:00
David Garcia Quintas cd21266b5f Merge branch 'master' of github.com:grpc/grpc into codegen_lib 2016-03-15 17:10:45 -07:00
vjpai ee6902bcef Merge branch 'master' into revert-5599-revert-5572-srv_ctx 2016-03-14 09:47:40 -07:00
David Garcia Quintas aca123316b removed spurious namespace qualification 2016-03-09 23:56:54 -08:00
Craig Tiller 5987c70bd1 Punch through flags for incoming calls 2016-03-09 16:55:23 -08:00
David Garcia Quintas 79d9096126 removed spurious grpc_library.cc 2016-03-09 13:57:46 -08:00
Yuchen Zeng 798b0dc442 Doc Fixit: src/cpp/README need more information, revised 03092016
- Revised 'protoc' section and 'Documentation' section as LisaFC suggested.
- Added 'Examples' section as LisaFC suggested.

Resolves: #5661
2016-03-09 12:00:09 -08:00
David Garcia Quintas 60ee8dd2fc docstrings 2016-03-08 17:21:42 -08:00
Yuchen Zeng 341b5abef5 Doc Fixit: src/cpp/README need more information 2016-03-08 17:16:29 -08:00
David Garcia Quintas 1b634717ff copyright 2016-03-08 16:27:31 -08:00
David Garcia Quintas b942640497 clang-format 2016-03-08 16:25:11 -08:00
David Garcia Quintas be25493398 codegen interface usage of gpr_inf_future 2016-03-08 16:24:35 -08:00
David Garcia Quintas ef6848fe5b reverted gpr_ time changes 2016-03-08 16:05:30 -08:00
David Garcia Quintas 057a0a2033 fixed wrong refactoring 2016-03-08 15:23:08 -08:00
David Garcia Quintas 723af53419 moved some files around 2016-03-08 14:26:50 -08:00
David Garcia Quintas 8c3d9943f6 compiles! 2016-03-08 00:07:14 -08:00
David Garcia Quintas e1ce31eda3 wip. cq refactored 2016-03-07 18:19:12 -08:00
David Garcia Quintas 6848c4e145 wip. prior to cq refactoring 2016-03-07 17:10:57 -08:00
Sree Kuchibhotla b0d1567e8e Revert "Revert "Properly integrate async API with server-side cancellations."" 2016-03-07 10:51:02 -08:00
David Garcia Quintas b07938fa22 added missing initializer for global proto_serializer holder to codegen lib 2016-03-06 20:07:30 -08:00
Sree Kuchibhotla edd96e4926 Revert "Properly integrate async API with server-side cancellations." 2016-03-04 14:32:50 -05:00
Vijay Pai 13ee2f2df3 Properly integrate async API with server-side cancellations.
There is a comment above IsCancelled that says when it is ok to use this.
2016-03-03 13:57:32 -08:00
David Garcia Quintas 7f7181ffc5 fix comments 2016-03-02 20:42:16 -08:00
David Garcia Quintas c4f4f7ede9 clang-format 2016-03-02 20:37:24 -08:00
David Garcia Quintas 94c80d8389 copyrights 2016-03-02 20:35:07 -08:00
David Garcia Quintas f588aeb1e2 introduced workaround for proto_utils 2016-03-02 20:33:28 -08:00
David Garcia Quintas 45add8a445 Merge branch 'master' of github.com:grpc/grpc into alarm_cpp 2016-02-22 23:15:28 -08:00
Craig Tiller c8d34d50a2 Merge pull request #5287 from yang-g/global_callback_magic
Add a way to override channel arguments for server creation
2016-02-22 22:05:32 -08:00
David Garcia Quintas 0160873273 PR comments addressed 2016-02-22 17:49:45 -08:00
David Garcia Quintas ef02fb9d6f Merge branch 'master' of github.com:grpc/grpc into alarm_cpp 2016-02-22 17:41:41 -08:00
David Garcia Quintas 4105505b33 Fixed refactoring of grpc_arg pointer vtable 2016-02-17 18:23:15 -08:00
David Garcia Quintas 10e269897f Merge branch 'master' of github.com:grpc/grpc into alarm_cpp 2016-02-17 17:43:42 -08:00
David Garcia Quintas 5e07d76a86 Made Alarm's constructor a template for deadline 2016-02-17 17:10:41 -08:00
Sree Kuchibhotla 3cce2ecb12 Merge pull request #4859 from ctiller/sceq
Subchannel Sharing  [The interop tests failures and Basic test failures are unrelated to this change. Merging]
2016-02-17 16:03:52 -08:00
Sree Kuchibhotla ac94c430d2 Merge pull request #5186 from yang-g/inherit_from_grpc_library
Provide explicit API for user to set user agent string prefix
2016-02-17 15:51:57 -08:00
yang-g eb62c94338 Add a way to override channel arguments for server creation 2016-02-17 15:37:25 -08:00
yang-g 9384dd971a add comments 2016-02-17 14:25:23 -08:00
Craig Tiller c0ce00fd16 Merge github.com:grpc/grpc into sceq 2016-02-17 14:25:12 -08:00
yang-g a3c968d9c2 Merge remote-tracking branch 'upstream/master' into inherit_from_grpc_library 2016-02-12 14:54:16 -08:00
vjpai d8e2c70fde Remove a vestige 2016-02-11 14:59:27 -08:00
vjpai fd307efbd1 fixed_size_thread_pool : why do we even have that lever? It has been
deprecated and unused for quite some time.
2016-02-11 14:56:23 -08:00
Vijay Pai 810a13e2d3 Remove a small allocation, at the cost of a little uglier header file.
This commit may or may not be a great tradeoff.
2016-02-11 03:30:10 -08:00
Vijay Pai c41abec7f8 Sanity: clang-format and regen projects 2016-02-11 00:23:21 -08:00
vjpai 8fdafede06 tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
type
2016-02-10 23:16:55 -08:00
yang-g 1945ae4285 Fix copyright 2016-02-10 12:48:32 -08:00
yang-g d59ad7ef39 Provide explicit API for user to set user agent string prefix 2016-02-10 12:42:53 -08:00
Craig Tiller f73429901a Merge github.com:grpc/grpc into sceq 2016-02-09 16:32:51 -08:00
Craig Tiller 841c726140 Merge github.com:grpc/grpc into sceq 2016-02-02 09:23:22 -08:00
Sree Kuchibhotla 369a04ace6 Address code review comments 2016-02-01 10:53:13 -08:00
Sree Kuchibhotla 7fa9d6f4c8 TryCancel() on ServerContext() 2016-01-28 17:32:48 -08:00
Craig Tiller 8c50db09b9 Merge github.com:grpc/grpc into sceq 2016-01-28 11:38:21 -08:00
David Garcia Quintas d79ef3af71 Fixed wrong usage of global var 2016-01-28 00:21:27 -08:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
David Garcia Quintas 5a9462339d copyrights 2016-01-27 19:22:14 -08:00
David Garcia Quintas e1300deb87 After GrpcLibrary refactoring. Compiles and passes. WIP still 2016-01-27 18:41:26 -08:00
Vijay Pai e0b0e27f3a clang-format 2016-01-27 09:47:33 -08:00
Vijay Pai 17e630af30 Fix a case in bbuf copy constructore 2016-01-26 17:56:20 -08:00
Craig Tiller 64616496e2 Alternative ownership for global callbacks 2016-01-26 14:16:20 -08:00
David Garcia Quintas b523c732d1 async_stream.h done. Compiles 2016-01-25 18:22:28 -08:00
David Garcia Quintas 2425bbbc55 Further work. Compiles. WIP 2016-01-25 17:32:48 -08:00
David Garcia Quintas 541db25d45 Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-25 12:53:50 -08:00
Craig Tiller 194824467c Get subchannel index working 2016-01-25 09:59:20 -08:00
Craig Tiller 5de79ee59f clang-format 2016-01-25 08:16:02 -08:00
Craig Tiller 8b052112f2 Merge github.com:grpc/grpc into sceq 2016-01-25 08:09:23 -08:00
Bogdan Drutu 2ee3e8d7e8 Merge remote-tracking branch 'upstream/master' 2016-01-24 17:38:15 -08:00
Jan Tattermusch c4d9f6de66 fix copyrights in server_context 2016-01-23 07:50:25 -08:00
yang-g 5ff8de3452 init deadline_ 2016-01-22 16:55:10 -08:00
David Garcia Quintas a43aadd7e1 fixed copyrights 2016-01-21 10:01:28 -08:00
David Garcia Quintas 08a0a3306e Made "codedgen" directories closed over #includes 2016-01-21 01:04:36 -08:00
David Garcia Quintas f3ddb7c55a clang-format 2016-01-20 16:02:22 -08:00
David Garcia Quintas a701ed7759 Merge branch 'proto_interfaces' into yang-g-sync_async_mix 2016-01-19 18:44:47 -08:00
Bogdan Drutu 3e60e3228a Update the copyrights of the modified files. 2016-01-19 13:02:55 -08:00
Craig Tiller b22aeae462 Merge github.com:grpc/grpc into sceq 2016-01-15 21:13:52 -08:00
yang-g b971173712 Add tests with a second service 2016-01-15 16:53:08 -08:00
David Garcia Quintas 44f3249018 Introduced ServerInterface 2016-01-15 16:49:16 -08:00
yang-g 1ac6f4594e warn user when they forget register generic service 2016-01-15 11:46:40 -08:00
yang-g f48766d347 fix copyright 2016-01-15 11:26:31 -08:00
yang-g 269b8be406 add generic test 2016-01-15 10:46:26 -08:00
Bogdan Drutu ee142ab634 Merge remote-tracking branch 'upstream/master' 2016-01-14 15:33:30 -08:00
yang-g 25f191d49b merge with head 2016-01-14 11:51:11 -08:00
yang-g b9a1377fab Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-14 09:50:48 -08:00
yang-g f80573502a destroy reader after using it 2016-01-14 09:07:58 -08:00
Bogdan Drutu 618051c8ca Fix the build. 2016-01-14 08:54:43 -08:00
Craig Tiller 754bd26e28 clang-format code 2016-01-14 06:10:15 -08:00
murgatroid99 eeb02ba77a Update copyrights again 2016-01-13 20:43:33 -08:00
yang-g d42262e22e merge with head 2016-01-13 15:32:51 -08:00
yang-g bef0d8744e Support sync/async methods in the same service 2016-01-13 15:27:33 -08:00
Craig Tiller edc2fffb34 Channel args comparisons 2016-01-13 06:54:27 -08:00
Bogdan Drutu c318d7014b Add virtual destructors for the default implementations as well. 2016-01-12 16:43:49 -08:00
Vijay Pai b30bc2aad6 Remove dead code and a thus unneeded change to C++ bbuf 2016-01-11 10:11:50 -08:00
Vijay Pai 6045681003 Merge branch 'master' into bbuf 2016-01-11 10:08:26 -08:00
Craig Tiller 15f383c6cc Exploratory refactoring for mixed sync/async methods on the same C++ service 2016-01-07 12:45:32 -08:00
vjpai de332dfcac Refactor server side to support generic tests. 2016-01-07 10:20:46 -08:00
Vijay Pai 18c0477528 Got rid of all compilation problems, now need to test 2016-01-04 09:52:10 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
vjpai be75ffd028 Merge branch 'master' into bbuf 2015-12-22 10:40:16 -08:00
Bogdan Drutu 6af31bd04f Fix the naming conflict issue that cause the tests to fail. 2015-12-12 15:39:40 -08:00
Bogdan Drutu 42ab3fa5fa Add a destructor callback as well 2015-12-11 19:48:19 -08:00
Bogdan Drutu 38d2ad6e96 Add a hook for the default constructor of ClientContext. 2015-12-11 19:29:07 -08:00
Jan Tattermusch 88086373db make gpr_timespec platform agnostic 2015-12-10 15:04:59 -08:00
Jan Tattermusch 5dc93c363b include climits 2015-12-07 17:59:35 -08:00
Jan Tattermusch 5b155e5674 more win x64 fixes 2015-12-07 17:59:32 -08:00
Craig Tiller c9614d3003 Merge pull request #4175 from yang-g/tcp_refactor
Refactor security connector and handshake
2015-12-03 13:30:34 -08:00
Craig Tiller 35c1d3c462 Merge pull request #4207 from yang-g/server_builder_options
Server builder options
2015-12-03 11:39:44 -08:00
jboeuf 6f9b171842 Merge pull request #4204 from ctiller/emergency-cheese-and-crackers
Global hook for doing something in response to a synchronous server call
2015-12-02 20:55:37 -08:00
Craig Tiller 06dd04cfd3 Further review feedback 2015-12-02 15:56:27 -08:00
yang-g d88e1d8f4e merge with head and resolve conflict 2015-12-02 13:23:33 -08:00
Craig Tiller 8352b9e997 Review feedback 2015-12-02 11:43:40 -08:00
Nicolas "Pixel" Noble f9c58f3bf7 Merge branch 'release-0_12'
Conflicts:
	src/core/security/credentials.c
	test/core/security/credentials_test.c
2015-12-01 22:40:44 +01:00
vjpai 594f0c43e0 Merge branch 'master' into bbuf 2015-11-30 15:53:49 -08:00
vjpai b6df94ad22 WIP 2015-11-30 15:52:50 -08:00
yang-g 52705590e4 Add set pointer api to channel_arguments 2015-11-25 11:45:33 -08:00
yang-g a23f17b123 add server_builder_option 2015-11-25 10:21:05 -08:00
Craig Tiller 7221d999bb Global hook for doing something in response to a synchronous server call 2015-11-24 06:59:33 -08:00
Julien Boeuf 114f39475f Cpp example of how the plugins can be done. 2015-11-19 22:24:05 -08:00
Julien Boeuf caf9935e45 Also adding a credentials type to the plugin API.
The purpose of this is to be able to install a composition policy that
describes which types are incompatible and that will be enforced during
call creds composition.

If this functionality is wanted it will be done in an additive function in
the API like :

void grpc_call_credentials_set_composite_policy(
  grpc_call_credentials_composite_policy policy);
2015-11-19 22:00:30 -08:00
Julien Boeuf 3c957e60a3 Fixing implementations. 2015-11-18 21:33:58 -08:00
Craig Tiller b113649517 clang-format 2015-11-18 11:30:17 -08:00
David G. Quintas 75b53d6a5d Merge pull request #3993 from ctiller/new_op
Core transport & call cleanup
2015-11-18 08:52:10 -08:00
Julien Boeuf 232d625a84 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 20:55:13 -08:00
Julien Boeuf 675b5ce861 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
yang-g a89bf50cf1 Handle cancel before start case 2015-11-17 14:19:17 -08:00
Craig Tiller 9beccc6024 Merge github.com:grpc/grpc into new_op 2015-11-04 09:09:24 -08:00
Craig Tiller 187c4b36d9 Merge pull request #3177 from podsvirov/topic-grpc-string-ref-npos-redifinition
Move static value grpc::string_ref::npos definition to cc file
2015-11-04 08:04:56 -08:00
Craig Tiller 5925603101 stream_op cleanup: miscellany 2015-11-02 14:19:15 -08:00
Julien Boeuf 3bb61d8917 Merge branch 'master' of https://github.com/grpc/grpc into core_creds_api_change 2015-10-17 22:14:29 -07:00
David Garcia Quintas 5f9e979e8c Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-13 15:26:33 -07:00
David Garcia Quintas 9c97aaed08 Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-12 21:21:18 -07:00
Julien Boeuf 54a902ed17 Successfully compile C++ libary (not tests yet). 2015-10-12 14:09:03 -07:00
Craig Tiller 2b15f1e25a Merge github.com:grpc/grpc into latent-see 2015-10-09 17:07:56 -07:00
Craig Tiller 0ba432d445 Move profiling system to gpr 2015-10-09 16:57:11 -07:00
Craig Tiller 1f41b6b5ed Simplify adding annotations, annotate more things 2015-10-09 15:07:02 -07:00
Craig Tiller 86253ca1da Latency traces 2015-10-08 13:31:02 -07:00
David Garcia Quintas 7fd0fd5023 C++ Alarm implementation (with tests). 2015-10-07 19:04:58 -07:00
yang-g b063c87596 mark unreachable code with a macro 2015-10-07 11:40:13 -07:00
Tim Emiola 25061413cf Merge pull request #3602 from grpc/release-0_11
Upmerge from beta to master.
2015-10-02 13:43:14 -07:00
Tim Emiola 9908877a73 Update README.mds that don't currently have Status 'Beta' 2015-10-01 10:54:25 -07:00
Craig Tiller b7a597771f Merge github.com:grpc/grpc into clangf 2015-10-01 08:01:58 -07:00
Vijay Pai e547bdf4d7 Fix an assert 2015-09-29 23:29:38 +00:00