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
Vijay Pai
e57abcfbdb
C++ changes required to maintain gcc4.4 compatibility - reduce use
...
of ambiguous nullptr, eliminate use of brace initializer lists
2015-09-29 22:55:34 +00:00
Craig Tiller
71a0f9d3b0
Fix clang-format script
2015-09-28 17:22:01 -07:00
Nicolas Noble
0f9a118f4e
Merge pull request #3474 from ctiller/clang_format
...
Add clang-format to sanity
2015-09-25 22:04:11 -07:00
Craig Tiller
dd69342218
Merge github.com:grpc/grpc into clang_format
2015-09-25 09:56:52 -07:00
Craig Tiller
cc5dc5bbaf
Fast path for proto serialization for small protos
2015-09-24 17:02:22 -07:00
Craig Tiller
ddf3a511aa
Add clang-format to sanity
2015-09-24 13:03:44 -07:00
Craig Tiller
04456843cd
Windows fixes
2015-09-23 10:07:16 -07:00
Julien Boeuf
8b0b6f413d
It is a bad idea to have a map with string_refs as output params.
...
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
2015-09-22 13:31:16 -07:00
Julien Boeuf
14929d4e35
Credentials plugin fixes (after the branch was merged).
2015-09-21 20:57:26 -07:00
Julien Boeuf
fd2f7331fa
Merge branch 'master' of github.com:grpc/grpc into core_creds_plugin
2015-09-15 15:20:26 -07:00
David Garcia Quintas
49dd250565
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-09-08 16:01:09 -07:00
yang-g
61e461e890
Guard against empty vector
2015-09-03 15:54:05 -07:00
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
2015-09-03 09:37:02 -07:00
yang-g
deb3d2255d
Add missed header
2015-09-01 12:51:28 -07:00
Konstantin Podsvirov
dc90c13bec
Move static value grpc::string_ref::npos definition to cc file
2015-09-01 16:18:57 +03:00
Julien Boeuf
2d041188db
Design and implementation of the core credentials plugin API.
...
- We use C++ as an example to show how this API can be used while still
providing an idiomatic interface in the wrapped language of choice.
- No testing yet.
2015-08-31 20:30:09 -07:00
Julien Boeuf
5be92a316d
Shuffling headers around.
2015-08-28 16:28:18 -07:00
Julien Boeuf
97cd4ae606
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-28 15:51:02 -07:00
Julien Boeuf
6c7185d350
Merge branch 'master' of github.com:grpc/grpc into credentials_naming_and_cleanup
2015-08-28 14:33:17 -07:00
Julien Boeuf
a883ccfb46
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-28 14:13:04 -07:00
Julien Boeuf
0c711ad88b
Adding C++ metadata processor.
...
- Had to chnage the core API to add a destroy function pointer in
grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
length which put us at risk of an overflow).
2015-08-28 14:10:58 -07:00
Craig Tiller
89d56103eb
Merge pull request #3104 from yang-g/create_channel
...
Create channel API change
2015-08-27 21:04:56 -07:00
Julien Boeuf
459faf3821
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-27 16:07:46 -07:00
Julien Boeuf
fe4bacb641
Merge branch 'credentials_naming_and_cleanup' of github.com:jboeuf/grpc into credentials_naming_and_cleanup
2015-08-27 15:49:27 -07:00
Craig Tiller
08348334e5
Merge pull request #2947 from jboeuf/grpc_security_abi
...
First draft at addressing #1799 for grpc_security.
2015-08-27 12:43:25 -07:00
yang-g
730055d962
implementation fix
2015-08-27 12:29:45 -07:00
yang-g
dafcce980d
channel creation API change
2015-08-27 11:34:05 -07:00
Julien Boeuf
35b559f6f7
Aligning C++ interface with C for the auth metadata processor.
2015-08-26 23:17:35 -07:00
yang-g
0d9f81f741
minor fixes
2015-08-26 22:04:30 -07:00
Julien Boeuf
5b3516e2c5
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-26 11:19:10 -07:00
yang-g
5e700f3d1f
Merge remote-tracking branch 'upstream/master' into string_ref_auth
2015-08-26 10:16:31 -07:00
Craig Tiller
47ec9a40ad
Add ostream support for string_ref
2015-08-26 09:47:51 -07:00
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
Julien Boeuf
c5b570f97e
Adding void* at then end of security related method in order to have a stable ABI.
2015-08-25 17:47:55 -07:00
yang-g
d090fe1379
auth context api change for string_ref
2015-08-25 16:53:07 -07:00
yang-g
e21908fcee
impl
2015-08-25 13:47:51 -07:00
yang-g
d5539ec6e2
remove constexpr since gcc 4.4 or vs2010 does not support it
2015-08-25 11:05:29 -07:00
Julien Boeuf
0382bfae38
Merge branch 'master' of github.com:grpc/grpc into cpp_string_ref
2015-08-24 23:55:43 -07:00
Julien Boeuf
8fd915ab8d
Adding grpc::string_ref class.
...
- Strict subset of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
2015-08-24 23:41:54 -07:00
yang-g
9d1f0c4a0c
Fix merge failures
2015-08-24 16:08:36 -07:00
yang-g
3e4bd9598b
merge with head
2015-08-24 15:54:07 -07:00
David Garcia Quintas
e4f7c2fd13
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-08-24 15:31:59 -07:00
Vijay Pai
0660eaca00
Merge branch 'master' into fray
2015-08-24 14:33:39 -07:00
David Garcia Quintas
d09bae5b48
Merge branch 'compression-accept-encoding' of github.com:dgquintas/grpc into compression-accept-encoding
2015-08-24 12:11:26 -07:00
David Garcia Quintas
c43648f250
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-08-24 12:08:38 -07:00
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
2015-08-24 10:52:33 -07:00
Craig Tiller
b7e22b9686
Merge github.com:grpc/grpc into y12kdm3
2015-08-21 16:06:30 -07:00
Craig Tiller
849c7ca4b2
prettify comment
2015-08-21 16:06:05 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
yang-g
961eeb0b44
Merge remote-tracking branch 'upstream/master' into docs
2015-08-20 12:18:28 -07:00
yang-g
c317f07b56
Make Channel ctor private
2015-08-20 12:18:08 -07:00
yang-g
ef00308e39
remove internal_stub
2015-08-20 11:40:51 -07:00
yang-g
c2bd8a6d1a
Fix server side and generic stub
2015-08-20 11:40:12 -07:00
Yang Gao
48c9f250c2
Merge pull request #2977 from ctiller/shutdown-c++
...
Add a deadline to Server::Shutdown
2015-08-19 21:49:10 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
David Garcia Quintas
cb30410b10
Comments and derived bugfixes.
2015-08-19 15:50:54 -07:00
yang-g
2f543f205c
Bug fix. Called c_str on a temp string
2015-08-19 15:14:17 -07:00
Craig Tiller
86d31776a8
Fix syncronous unimplemented methods
2015-08-19 12:52:50 -07:00
Craig Tiller
681a291d12
Extend comment
2015-08-19 11:31:25 -07:00
Craig Tiller
9374ce819b
Add comments, fix a subtle bug
2015-08-19 10:15:44 -07:00
David Garcia Quintas
7fc37a2385
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-08-18 16:11:09 -07:00
Craig Tiller
128f4a9cfe
Merge github.com:grpc/grpc into y12kdm3
2015-08-18 12:51:05 -07:00
Craig Tiller
5c6e6276be
Merge github.com:grpc/grpc into shutdown-c++
2015-08-18 12:45:09 -07:00
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
2015-08-18 12:44:57 -07:00
Craig Tiller
d6c98df792
clang-format all source
2015-08-18 09:33:44 -07:00
Craig Tiller
bb1c795f99
Merge pull request #2965 from yang-g/lame_client_error_message
...
Let lame_client accept error status
2015-08-18 09:27:28 -07:00
yang-g
c31cd86a74
Let lame_client accept error status
2015-08-17 15:37:27 -07:00
Craig Tiller
f2066040d2
Merge github.com:grpc/grpc into y12kdm3
2015-08-17 15:04:09 -07:00
Craig Tiller
629c6f534f
Re-add accidentally deleted code
2015-08-17 14:59:51 -07:00
Vijay Pai
2461bf675e
Merge pull request #2907 from yang-g/error_code_conforming
...
return StatusCode::INTERNAL for proto parsing error
2015-08-17 13:59:07 -07:00
Craig Tiller
8f7bff7d48
Merge github.com:grpc/grpc into y12kdm3
2015-08-17 13:23:14 -07:00
Julien Boeuf
bc265583d6
Addressing comments. Thanks Yang!
2015-08-17 13:23:05 -07:00
Julien Boeuf
8da211f638
Forgot to commit this file...
2015-08-14 12:57:42 -07:00
Julien Boeuf
bf25bb01bb
Few improvements:
...
- Guarantee the lifetime of objects passed to the processor.
- Add an option for implementers of the processor to make it
non-blocking.
2015-08-14 12:36:11 -07:00
vjpai
1c9ba198c3
Make comment look finished
2015-08-14 10:54:10 -07:00
Vijay Pai
8fe60a87ea
Use emplace_back properly and when appropriate, considering limitations
...
of gcc4.4
2015-08-14 17:02:59 +00:00
Julien Boeuf
d3920a28c6
Fixing build after sync with upstream master.
2015-08-13 22:33:58 -07:00
Julien Boeuf
455dc6ff0d
Merge branch 'master' of https://github.com/grpc/grpc into cpp_auth_md_processor
2015-08-13 22:25:15 -07:00
Julien Boeuf
5941335be3
Fixing lifetime of input metadata issue.
2015-08-13 22:03:56 -07:00
Julien Boeuf
c2274e7069
Adding C++ auth metadata processor.
...
- We always do the processing asynchronously but maintain a synchronous
API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
object in grpc++ would really help with that (as we would use it for
C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
proceed with tests.
2015-08-13 17:25:52 -07:00
Vijay Pai
8c0389d84e
Merge pull request #2921 from yang-g/unknown_service
...
Use a sync service to handle requests to unknown services
2015-08-13 15:30:01 -07:00
yang-g
523201cee0
remove redundant ctor
2015-08-13 14:47:42 -07:00
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
2015-08-13 11:15:53 -07:00
Nicolas "Pixel" Noble
d53b389607
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
src/cpp/client/channel.cc
src/cpp/client/client_context.cc
2015-08-13 19:20:39 +02:00
David G. Quintas
edb1d616dc
Merge pull request #2890 from yang-g/client_context
...
client code clean up
2015-08-13 07:31:13 -07:00
yang-g
f99c090625
return StatusCode::INTERNAL for proto parsing error
2015-08-12 13:21:58 -07:00
yang-g
37ce034dc1
add const
2015-08-12 11:46:26 -07:00
Nicolas "Pixel" Noble
b457cd831a
Merge remote-tracking branch 'google/master' into the-ultimate-showdown
...
Conflicts:
src/csharp/ext/grpc_csharp_ext.c
2015-08-12 01:14:17 +02:00
yang-g
0c034a01d1
client code clean up
2015-08-11 12:37:32 -07:00
yang-g
9fc755f465
Add to all secure credentials
2015-08-10 16:39:08 -07:00
yang-g
e71a6b094b
call grpc_init for defaultcredentials
2015-08-10 15:48:34 -07:00
David Garcia Quintas
beac88ca56
Server: added the ability to disable compression algorithm
2015-08-10 15:08:41 -07:00
yang-g
ffc8a6b431
move auth property iterator declaration into auth_context.h
2015-08-10 12:26:39 -07:00
Nicolas "Pixel" Noble
9d72b149a9
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
include/grpc/grpc.h
src/core/surface/channel.c
src/core/surface/channel_create.c
src/core/surface/completion_queue.c
src/cpp/client/channel.cc
src/cpp/client/insecure_credentials.cc
src/csharp/ext/grpc_csharp_ext.c
src/node/ext/call.cc
src/node/ext/channel.cc
src/php/ext/grpc/call.c
src/php/ext/grpc/channel.c
src/python/grpcio/grpc/_adapter/_c/types/channel.c
src/ruby/ext/grpc/rb_channel.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/fixtures/chttp2_fullstack.c
test/core/end2end/fixtures/chttp2_fullstack_compression.c
test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c
test/core/end2end/fixtures/chttp2_fullstack_with_poll.c
test/core/end2end/multiple_server_queues_test.c
test/core/end2end/no_server_test.c
test/core/end2end/tests/bad_hostname.c
test/core/end2end/tests/cancel_after_accept.c
test/core/end2end/tests/cancel_after_accept_and_writes_closed.c
test/core/end2end/tests/cancel_after_invoke.c
test/core/end2end/tests/cancel_before_invoke.c
test/core/end2end/tests/cancel_in_a_vacuum.c
test/core/end2end/tests/census_simple_request.c
test/core/end2end/tests/disappearing_server.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/empty_batch.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/ping_pong_streaming.c
test/core/end2end/tests/registered_call.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_compressed_payload.c
test/core/end2end/tests/request_with_flags.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/end2end/tests/server_finishes_request.c
test/core/end2end/tests/simple_delayed_request.c
test/core/end2end/tests/simple_request.c
test/core/end2end/tests/simple_request_with_high_initial_sequence_number.c
test/core/fling/client.c
test/core/fling/server.c
test/core/surface/lame_client_test.c
2015-08-08 01:45:38 +02:00
yang-g
87e133e13a
merge with head
2015-08-06 22:51:27 -07:00
yang-g
c8abca8f53
Resolve comments
2015-08-06 22:50:16 -07:00
Craig Tiller
2c3be1df4f
Add tests for C++ propagation
2015-08-05 15:59:27 -07:00
yang-g
8708dd76c1
Add WaitForState
2015-08-05 15:57:14 -07:00
Craig Tiller
bb5361453f
C++ context propagation
2015-08-05 15:18:19 -07:00
yang-g
36f5965247
clean up and add a test
2015-08-05 15:15:18 -07:00
yang-g
a73dc1c708
specialize deadline type and implementation
2015-08-05 14:24:00 -07:00
Craig Tiller
a600d58551
Merge github.com:grpc/grpc into propagate
2015-08-05 10:44:45 -07:00
Abhishek Kumar
183c9f77a7
Merge pull request #2767 from ctiller/no-poop-on-pizza
...
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
2015-08-05 10:25:35 -07:00
Craig Tiller
18541a1cee
Merge github.com:grpc/grpc into propagate
2015-08-05 08:10:22 -07:00
yang-g
d45a26ed06
allow null tag
2015-08-04 16:36:22 -07:00
yang-g
5239ee2bd0
Merge remote-tracking branch 'upstream/master' into cancel
2015-08-04 16:15:57 -07:00
yang-g
b335256444
Add AsyncNotifyWhenDone
2015-08-04 14:42:06 -07:00
Craig Tiller
902d9c4722
Merge pull request #2749 from yang-g/default_host_to_null
...
Pass NULL as host by default. Use context.authority() or channel.SslN…
2015-08-04 14:28:49 -07:00
Craig Tiller
c5ae3eb8d6
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
2015-08-03 10:42:22 -07:00
Craig Tiller
c7df0df618
Implement cancellation propagation, define auth propagation
2015-08-03 08:06:50 -07:00
Craig Tiller
3e7c6a701c
Core-supported context inheritance sketch
2015-07-31 16:17:04 -07:00
yang-g
d556da9f28
Pass NULL as host by default. Use context.authority() or channel.SslNameOverride() when set.
2015-07-31 15:59:04 -07:00
Nicolas "Pixel" Noble
4960516c63
Properly initializing reserved pointer in tests.
2015-08-01 00:33:29 +02:00
yang-g
b803313b2c
merge with head and resolve conflicts
2015-07-31 14:15:36 -07:00
Alistair Veitch
1178900c04
merge with master, fix build issue
2015-07-30 14:38:00 -07:00
Alistair Veitch
6796805897
Merge branch 'master' into issue_2709
2015-07-30 14:35:22 -07:00
Vijay Pai
c226edcadc
Merge pull request #2706 from yang-g/remove_get_from_accessor
...
make accessors from get_x() to x()
2015-07-30 11:44:28 -07:00
yang-g
dcf6c90b33
merge with head
2015-07-30 11:35:18 -07:00
Yang Gao
7ee4b89d59
Merge pull request #2670 from a-veitch/server_context
...
Server side census context plumbing for c++
2015-07-30 10:04:21 -07:00
Alistair Veitch
ff32faf3c9
Move grpc_census_call_*_context calls into public header
2015-07-30 09:54:15 -07:00
Alistair Veitch
100a6e1d82
add struct include/grpc++/server_context.h src/cpp/server/server_context.cc
2015-07-29 15:25:28 -07:00
yang-g
9a009f2a75
make accessors from get_x() to x()
2015-07-29 11:38:18 -07:00
yang-g
f1ec377063
server api
2015-07-28 23:05:22 -07:00
yang-g
c07d9bf668
client api
2015-07-28 09:19:22 -07:00
Craig Tiller
753b3cbb5b
Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
2015-07-28 07:36:45 -07:00
Julien Boeuf
4aee724004
Merge branch 'master' of github.com:grpc/grpc into ssl_force_client_auth
2015-07-27 16:16:29 -07:00
Alistair Veitch
cf39e94872
Server side census context plumbing for c++
2015-07-26 17:28:26 -07:00
Craig Tiller
d9aed1d010
Merge github.com:grpc/grpc into elliptic-orange-chamelion
...
Conflicts:
src/csharp/ext/grpc_csharp_ext.c
2015-07-26 12:55:47 -07:00
Craig Tiller
dfc42da760
Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
...
Conflicts:
src/core/iomgr/tcp_server_windows.c
2015-07-26 12:37:53 -07:00
Vijay Pai
f0c66c6365
Merge branch 'master' into deepend
2015-07-24 10:51:27 -07:00
vjpai
24b3b7e3d4
Fix thread list iterator
2015-07-23 18:51:03 -07:00
vjpai
02b80549e9
Bug fixes
2015-07-23 17:44:45 -07:00
Yang Gao
b5bbf66779
Merge pull request #2629 from ctiller/always-with-the-mono
...
Make the server report monotonic times for deadlines
2015-07-23 16:35:29 -07:00
Vijay Pai
1f3e6c1ebe
Start switching everything to dynamic pool
2015-07-23 16:18:21 -07:00
vjpai
b76f3ada11
Fix bug on shutdown case
2015-07-23 14:41:23 -07:00
vjpai
b28456b1e4
Add dynamic thread pool and initial port of test
2015-07-23 14:17:10 -07:00
Yang Gao
2e7ce15635
Merge pull request #2617 from jboeuf/jwt_creds_renaming
...
Renaming jwt_credentials to service_account_jwt_access_credentials.
2015-07-23 13:29:01 -07:00
Craig Tiller
7cb0853755
Merge github.com:grpc/grpc into elliptic-orange-chamelion
2015-07-23 11:29:44 -07:00
Craig Tiller
b256faa353
Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
2015-07-23 11:28:16 -07:00
Craig Tiller
94329d0965
Make the server report monotonic times for deadlines
...
For very high performance systems, we're going to want to be able to
simply push the value reported from the server down onto clients.
If we report realtime now, then all wrapped languages are going to
assume it, meaning that such a change will be impossible later.
2015-07-23 09:52:11 -07:00
Yang Gao
b70440bb1d
Merge pull request #2542 from ctiller/tell-me-who-you-might-be
...
Expose call peer uri from C core
2015-07-23 09:16:37 -07:00
Nicolas "Pixel" Noble
ebb514066e
Changing the library's code to adapt with the new API.
2015-07-23 02:41:33 +02:00
Julien Boeuf
fe4c3f4f14
Renaming jwt_credentials to service_account_jwt_access_credentials.
2015-07-22 16:20:13 -07:00
Julien Boeuf
5029b30d1c
Adding option to force client auth on the server SSL creds.
2015-07-21 23:02:16 -07:00
Craig Tiller
33c0d9d83d
C++ is also a language that can be insecure
2015-07-21 18:11:44 -07:00
Craig Tiller
60fb201277
Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
...
Conflicts:
src/cpp/client/channel_arguments.cc
2015-07-20 21:37:13 -07:00
Craig Tiller
ac392e2385
Merge branch 'tell-me-who-you-might-be' of github.com:ctiller/grpc into tell-me-who-you-might-be
2015-07-20 21:30:59 -07:00
Craig Tiller
81bcc4caba
Make endpoint peer API work on Windows
2015-07-20 14:04:18 -07:00
Craig Tiller
bf6abeef3d
Remove experimental prefix
2015-07-19 22:31:04 -07:00
Craig Tiller
b4fdd32100
Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
...
Conflicts:
src/cpp/client/channel_arguments.cc
2015-07-19 22:26:26 -07:00
Craig Tiller
b4e70366c6
Merge branch 'decompression' of https://github.com/dgquintas/grpc into dgquintas-decompression
...
Conflicts:
Makefile
vsprojects/Grpc.mak
2015-07-19 15:35:17 -07:00
Craig Tiller
0dc5e6cf16
User agent string support
2015-07-18 20:39:34 -07:00
Nicolas Noble
e9881bbaf3
Merge pull request #2403 from ctiller/no-worries-i-can-wait
...
Add a clock_type field to gpr_timespec
2015-07-17 15:39:28 -07:00
David Garcia Quintas
cadbf22467
Removed compression levels from clients and _experimental_'d signature of methods manipulating compression algorithms
2015-07-17 15:33:13 -07:00
Craig Tiller
29cb6dd21f
Merge pull request #2482 from vjpai/rename_schedule_callback
...
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
2015-07-17 15:30:33 -07:00
Craig Tiller
c9fef6f521
Merge github.com:grpc/grpc into no-worries-i-can-wait
2015-07-17 14:41:12 -07:00
Craig Tiller
eec373c555
Merge pull request #2413 from dgquintas/interop_sniffer
...
Introduced InteropContextInspector
2015-07-17 11:30:57 -07:00
vjpai
72a44178e9
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
2015-07-16 21:44:44 -07:00
yang-g
fb58d239ef
Merge with head
2015-07-16 21:03:49 -07:00
yang-g
7ef7232dd9
split iterator into its own file
2015-07-16 21:00:51 -07:00
David Garcia Quintas
7cceb09b79
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-16 17:01:18 -07:00
Craig Tiller
9a3f858f93
Merge pull request #2460 from vjpai/exposed_pool
...
Make thread_pool.h a public header
2015-07-16 16:26:19 -07:00
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
2015-07-15 16:49:49 -07:00
David Garcia Quintas
6dd49a5c8f
Added some methods to context inspector. Also minor tweak to server context IsCancelled() method
2015-07-15 14:58:32 -07:00
David Garcia Quintas
e0d581b6ad
Merge branch 'master' of github.com:grpc/grpc into decompression
...
# Conflicts:
# Makefile
# include/grpc++/client_context.h
# include/grpc++/server_context.h
# src/cpp/client/client_context.cc
# src/cpp/server/server_context.cc
# vsprojects/Grpc.mak
2015-07-15 14:07:18 -07:00
Craig Tiller
3e5d61670e
Merge pull request #2371 from yang-g/security_context2
...
remove dead file
2015-07-15 13:44:01 -07:00
yang-g
14b3684dee
Remove const_iterator typedef and add a range based loop test
2015-07-15 13:20:23 -07:00
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00
yang-g
811536efce
auth context iterator
2015-07-15 00:55:30 -07:00
yang-g
94d6225ae7
Create server side auth context lazily
2015-07-14 14:25:37 -07:00
Craig Tiller
677c50c92a
Update C++ impl
2015-07-13 10:49:06 -07:00
Craig Tiller
354398f9f5
Updating wrapped languages to new time functions
2015-07-13 09:16:03 -07:00
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
yang-g
d45b203163
remove dead file
2015-07-10 10:40:06 -07:00
David Garcia Quintas
14ce90ff82
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-09 16:18:14 -07:00
yang-g
d53bc8925b
Add missing pieces
2015-07-09 12:56:29 -07:00
yang-g
3315a845ef
Merge remote-tracking branch 'upstream/master' into security_context2
2015-07-09 12:32:48 -07:00
yang-g
f9e8e59b1c
Resolve comments
2015-07-09 12:32:15 -07:00
Yang Gao
ec5a0ba6ba
Merge pull request #2271 from jboeuf/oauth2_access_token
...
Adding support for raw access token credentials.
2015-07-08 21:48:46 -07:00
Julien Boeuf
a6b9a891a0
Merge branch 'master' of github.com:grpc/grpc into oauth2_access_token
2015-07-08 20:40:13 -07:00
David Garcia Quintas
17bb64981a
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-08 15:17:10 -07:00
Craig Tiller
98d60fcb9a
Merge github.com:grpc/grpc into hosts-need-names-too
2015-07-08 07:44:54 -07:00
yang-g
ab575d46f7
merge head and resolve conflict
2015-07-07 23:33:40 -07:00
yang-g
6406f18267
missed one place
2015-07-07 23:28:30 -07:00
yang-g
85c04f938f
resolve comments
2015-07-07 17:47:31 -07:00
Craig Tiller
d9b6fcfee4
Support older compilers
2015-07-07 16:28:20 -07:00
Craig Tiller
822d2c7beb
Support registering services against specific hosts
2015-07-07 16:08:00 -07:00
yang-g
8068f86974
Add a unit test
2015-07-06 15:05:48 -07:00
yang-g
5ea46ab248
merge with upstream and resolve conflicts
2015-07-06 14:05:54 -07:00
yang-g
3abe60b9d0
compiles
2015-07-06 14:00:36 -07:00
David Garcia Quintas
8a187099ec
Merge branch 'master' of github.com:grpc/grpc into decompression
...
# Conflicts:
# Makefile
# gRPC.podspec
# src/core/surface/call.c
# src/core/transport/chttp2/frame_data.c
# tools/doxygen/Doxyfile.core.internal
# vsprojects/Grpc.mak
2015-07-01 14:52:44 -07:00
Julien Boeuf
2805be1aa5
Adding support for raw access token credentials.
2015-07-01 02:47:18 -07:00
David Garcia Quintas
d7d9ce27c5
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
2015-06-30 23:29:03 -07:00
Alistair Veitch
fc62dddd1c
add client side census context
2015-06-29 02:52:46 -07:00
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
2015-06-25 06:58:00 -07:00
yang-g
a58cab30b2
release memory even if the status is false
2015-06-23 14:37:15 -07:00
yang-g
3deb0069f4
Only copy stuff when status is ok
2015-06-23 14:06:08 -07:00
yang-g
adfed03146
Add missing headers to build.json
2015-06-23 13:01:22 -07:00
Yang Gao
253aaa6b10
Merge pull request #1969 from ctiller/one-shouldnt-depend-on-protobufs
...
Remove Protobuf dependency for C++
2015-06-23 10:05:20 -07:00
Yang Gao
89c5a56233
Add const to ByteBuffer methods and add tests
2015-06-22 16:31:11 -07:00
Craig Tiller
026e600b5b
Update to set flags=0 on all ops
2015-06-22 11:41:14 -07:00
Craig Tiller
3de4b47e2b
Merge github.com:grpc/grpc into one-shouldnt-depend-on-protobufs
2015-06-22 10:51:35 -07:00
Craig Tiller
ab67485ff0
Merge github.com:grpc/grpc into one-shouldnt-depend-on-protobufs
2015-06-19 15:32:52 -07:00
Vijay Pai
d03adc340a
Merge remote-tracking branch 'ctiller-repo/we-dont-need-no-backup' into poller2
2015-06-18 08:42:29 -07:00
Craig Tiller
4ec433741a
Merge pull request #2071 from dgquintas/compression-levels
...
Introduced compression levels as an abstraction for the actual algorithm
2015-06-17 17:21:09 -07:00
Vijay Pai
ced73bde96
Split cq creation from request initiation so that cq creation
...
can be removed from C++ lock.
2015-06-17 10:23:28 -07:00
Craig Tiller
2622ddbcfd
Merge branch 'we-dont-need-no-backup' into one-shouldnt-depend-on-protobufs
...
Conflicts:
include/grpc++/async_unary_call.h
include/grpc++/config.h
include/grpc++/config_protobuf.h
include/grpc++/impl/service_type.h
include/grpc++/stream.h
src/cpp/common/call.cc
2015-06-16 17:30:26 -07:00
Craig Tiller
48dd6bfb53
Merge github.com:grpc/grpc into you-complete-me
2015-06-16 17:18:34 -07:00
Craig Tiller
ddd389a149
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-16 17:14:43 -07:00
Nicolas Noble
32f020ae2a
Merge pull request #2079 from yang-g/statusChange
...
Update the Status API
2015-06-16 13:12:33 -07:00
David Garcia Quintas
cc6c43c496
Exposed compression level in channel arguments (C and C++)
2015-06-16 11:35:41 -07:00
Yang Gao
c1a2c314fb
Update the Status API
2015-06-16 10:59:46 -07:00
David Garcia Quintas
de52625ae5
Added changes to c++ and ruby wrappers
2015-06-15 13:15:26 -07:00
Jan Tattermusch
9bfedd67e0
Merge remote-tracking branch 'upstream/master' into you-complete-me-csharp
2015-06-09 17:47:56 -07:00
David Garcia Quintas
ca281377c0
Added missing compression.h file.
2015-06-08 20:11:30 -07:00
David Garcia Quintas
59f905d79a
Changes to byte_buffer based on comments.
2015-06-08 20:06:17 -07:00
Vijay Pai
372fd8791b
Revert "Revert "Open loop sync/async multithreaded testing""
2015-06-08 13:30:08 -07:00
Craig Tiller
d55636d813
Revert "Open loop sync/async multithreaded testing"
2015-06-08 10:12:46 -07:00
Craig Tiller
e22fb4e3e5
Merge branch 'one-shouldnt-depend-on-protobufs' of github.com:ctiller/grpc into one-shouldnt-depend-on-protobufs
2015-06-05 10:43:57 -07:00
Craig Tiller
bd277cb3cb
Clarify serialization traits interface
2015-06-05 10:43:43 -07:00
Craig Tiller
2f4a49c8d3
Fix memory leak
2015-06-05 09:36:52 -07:00
Craig Tiller
928ec8ee51
Fix memory leak
2015-06-05 08:45:45 -07:00
Craig Tiller
3cb03ef0c8
Remove old code
2015-06-05 08:09:41 -07:00
Craig Tiller
5095581cdb
Get server call tags right
2015-06-05 08:03:17 -07:00
Craig Tiller
cad36b0831
Remove old code
2015-06-05 07:38:47 -07:00
Craig Tiller
ce40de58da
clang-format
2015-06-05 07:14:58 -07:00
Vijay Pai
cf3fb092cc
clang-format
2015-06-05 03:41:30 -07:00
Craig Tiller
7bc97bc6de
Everything compiles again
2015-06-04 17:22:54 -07:00
Craig Tiller
789471cfc6
Client side compiles/links
2015-06-04 16:19:22 -07:00
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
2015-06-04 12:53:40 -07:00
vjpai
ca61f5b765
Merge branch 'master' into poisson
2015-06-04 09:51:28 -07:00
Craig Tiller
a6ab47c75b
Merge branch 'we-dont-need-no-backup' into one-shouldnt-depend-on-protobufs
2015-06-04 08:52:33 -07:00
Craig Tiller
81fafa8971
Beginning the cleanup
2015-06-04 08:51:17 -07:00
Craig Tiller
409263c59f
Merge github.com:grpc/grpc into we-dont-need-no-backup
...
Conflicts:
tools/doxygen/Doxyfile.core.internal
2015-06-04 08:44:53 -07:00
Craig Tiller
7b6e979f46
Merge github.com:grpc/grpc into you-complete-me
2015-06-04 08:43:47 -07:00
Yang Gao
6f4fb3b133
Add ability to override default thread pool
2015-06-03 12:56:19 -07:00
Vijay Pai
9dc5c15b56
Account for time difference in mac and linux
2015-06-03 11:34:53 -07:00
vjpai
afc3ee89ee
Merge branch 'master' into poisson
2015-06-03 10:13:48 -07:00
Craig Tiller
669c139a4a
Merge pull request #1866 from dgquintas/stack-allocate-bb-reader
...
Removed grpc_byte_buffer_reader_{create,destroy}.
2015-06-02 16:59:00 -07:00
Craig Tiller
a4b89fed1c
Merge github.com:grpc/grpc into you-complete-me
...
Conflicts:
src/core/iomgr/resolve_address_posix.c
src/core/surface/server.c
2015-06-02 16:55:54 -07:00
vjpai
3beb20c3e2
Support use of high_res clock in timepoints
2015-06-02 13:58:44 -07:00
David Garcia Quintas
30bd4eb5cc
Removed grpc_byte_buffer_reader_{create,destroy}.
...
Introduced grpc_byte_buffer_init instead. It's now the user's responsibility to
manage memory.
2015-06-01 21:20:47 -07:00
Craig Tiller
14556ecf8c
Merge branch 'count-the-things' into we-dont-need-no-backup
...
Conflicts:
Makefile
src/core/iomgr/pollset_posix.c
src/core/surface/call.c
src/core/surface/channel.c
src/core/surface/server.c
src/python/src/grpc/_adapter/_low_test.py
tools/doxygen/Doxyfile.core.internal
2015-06-01 20:31:27 -07:00
Yang Gao
69fe0759be
Various minor fixes
2015-06-01 14:32:38 -07:00
Craig Tiller
aaa03d74ce
Merge github.com:grpc/grpc into you-complete-me
2015-06-01 08:48:45 -07:00
Craig Tiller
131b3ed3cb
Merge branch 'demon-on-wheels' into we-dont-need-no-cv
2015-05-29 07:56:00 -07:00
Yang Gao
7b49a7737c
Leak fix, the metadata array should be destroyed on the server SyncRequest
2015-05-28 14:07:54 -07:00
Craig Tiller
29f79dcb08
Make C/C++ tests pass
2015-05-27 15:59:23 -07:00
Craig Tiller
bce999f57f
Refine shutdown API
2015-05-27 09:55:51 -07:00
Craig Tiller
4f8b679a49
Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
...
Conflicts:
Makefile
build.json
2015-05-19 09:13:35 -07:00
Craig Tiller
dd093f33f6
Remove some bad asserts
2015-05-15 16:29:58 -07:00
Yang Gao
280ca17d79
resolve comments
2015-05-15 10:25:10 -07:00
Yang Gao
a89389283f
support per call credentials in c++
2015-05-14 11:51:07 -07:00
Craig Tiller
54478f8562
Merge github.com:grpc/grpc into bye-bye-completion-queue-pie
2015-05-12 14:08:56 -07:00
Craig Tiller
cc82be534e
Merge github.com:grpc/grpc into bye-bye-completion-queue-pie
2015-05-08 08:38:53 -07:00
Craig Tiller
a33acb7021
Correct C++ build errors
2015-05-08 08:02:55 -07:00
Craig Tiller
fee0cfa0d5
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
...
Conflicts:
src/cpp/server/server.cc
2015-05-08 07:46:46 -07:00
Yang Gao
b8a5f866f2
do not request another call if server is shutdown
2015-05-07 16:26:33 -07:00
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
2015-05-06 11:45:59 -07:00
Craig Tiller
5fdcbb7fbe
Merge github.com:grpc/grpc into bye-bye-completion-queue-pie
2015-05-05 08:44:47 -07:00
Craig Tiller
64be9f7a30
C Core API cleanup.
...
Simplify grpc_event into something that can be non-heap allocated.
Deprecate grpc_event_finish.
Remove grpc_op_error - use an int as this is more idiomatic C style.
2015-05-04 14:53:51 -07:00
Yang Gao
c71a9d2b56
clang-format
2015-05-04 00:22:12 -07:00
Yang Gao
f7d05b572b
make server tolerate deserialization failure
2015-05-04 00:14:02 -07:00
Yang Gao
ea13af73e0
merge with head
2015-05-01 11:34:45 -07:00
Yang Gao
87344c88d5
Merge pull request #1397 from ctiller/delete-the-old-api
...
Delete the old api
2015-05-01 11:23:26 -07:00
Yang Gao
3921c56bee
Expose max message size at the server side
2015-04-30 16:07:06 -07:00
Craig Tiller
f96dbc784d
Fix for a crash seen in the wild
2015-04-30 14:20:01 -07:00
Craig Tiller
12608921f6
Merge branch 'delete-the-old-api' of github.com:ctiller/grpc into delete-the-old-api
2015-04-30 13:49:18 -07:00
Craig Tiller
76dcd38332
Hack to get Mac end2end test working
2015-04-29 16:42:11 -07:00
David Garcia Quintas
bbc0b775e1
Merge comments. See below.
...
- Added ptag ignore annotation threshold
- prefixed everythig with grpc_
- removed spurious annotations in channel_create.c and client_channel.c
- removed stap_probes.h (it's generated from stap_probes.d by make)
- Updated Makefile and its template with the right way to generate stap
probe headers from its .d definition.
2015-04-29 14:10:05 -07:00
David Garcia Quintas
45d54e4581
Merge remote-tracking branch 'upstream/master' into stap
2015-04-29 09:48:43 -07:00
David Garcia Quintas
8954e90b72
Integration of Systemtap (STAP) for profiling.
...
This commit includes a faulty Makefile to be fixed in a follow commit.
2015-04-29 09:46:33 -07:00
Yang Gao
6eda2d7c8e
Merge pull request #1386 from ctiller/cxx
...
Mac C++ compile fix
2015-04-28 17:07:35 -07:00
Craig Tiller
c9fd80e6e5
Merge github.com:grpc/grpc into one-pass
2015-04-28 07:43:25 -07:00
Craig Tiller
a3c42cdcaf
Merge pull request #1378 from nicolasnoble/vs2010
...
Few VS2010 fixes.
2015-04-28 07:40:40 -07:00
Craig Tiller
b11728b90d
Mac C++ compile fix
2015-04-27 18:27:41 -07:00
Craig Tiller
00e5b2a82c
Mac C++ compile fix
2015-04-27 18:27:04 -07:00
Nicolas Noble
3086203834
Few VS2010 fixes.
...
-) = delete isn't supported. Moving destructor out of scope.
-) variadic templates aren't supported. Replacing emplace_back's construction.
-) C++11's {} inline construction isn't supported. Adding temporary variables.
-) std::list<> can't work on a non-declared class. Changing to a raw pointer.
2015-04-28 00:27:30 +02:00
Craig Tiller
1fb99552b7
Fix early shutdown: await client context deletion before channel deletion
2015-04-27 08:55:50 -07:00
Craig Tiller
a2b32f1133
Fix early shutdown: await client context deletion before channel deletion
2015-04-27 08:55:08 -07:00
Craig Tiller
7305dc69e6
Merge pull request #1227 from nicolasnoble/the-purge-2
...
Refactoring std::chrono out.
2015-04-24 17:57:49 -07:00
Yang Gao
fa74ec4617
Merge pull request #1359 from a11r/cc2
...
Test client stream cancellation and fix bug exposed by the test.
2015-04-24 15:16:51 -07:00
Nicolas "Pixel" Noble
fd2bf675f7
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble
e24dde5736
Adressing comments.
2015-04-24 00:52:57 +02:00
Nicolas "Pixel" Noble
23be280366
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
src/cpp/client/channel.cc
vsprojects/vs2010/grpc++.vcxproj
vsprojects/vs2013/grpc++.vcxproj.filters
2015-04-24 00:38:19 +02:00
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
2015-04-23 14:59:49 -07:00
Yang Gao
3b3097fb7a
Remove an extra unref
2015-04-21 11:47:45 -07:00
Craig Tiller
277d3cff7e
clang-format
2015-04-16 09:30:01 -07:00
Craig Tiller
15f9f95312
Use channel tags to call methods
2015-04-16 09:29:17 -07:00
Craig Tiller
3beef68d39
Populate channel tags for methods
2015-04-16 09:29:17 -07:00
Craig Tiller
62d2896665
Add facility to register methods in C++
2015-04-16 09:29:17 -07:00
Craig Tiller
53a38d4699
Make RpcMethod constructor take all args
2015-04-16 09:29:17 -07:00
Vijay Pai
7b3aba5e27
Fix some name choices
2015-04-15 10:48:31 -07:00
Vijay Pai
0163460bd6
Mark creation of call, performing ops on channel
2015-04-15 02:09:52 -07:00
Vijay Pai
fad38ba430
Add client-side marks for proto processing.
...
Need to go in and fill in tag later
2015-04-15 01:06:58 -07:00
Vijay Pai
9ffbd0ca4d
Mark proto ser/deser on server side
2015-04-15 01:02:50 -07:00
Nicolas "Pixel" Noble
b7c2035e83
Merge branch 'master' of https://github.com/grpc/grpc into the-purge-2
...
Conflicts:
test/cpp/end2end/async_end2end_test.cc
test/cpp/end2end/end2end_test.cc
test/cpp/interop/client.cc
2015-04-11 01:53:09 +02:00
Julien Boeuf
fce25eee5d
Addressing comments.
2015-04-10 08:44:20 -07:00
Julien Boeuf
1d2240cc6c
Have the secure credentials in separate header files.
2015-04-09 21:07:56 -07:00
Nicolas Noble
89219162dd
Refactoring std::chrono out.
2015-04-08 05:42:08 +02:00
Nicolas "Pixel" Noble
ff2828be3d
Rewriting mutex, condition_variable, and thread.
2015-04-04 02:06:13 +02:00
Nicolas "Pixel" Noble
ae96ae2bad
Starting off by removing all offending headers.
2015-04-03 00:29:15 +02:00
Yang Gao
e9866e977e
resolve comment
2015-04-02 10:27:50 -07:00
Yang Gao
b53af532af
Bug fix. User can destroy status after calling Finish and we should keep a copy of it instead of a pointer
2015-04-02 09:24:39 -07:00
Yang Gao
fbf8a37c5e
Merge branch 'master' into cancel
2015-03-30 10:44:05 -07:00
Yang Gao
48bbd000eb
merge upstream and resolve conflict
2015-03-26 23:12:14 -07:00
vjpai
f865a6bae9
Merge remote-tracking branch 'upstream/master' into fix_gcc_4_4
2015-03-25 15:02:37 -07:00
vjpai
d5933b6184
Remove lambda expression being used in grpc C++ library
2015-03-25 14:55:56 -07:00
Vijay Pai
335b97df8c
Revert "Remove lambda expression to support older compilers"
...
This reverts commit 5d5b1d8c8e .
2015-03-25 14:44:01 -07:00
vjpai
5d5b1d8c8e
Remove lambda expression to support older compilers
2015-03-25 14:32:30 -07:00
Nicolas Noble
96e32aa0a5
Merge pull request #1133 from yang-g/cleanup
...
clean up
2015-03-25 12:38:40 -07:00
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
2015-03-25 10:36:16 -07:00
vjpai
df9f764bf8
Revert "Allow nullptr to be passed in if user doesn't care about tag"
...
This reverts commit 4cba0ca39c .
2015-03-24 22:54:39 -07:00
vjpai
4cba0ca39c
Allow nullptr to be passed in if user doesn't care about tag
...
for next,asyncnext
2015-03-24 18:01:37 -07:00
Vijay Pai
8dafd52cea
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc .
2015-03-24 11:36:17 -07:00
Vijay Pai
652b7e983b
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc .
2015-03-24 10:38:18 -07:00
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
2015-03-24 10:36:08 -07:00
Vijay Pai
046d92dcb0
Merge remote-tracking branch 'upstream/master'
2015-03-23 10:26:50 -07:00
Yang Gao
1205f6f534
Set cq_ on servercontext
2015-03-22 15:18:14 -07:00
Vijay Pai
8c8588c7dc
Remove dead members of server context
2015-03-22 12:39:10 -07:00
Yang Gao
cdb2a6e071
Protect on some overflow scenarios, add a test and build/run the test
2015-03-20 23:55:04 -07:00
Yang Gao
b7b965c842
Make Next free of time_point to timespec conversion
2015-03-20 15:27:51 -07:00
Yang Gao
993d540e37
covert test to use generic stub
2015-03-19 13:35:49 -07:00
Jan Tattermusch
5e36d0d474
Merge pull request #1093 from nicolasnoble/windows
...
Various Windows fixes.
2015-03-19 10:29:47 -07:00
Yang Gao
d1b9e64b2d
Merge branch 'master' into genericstub
2015-03-19 09:38:28 -07:00
Yang Gao
1fc046902c
sync to head and run clang-format again
2015-03-19 07:23:08 -07:00
Yang Gao
75e2f6d839
Implementation of generic stub
2015-03-19 07:04:38 -07:00
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
2015-03-19 04:21:22 +01:00
jboeuf
a8edeae6c0
Merge pull request #1072 from yang-g/refreshtoken
...
wrap refresh token credentials in c++
2015-03-18 09:53:09 -07:00
Yang Gao
5ebd6c76a2
wrap refresh token credentials in c++
2015-03-17 16:22:32 -07:00
Yang Gao
d672d8fbe2
resolve merge confict
2015-03-17 15:47:47 -07:00
Yang Gao
700bdeb6f5
Merge pull request #1023 from vjpai/async
...
Non-blocking Next method for C++ async completion queue
2015-03-17 15:45:33 -07:00
Yang Gao
6baa9b67ad
clang-format c++ code
2015-03-17 10:49:39 -07:00
vjpai
7aadf46fdb
Change to std::chrono and add a test.
2015-03-17 00:39:18 -07:00
Yang Gao
1ad253d137
expose the server's cq through the generic service object
2015-03-16 13:11:29 -07:00
Yang Gao
5333c5a261
Merge branch 'master' into untypedAPI
2015-03-16 11:39:14 -07:00
jboeuf
c91a9f942e
Merge pull request #1011 from yang-g/jwt
...
Put back C++ JWTCredentials code and add a test case in interop test.
2015-03-16 10:04:08 -07:00
Ruyi Wang
b486ba6b0d
remove 'else' code, release lock by destructor
2015-03-14 22:22:32 +08:00
Yang Gao
2fbbb9bd95
copy and paste does not work
2015-03-13 16:10:14 -07:00
Yang Gao
94e296c357
Add error logs when credentials are created with non-positive lifetimes
2015-03-13 16:06:56 -07:00
Nicolas "Pixel" Noble
764971354c
Allowing us to import google::protobuf::int64.
...
If for any reason, our definition of gpr_int64 is different from the definition of google::protobuf::int64, the virtual override would fail, as this needs to be of the precisely exactly the same type.
That change allows us to use protobuf's int64 definition.
2015-03-13 23:26:08 +01:00
Yang Gao
0049c51c1a
Merge pull request #1032 from nicolasnoble/protobuf-alternate
...
Adding support for alternative protobuf libraries.
2015-03-13 13:40:20 -07:00
Yang Gao
2729fbadcf
wording change
2015-03-13 13:28:09 -07:00
Nicolas "Pixel" Noble
613d6fe997
Moving ZeroCopyOutputStream to grpc++/config.h.
2015-03-13 18:36:39 +01:00
Yang Gao
05e3eefcf8
Early return when duration is non-positive
2015-03-12 23:41:46 -07:00
Yang Gao
4999649653
Rename to AsyncGeneric*
2015-03-12 16:40:19 -07:00
Vijay Pai
3e0a46a1c4
Change behavior to properly account for possibility of NULL
...
tag. This can happen if the tag is actually an integer being
typecast to void*
To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.
Still needs proper testing for the AsyncNext method specifically.
2015-03-12 05:16:31 -07:00
Chilledheart
e3bbcca12c
Add missing GRPC_OVERRIDE, NFC
2015-03-12 18:21:18 +08:00
Yang Gao
2a3c96a869
resolve leak, now asan clean
2015-03-11 23:32:40 -07:00
Yang Gao
005eb88c45
Rename anonymous to generic globally
2015-03-11 22:17:13 -07:00
Vijay Pai
ee705f6d66
Add support for deadline on CompletionQueue::Next
...
If the deadline elapses, return true but have a null tag.
2015-03-11 15:52:43 -07:00
Yang Gao
0535da3068
The Jwt code was dropped somewhere in a merge. Put it back
2015-03-11 14:51:03 -07:00
Yang Gao
2fe6ecebee
Merge branch 'master' into untypedAPI
2015-03-11 14:30:35 -07:00
Vijay Pai
ea8d8dedc6
Merge pull request #998 from yang-g/nameoverride
...
Use ssl name override if it's in the channel argument
2015-03-11 11:04:37 -07:00
Yang Gao
0fd94409a0
Expose server cq for polling incoming anonymous rpcs
2015-03-11 00:10:10 -07:00
Yang Gao
bc5d466c97
Merge branch 'master' into untypedAPI
2015-03-10 22:58:00 -07:00
Yang Gao
42734b58ee
Merge pull request #978 from Chilledheart/master
...
Avoid unnecessary copies during protobuf serialization and deserialization
2015-03-10 22:56:02 -07:00
Yang Gao
f82a30d90a
Use ssl name override if it's in the channel argument
2015-03-10 14:17:33 -07:00
Yang Gao
fccea1f70e
merge with upstream and resolve conflict
2015-03-10 13:17:39 -07:00
Yang Gao
086cd1108c
read and copy add two ref's, unref one
2015-03-10 12:51:05 -07:00
Yang Gao
61c413182d
initial imple of byte buffer and slice
2015-03-10 12:42:18 -07:00
Chilledheart
bf5ec2fd3d
Avoid unnecessary copies during protobuf serialization and deserialization
...
- avoid string copy due to google::protobuf::message::SerializeToString
- avoid string copy due to google::protobuf::message::ParseFromString
- split large message into 8k slices during protobuf serialization
- correct GrpcBufferReader::BackUp
2015-03-10 01:21:34 +08:00
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
2015-03-06 16:11:16 -08:00
Yang Gao
1c40233814
first sets of changes, it builds
2015-03-05 16:39:25 -08:00
Craig Tiller
346a08606a
Merge github.com:grpc/grpc into credit
2015-03-04 14:10:56 -08:00
Yang Gao
ee7ab3db2f
Remove include google/protobuf/message.h as it should be covered in config.h
2015-03-04 09:08:28 -08:00
Craig Tiller
e7460e87d3
Merge github.com:grpc/grpc into credit
2015-03-03 13:48:40 -08:00
Craig Tiller
c82c36b400
Merge pull request #920 from vjpai/async-probs
...
Solving crashes in async tests
2015-03-03 13:12:31 -08:00
Vijay Pai
dbb79631eb
Solve the call-suppression problem earlier in the stack
2015-03-03 11:54:27 -08:00
Yang Gao
7694c35d5f
Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed
2015-03-03 09:48:06 -08:00
Raul Silvera
02fe58d1bd
Propagate grpc_google_default_credentials_create errors
2015-03-02 18:42:19 -08:00
Vijay Pai
0823cb786b
Sanity checks for calls that were causing crashes
2015-03-02 15:48:51 -08:00
Craig Tiller
22176cbbf8
De-C++11-ification
2015-03-02 09:09:38 -08:00
Craig Tiller
1a43f87134
De-C++11-ification
2015-03-02 09:08:05 -08:00
Craig Tiller
61691f92c3
Merge github.com:grpc/grpc into credit
2015-03-02 08:51:52 -08:00
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
2015-03-01 06:18:14 +01:00
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
2015-02-26 14:27:05 -08:00
Craig Tiller
7c0f33dea9
Merge github.com:grpc/grpc into credit
2015-02-24 17:02:07 -08:00
Craig Tiller
6e57b9edb1
Add Server.Wait
2015-02-24 15:46:22 -08:00
Craig Tiller
25f6cd7a97
Merge github.com:grpc/grpc into credit
...
Conflicts:
examples/pubsub/publisher_test.cc
examples/pubsub/subscriber_test.cc
include/grpc++/create_channel.h
src/cpp/client/create_channel.cc
test/cpp/end2end/async_end2end_test.cc
test/cpp/end2end/end2end_test.cc
test/cpp/util/create_test_channel.cc
2015-02-24 08:12:05 -08:00
Craig Tiller
b9d91eb454
Merge github.com:google/grpc into deprecate-c++
...
Conflicts:
test/cpp/end2end/async_end2end_test.cc
test/cpp/end2end/end2end_test.cc
2015-02-23 17:13:40 -08:00
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
2015-02-23 15:38:52 -08:00
Craig Tiller
e8eb8a4fd4
Merge github.com:grpc/grpc into credit
2015-02-23 14:56:42 -08:00
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
2015-02-23 13:55:15 -08:00
Julien Boeuf
c66f2a816e
Addressing iniitial feedback.
...
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
- Adding Cpp wrapping for JWT Tokens.
- Renaming ComposeCredentials -> CompositeCredentials.
2015-02-23 13:00:36 -08:00
Craig Tiller
ad9d0c472d
Remove dynamic_cast
2015-02-23 10:53:01 -08:00
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -08:00
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
2015-02-23 09:58:22 -08:00
Mugur Marculescu
04e3a6e332
Merge pull request #619 from jayantkolhe/jayantkolhe-patch-2
...
Jayantkolhe patch 2 - Many documentation updates.
2015-02-19 11:53:20 -08:00
Jayant Kolhe
80949e36d3
Create README.md
2015-02-19 11:27:07 -08:00
Nicolas Noble
980a630e7f
Merge pull request #605 from vjpai/mac
...
Mac build is now ready
2015-02-19 10:17:03 -08:00
vjpai
cad5f0a448
Some compilers expect class SyncRequest to be declared fully and not just
...
forward-declared before the constructor for Server because this is needed
to manage exception handling for the class std::list that is templated
on SyncRequest
2015-02-18 22:02:52 -08:00
Craig Tiller
2d11c93ab5
Merge github.com:grpc/grpc into an-update-on-c++
2015-02-18 15:51:50 -08:00
Craig Tiller
d24d13d6eb
Simplify TryPluck
2015-02-18 15:35:32 -08:00
Craig Tiller
c7625b0e5f
Move header #include
2015-02-18 15:18:58 -08:00
Craig Tiller
8a287d1a1b
Merge pull request #588 from yang-g/c++api
...
Async client api change. Add a ClientAsyncResponseReader.
2015-02-18 14:50:14 -08:00
Yang Gao
3a5e5495e5
Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side.
2015-02-18 14:32:38 -08:00
Craig Tiller
eaaee49f9b
Merge github.com:grpc/grpc into an-update-on-c++
2015-02-18 13:14:15 -08:00
Craig Tiller
492968f7d9
Server side cancellation receive support
2015-02-18 13:14:03 -08:00
Craig Tiller
190d360def
Add missing new-lines at end of file
2015-02-18 09:23:38 -08:00
Craig Tiller
645466e089
Initial sketch
2015-02-18 09:18:33 -08:00
Craig Tiller
0605995e55
Update copyright to 2015
2015-02-18 08:34:56 -08:00
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
2015-02-18 00:45:53 -08:00
Yang Gao
caa5106c4f
also set got_message
2015-02-17 12:09:14 -08:00
Yang Gao
467d7bd414
When the entire op fails, the recv_message is always discarded.
2015-02-17 12:08:43 -08:00
Yang Gao
27658f41ba
Clear receive message buffer when adding it, so that any reused buffer will not appear when decoding fails.
2015-02-17 11:47:48 -08:00
Yang Gao
2cf952730d
Deserialization success should not override earlier failure
2015-02-17 11:01:07 -08:00
Yang Gao
d745705fff
formatting
2015-02-17 10:28:36 -08:00
Yang Gao
bb017c5568
should use c_str
2015-02-17 10:26:15 -08:00
Yang Gao
76b693f69a
Merge branch 'c++api' of github.com:ctiller/grpc into c++api
2015-02-17 10:22:59 -08:00
Yang Gao
f2c0ca4c62
Add setter to override authority header on ClientContext
2015-02-17 10:21:31 -08:00
Craig Tiller
f95487fd7c
Fix ASSERT condition
2015-02-17 10:19:40 -08:00
Craig Tiller
573523f127
clang-format
2015-02-17 07:38:26 -08:00
Yang Gao
406b32f663
Add missing APIs and a first metadata test, and test passes
2015-02-13 16:25:33 -08:00
Yang Gao
0c7aafaa0c
change AddRecvMessage signature
2015-02-12 22:51:38 -08:00
Yang Gao
cbc427a955
allow null got_message
2015-02-12 22:18:56 -08:00
Craig Tiller
c645306b64
Fixes
2015-02-12 17:32:57 -08:00
Yang Gao
31150f01db
implement async unary call
2015-02-12 16:44:00 -08:00
Yang Gao
555a0e9e77
Merge branch 'c++api' of github.com:ctiller/grpc into c++api
2015-02-12 16:12:36 -08:00
Yang Gao
cbcc977857
fix sync unary call with metadata pieces
2015-02-12 16:09:08 -08:00
Craig Tiller
ec3257c120
Fix end2end leaks
2015-02-12 15:59:43 -08:00
Craig Tiller
3d20c5e8c6
Merge pull request #13 from yang-g/c++api
...
Make codegen generate async client calls
2015-02-12 15:25:53 -08:00
Yang Gao
068c85b21c
make codegen generate async client calls
2015-02-12 15:21:24 -08:00
Craig Tiller
3d6ceb6461
Async server dispatch
2015-02-12 14:33:54 -08:00
Craig Tiller
1c9a2a91ca
Async API progress
2015-02-12 14:10:25 -08:00
Craig Tiller
8c8d0aa1d8
Async API progress
2015-02-12 11:38:36 -08:00
Craig Tiller
bc8e3db73e
Re-add mysteriously disappearing lines
2015-02-12 09:56:02 -08:00
Craig Tiller
2e70dc18c6
Merge pull request #10 from yang-g/c++api
...
Put in SendInitialMetadata and WaitForInitialMetadata in some places.
2015-02-12 09:49:24 -08:00
Craig Tiller
20bc56d890
Multi-completion-queue-server
...
Allow binding a different completion queue to each registered method.
This will allow multiplexing for the C++ server between sync & async
methods more easily.
2015-02-12 09:02:56 -08:00
Yang Gao
3ccdbe9bcc
Make SendInitialMetadata work.
2015-02-11 23:56:30 -08:00
Yang Gao
fd7199f64e
Add client side WaitForInitialMetadata for streaming.
2015-02-11 23:14:49 -08:00
Craig Tiller
0156752a66
Some streaming progress
2015-02-11 21:08:49 -08:00
Craig Tiller
504bd331ab
Make sure we get a close before stopping the server
2015-02-11 20:34:33 -08:00
Craig Tiller
4dd70173bd
This string is null terminated
2015-02-11 18:25:07 -08:00
Craig Tiller
bd217574fb
Fix server shutdown issues
...
First end2end test passes
2015-02-11 18:10:56 -08:00
Craig Tiller
39550b6c4c
Merge pull request #9 from yang-g/c++api
...
Add trailing metadata to client context and use it.
2015-02-11 16:50:09 -08:00
Craig Tiller
47a573602a
Fix ownership
2015-02-11 16:31:45 -08:00
Yang Gao
968ca530b2
Add trailing metadata to client context and use it.
2015-02-11 16:23:47 -08:00
Craig Tiller
9dcb0f8e1d
Send initial metadata
2015-02-11 15:36:31 -08:00
Craig Tiller
7596e7d12c
Tweak metadata sending
2015-02-11 14:13:52 -08:00
Yang Gao
2382293226
Make it compile
2015-02-11 13:59:25 -08:00
Yang Gao
1464bc175d
resolve conflict
2015-02-11 13:48:28 -08:00
Yang Gao
f1258c4951
save before the change
2015-02-11 13:44:11 -08:00
Craig Tiller
bb5227fc39
Allow server to hook calls also, fix crash
2015-02-11 13:34:48 -08:00
Craig Tiller
7c2f3f7af1
Fix typo causing crash
2015-02-11 13:21:54 -08:00
Craig Tiller
a5c0e7bc46
Initial metadata fix
2015-02-11 13:14:49 -08:00
Craig Tiller
3b29b566a2
Just use one completion queue per server for delivering completions
...
This simplifies (drastically) the polling story, although will slightly
complicate mixing sync & async servers - but we're not there yet.
2015-02-11 12:58:46 -08:00
Yang Gao
a7c49ab077
minor improvement
2015-02-11 11:49:33 -08:00
Yang Gao
a5e2a03fec
Merge branch 'c++api' of github.com:ctiller/grpc into c++api
2015-02-11 11:45:33 -08:00
Yang Gao
99b07d1ea7
fix conflict
2015-02-11 11:45:22 -08:00
Craig Tiller
854a30c73a
More implementation
2015-02-11 11:44:10 -08:00
Yang Gao
eb8e7cd922
Implement FinalizeResult
2015-02-11 11:43:40 -08:00
Craig Tiller
04c8ff0245
Fix FinalizeResult signature
2015-02-11 11:01:07 -08:00
Craig Tiller
b84aab7922
Merge branch 'c++api' of github.com:ctiller/grpc into c++api
2015-02-11 10:51:23 -08:00
Craig Tiller
c416577636
Server progress
2015-02-11 10:51:04 -08:00
Yang Gao
a52ea7bd1c
typo fix
2015-02-11 10:31:29 -08:00
Yang Gao
3f631bdec4
Remove stale call site.
2015-02-11 10:29:36 -08:00
Yang Gao
6d6b90376b
Release write buffer in FinalizeResult
2015-02-11 10:19:20 -08:00
Craig Tiller
1e67aeed22
Merge pull request #5 from yang-g/c++api
...
Implement FillOps
2015-02-11 07:51:45 -08:00
Yang Gao
d5a04bdc6e
Implement FillOps
2015-02-11 00:04:32 -08:00
Craig Tiller
cbd0485088
Simplify server ready for async path
2015-02-10 17:39:54 -08:00
Craig Tiller
36d18a089e
Fix compile
2015-02-10 17:05:56 -08:00
Yang Gao
7eb7d75c51
call implementation before the meeting
2015-02-10 14:23:15 -08:00
Craig Tiller
20f4af2e36
Move call.h -> impl/call.h
2015-02-10 09:52:15 -08:00
Craig Tiller
80e00a8c63
Stub out unary call wrapper
2015-02-09 20:54:25 -08:00
Craig Tiller
de917062ec
Refine completion queue
2015-02-09 17:15:03 -08:00
Craig Tiller
b470169252
Remove more unnecessary files
2015-02-09 16:12:00 -08:00
Craig Tiller
40fcdaff0a
Remove stream_context
2015-02-09 15:43:34 -08:00
Craig Tiller
1d2e21962e
Server progress
2015-02-09 15:25:21 -08:00
Craig Tiller
061754a483
Cleanup some cruft
2015-02-09 14:56:49 -08:00
Craig Tiller
7c72adcdc7
Make server.cc compile again
2015-02-09 14:07:26 -08:00
Craig Tiller
0db1befae1
Progress
2015-02-09 13:47:39 -08:00
Craig Tiller
14a65f9760
Further progress
2015-02-09 13:13:14 -08:00
Craig Tiller
2dff17d33b
Async API declarations
2015-02-09 12:42:23 -08:00
Craig Tiller
82ee98cc0d
Fix compile error
2015-02-09 10:50:20 -08:00
Craig Tiller
df2c957eee
Fix compile error
2015-02-09 10:49:38 -08:00
Craig Tiller
50950712c1
Further progress
2015-02-09 10:38:38 -08:00
Craig Tiller
c4965751a0
Starting to scratch out the API
2015-02-09 09:51:00 -08:00
Craig Tiller
6135107e4a
New completion queue
2015-02-06 17:17:24 -08:00
Craig Tiller
2a2bacccf3
Remove TODO
2015-02-06 16:36:37 -08:00
Craig Tiller
f834bdc3cf
Move completion_queue.cc to common
2015-02-06 16:36:05 -08:00
Craig Tiller
4b6ab78f36
Merge github.com:google/grpc into async-api
2015-02-04 16:32:56 -08:00
Vijay Pai
280744ec64
Merge remote-tracking branch 'upstream/master'
...
Resolve a conflict between adding write buffer hint
and the change of API
Conflicts:
src/cpp/server/async_server_context.cc
2015-02-04 11:43:50 -08:00
Vijay Pai
dbc0f5940a
Add write buffer hint to C++ server handlers so that writes actually go
...
out when expected.
2015-02-04 10:56:32 -08:00
Craig Tiller
c4f0ebe63b
Prepare for the new batch call API.
...
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 15:39:31 -08:00
Craig Tiller
40d2a4307b
Merge branch 'async-api-prep' of github.com:ctiller/grpc into async-api
2015-02-02 15:29:14 -08:00
Craig Tiller
d74fc6571c
Merge github.com:google/grpc into async-api
2015-02-02 12:37:47 -08:00
Craig Tiller
a7cac78516
Prepare for the new batch call API.
...
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 10:16:30 -08:00
Craig Tiller
b81df7e000
Fix an obvious bug
...
And make it easy not to make the same mistake
2015-02-01 22:15:43 -08:00
Craig Tiller
b1663e7465
Remove a major source of contention in thread_pool
...
- notify_one when new work is available to avoid thundering herd
problems
- checking conditions before entering cv_.wait() prevents a case that
these are not validated
2015-02-01 22:12:11 -08:00
Craig Tiller
cce17ac033
First compiling version of the new C api.
2015-01-27 13:54:14 -08:00
murgatroid99
48c9c4a59e
Resolved merge conflicts with master
2015-01-21 17:12:04 -08:00
Craig Tiller
724b7c693a
clang-format
2015-01-20 22:44:10 -08:00
Craig Tiller
8379a06f8d
Merge branch 'new_invoke_api' of github.com:google/grpc into update-api
...
Conflicts:
src/cpp/client/channel.cc
src/cpp/stream/stream_context.cc
src/cpp/stream/stream_context.h
src/php/ext/grpc/call.c
test/core/end2end/tests/max_concurrent_streams.c
2015-01-20 22:43:32 -08:00
Julien Boeuf
8fbcc4391e
Changing the SSL (Server) Credentials API.
...
- Changed the unsigned char * + size to NULL terminated strings which
makes sense for the PEM format. I may change TSI later (but the impact
will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
option to not specify the roots which will then be derived from the
environment (well-known platform dependent locations and/or
environment variable).
- Fixed the php build which is the only one added in the run_test.py.
This change will certainly break node, python and ruby.
2015-01-20 22:18:15 -08:00
Craig Tiller
ecd49345b5
Use clang-format-3.5
2015-01-18 14:36:47 -08:00
Craig Tiller
09b637538f
clang-format
2015-01-14 13:02:09 -08:00
Craig Tiller
6046dc35ef
clang-format
2015-01-14 12:55:45 -08:00
Craig Tiller
d248c24546
Update C++ code to set status via the C api.
...
This prevents mismatches from breaking tests.
2015-01-14 12:53:38 -08:00
Craig Tiller
2ba0dacbde
Update C++ code to set status via the C api.
...
This prevents mismatches from breaking tests.
2015-01-14 11:49:12 -08:00
Craig Tiller
f93d53e458
Starting to fix C++
2015-01-13 17:01:34 -08:00
Craig Tiller
b5dcec5a2e
clang-format codebase
2015-01-13 11:13:42 -08:00
nnoble
472f60edac
Fixing opensource build.
...
Change on 2015/01/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83810001
2015-01-12 18:46:33 -08:00
jboeuf
6ad120e435
Moving the google-internal security code in their own files.
...
Checked that the opensource version still builds.
Just addressing core for now. We will do c++ later.
Change on 2015/01/12 by jboeuf <jboeuf@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83804014
2015-01-12 17:36:57 -08:00
yangg
1b151096d1
Add impl subdirectory under public and move headers that need to be installed
...
to it.
Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83640373
2015-01-12 11:22:02 -08:00
yangg
4105e2b86c
Add ServiceAccount Credentials wrapping and handle credentials creation
...
failure.
Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634736
2015-01-12 11:22:01 -08:00
yangg
03df7f653a
Fix hostname for streaming.
...
Change on 2015/01/07 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83448769
2015-01-08 12:39:44 -08:00
yangg
ed5e7e006b
Add deadline API on server side.
...
Change on 2015/01/06 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83351442
2015-01-06 17:45:46 -08:00
chenw
a49839f0ff
fix MOE compliling error.
...
Change on 2014/12/22 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82682265
2014-12-29 17:21:43 -08:00
yangg
7cebec7ccd
Use overriden host name when creating a call.
...
Change on 2014/12/22 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82672321
2014-12-29 17:13:16 -08:00
yangg
59dfc90f57
Client side implementation of creating channel with credentials.
...
The old test_ssl_channel related code is deleted and the new create channel
call is used for interop tests.
Change on 2014/12/19 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82540921
2014-12-29 16:59:06 -08:00
yangg
246ec3bd3a
Set host to channel's target when creating a call.
...
Change on 2014/12/17 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82377896
2014-12-19 13:07:20 -08:00
yangg
a4b6f5df94
Add ServerContext. It is currently empty and deadline and metadata will come to
...
it in subsequent cl's.
Change on 2014/12/17 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82372934
2014-12-19 13:02:04 -08:00
yangg
081e2b0e63
Replace the deprecated grpc_call_accept calls with the equivalent two new
...
calls.
Change on 2014/12/17 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82368034
2014-12-17 15:55:56 -08:00
rsilvera
081e3200c8
Add missing casts to enable compilation with gcc 4.7
...
Change on 2014/12/16 by rsilvera <rsilvera@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82275653
2014-12-16 17:25:22 -08:00
ctiller
2845cade4c
Trailing metadata support.
...
Actually exposing it from the C API.
Also removing grpc_status, since it's mostly useless.
Change on 2014/12/15 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82180546
2014-12-16 16:57:49 -08:00
yangg
87da1b937d
Make the default deadline gpr_inf_future to avoid mismatch between
...
gpr_inf_future and time_point::max(). The redundant AbsoluteDeadline prefix is removed from the utility function names.
Now the ClientContext holds a gpr_timespec instead of a time_point.
A test will be added in the server side deadline support cl.
Change on 2014/12/11 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81920769
2014-12-12 16:08:10 -08:00
yangg
9e21f7281f
Add server side credentials support.
...
Make interop test use ssl by default.
Change on 2014/12/08 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81619141
2014-12-08 18:50:13 -08:00
nnoble
0c475f0ad7
Updating moe_db.txt with the latest equivalence since the ruby import changed the exported structure.
...
Change on 2014/12/01 by nnoble <nnoble@google.com>
-------------
new [] file for grpc testing.
Change on 2014/12/02 by donnadionne <donnadionne@google.com>
-------------
Fix unfinished calls in thread_stress_test.
Previously we had an early return if we cancelled a stream part way through a
message. Correct this, so that half close and full close signals are propagated
up the stack correctly so that higher level state machines can see the
termination.
Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Remove dependency on internal C code.
Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Turn off the flaky bit from thread_stress_test.
Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Add test cases of empty request/response, request streaming, response streaming, and half duplex streaming.
Bring up the GFE/ESF for mannual test:
[] build java/com/google/net/[]/testing/integration/hexa:server_components_env
[]-bin/java/com/google/net/[]/testing/integration/hexa/server_components_env --manual --rpc_port=25000 --use_autobahn
Change on 2014/12/02 by chenw <chenw@google.com>
-------------
Make echo/server.c and fling/server.c shutdown cleanly on SIGINT, and update
the relevant tests to exercise this mechanism.
Now "[] coverage" and the memory leak detector are able to see into the
server processes.
Change on 2014/12/02 by pmarks <pmarks@google.com>
-------------
Allow the # of channels to be configurable in this performance test. The threads will use the channels in statically-defined round-robin order (not based on when RPCs complete on any channel). The interesting cases are #channels=1 or #channels=#threads (we previously only had the latter case)
Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Fixed a typo and reworded a comment.
Change on 2014/12/02 by gnezdo <gnezdo@google.com>
-------------
Require the grpc_call in this ClientContext to be NULL before allowing set_call to be invoked. Otherwise, it's an indication of a leak somewhere.
Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Correctly return status other than ok and add a test for it.
Change on 2014/12/02 by yangg <yangg@google.com>
-------------
Better C++ guards for grpc_security.h
Change on 2014/12/02 by nnoble <nnoble@google.com>
-------------
Use nullptr instead of NULL for consistency.
Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Updates the ruby gRPC service class to require the serialization method to be
a static method
- this brings it inline with the proto3 ruby API
- it adds a monkey patch to allow existing proto (beefcake) to continue working.
Change on 2014/12/02 by temiola <temiola@google.com>
-------------
Adding a buildable unit to the blue print file.
Added the buildable unit as its name will be usesd as tap project id.
This test will fail right away in tap until tests are actually added.
Change on 2014/12/02 by donnadionne <donnadionne@google.com>
-------------
Move interop ESF C++ server from Java to grpc directory.
Tests passed:
[] test javatests/com/google/net/[]/testing/integration/hexa/...
[] test net/grpc/testing/interop/esf_server/...
Change on 2014/12/02 by chenw <chenw@google.com>
-------------
Return a lame channel as opposed to NULL when secure channel creation fails.
- Looks like we're going to need something similar server-side.
- I changed the prototype of the lame client channel factory to take an
explicit void as I think this is better practice in C. Let me know if you
disagree and I will revert these changes.
Change on 2014/12/02 by jboeuf <jboeuf@google.com>
-------------
Putting ALPN support where it belongs.
Change on 2014/12/02 by jboeuf <jboeuf@google.com>
-------------
GOAWAY send path.
Sends a GOAWAY frame when shutting down.
This is not read and understood yet.
Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Adds support for secure channels and servers.
- wraps new C apis (credentials, server_credentials) and Server#add_secure_http_port
- adds tests to ensure credentials and server credentials can be created
- updates client_server_spec to run the client_server wrapper layer end-to-end tests using a secure channel
Change on 2014/12/03 by temiola <temiola@google.com>
-------------
Fix existing issues regarding out of order events.
At the client side, using pluck as the client_metadata_read can happen anytime after invoke.
At the server side, allow halfclose_ok and rpc_end to come in reverse order.
Change on 2014/12/03 by yangg <yangg@google.com>
-------------
Don't track coverage of tests.
Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Change UnaryCall to conform standard test requirement of LargeUnaryCall.
Change on 2014/12/03 by yangg <yangg@google.com>
-------------
updating alpn version to h2-15 ensure all interop are on the same version and working.
Java and go are not ready for h2-16 yet.
Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Add config to bring echo server in [].
This is used to test production GFE as its bckend.
Change on 2014/12/03 by chenw <chenw@google.com>
-------------
In preparation for fixing shutdown race issues, change em to take ownership of
the file descriptor. Add an API to grpc_tcp to take an already created
grpc_em_fd object, and change tcp_client to use that API.
This is needed because otherwise an em user's close() of the file descriptor
may race with libevent internals. That's not an issue yet because destroy()
frees the events inline, but that can't be done safely if there is a concurrent
poller.
Change on 2014/12/03 by klempner <klempner@google.com>
-------------
Fixing TAP opensource build
We don't want to compile and run C++ tests in the C target.
Change on 2014/12/03 by nnoble <nnoble@google.com>
-------------
Move and separate interop tests by languages.
Small fixes to the test runner.
Improving logging.
Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Fixing the opensource build:
-) The C/C++ split wasn't done up to the 'dep' target level
-) The alpn.c file was missing from build.json
Change on 2014/12/03 by nnoble <nnoble@google.com>
-------------
Adding blue print files after projects exist
Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Refactor StreamContext using the new completion_queue_pluck API.
The dedicated the poller thread has been removed.
This CL keeps the current behavior to make it short. There is one following to
make it usable for both client and server.
The tags for pluck is based on the address of this StreamContext object for potential debug use.
The Read/Write and Wait cannot be called concurrently now and this might need to be fixed.
Change on 2014/12/03 by yangg <yangg@google.com>
-------------
Binary encoding utilities.
Support base64 encoding, HPACK static huffman encoding, and doing both at once.
Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Enforce Makefile regeneration in presubmits.
Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Make CloseSend() send a real zero-length control message to indicate EOS.
Change on 2014/12/03 by zhaoq <zhaoq@google.com>
-------------
Prefer to create dualstack sockets for TCP clients and servers, with automatic
fallback for environments where IPV6_V6ONLY can't be turned off.
Change on 2014/12/03 by pmarks <pmarks@google.com>
-------------
Add opensource path to build targets.
Ensure that MOE is going to run.
Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Add PingPong test case. Delete FullDuplex test case. The latter is not specified for client in
https://docs.google.com/document/d/1dwrPpIu5EqiKVsquZfoOqTj7vP8fa1i49gornJo50Qw/edit#
Change on 2014/12/03 by chenw <chenw@google.com>
-------------
Make generate_projects.sh check out the generated targets.
Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
rspec cleanup
- stops declaring specs within the GRPC module
- splits Bidi streaming specs into a separate test suite
adding tests in the GRPC module was a mistake, it pollutes the module and can
affect other tests that run later by the test runner
the bidi tests are currently flaky, having them run in their own test suite
allows having two separate continuous builds (once ruby gRPC is on GitHub),
one that includes bidi where we tolerate flakiness, and another that does not,
where there should be no flakiness at all
Change on 2014/12/03 by temiola <temiola@google.com>
-------------
Adding support for composite and IAM credentials.
- For now, we don't do any checks on credentials compatibility in the
composite credentials. Maybe we'll add that later.
- Refactored the end to end security tests so that we always use the public API
(except for the fake security context which is not exposed).
Change on 2014/12/03 by jboeuf <jboeuf@google.com>
-------------
Make GPR library buildable in Visual Studio 2013.
Change on 2014/12/04 by jtattermusch <jtattermusch@google.com>
-------------
Adds codegen for ruby
This is being added now that ruby's proto and grpc apis are defined and stable
Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Prevent NewStream() from sending negative or 0 timeout.
Change on 2014/12/04 by zhaoq <zhaoq@google.com>
-------------
Add a grpc_sockaddr_to_string() function, and use it when logging bind
failures. Also improve const-correctness in some earlier code.
I'm not certain whether inet_ntop() will need any platform-specific
implementations, but for now the compiler offers no complaints.
Demo:
$ []-bin/net/grpc/c/echo_server 1.2.3.4:80
... tcp_server.c:139] bind addr=[::ffff:1.2.3.4]:80: Permission denied
Change on 2014/12/04 by pmarks <pmarks@google.com>
-------------
Refactoring - moves c wrapped classes to a submodule Google::RPC::Core
- this allows for an explicit rule when reading through gRPC ruby code for telling
when an object is pure ruby or wrapped C
Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Fixes the bidi_call
[]
Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Fixing dev build when activating surface traces.
Change on 2014/12/04 by nnoble <nnoble@google.com>
-------------
Updates the tests to reflect that fact that some Credentials compose works.
Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Making the generate_project_test actually do something.
Change on 2014/12/04 by nnoble <nnoble@google.com>
-------------
Rename "esf_server" to "[]4_server". Delete "test_sever" from Java directory.
Change on 2014/12/04 by chenw <chenw@google.com>
-------------
Added PHP client interop tests. Tested large_unary against the C++ server.
Change on 2014/12/04 by mlumish <mlumish@google.com>
-------------
Refactor grpc_create_dualstack_socket() by pulling the setsockopt into its own
function. This separates the magic test flag from the real fallback logic.
Change on 2014/12/04 by pmarks <pmarks@google.com>
-------------
Fixes the type of the constant used for test cert hostname
Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Disabling these tests as they're causing flakiness.
Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Change intptr --> uintptr.
Handles the case where a void* turns into a negative number, which then gets
hashed into a negative bucket and segfaults.
Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Add a test fixture to force parsers to handle one byte at a time.
This should expand coverage and hopefully prevent errors at some point (it
seems to pass out of the box for now though).
Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
The code generator isn't +x.
Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Updates math_client and math_server to allow construction using crednetials
By:
- Extending rpc_server constructor so that it takes a credentials keyword param
- Extending client_stub constructor so that it takes a credentials keyword param
Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Format output a little more nicely.
Print each line of output separately - previously logging.info was truncating this at some maximum length, and logs were getting lost.
Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Up timeout for this test.
Under TSAN, if we process one byte at a time, this timeout can be reached - and I think this is the cause of the following flake:
[]
Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Adding more error logging for ssl.
Change on 2014/12/05 by jboeuf <jboeuf@google.com>
-------------
Read path for goaway.
Still need to add hooks to deprecate a channel on the client side when goaway
is received.
Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Separate accept() into server_accept() and server_end_of_initial_metadata().
This allows servers to initiate reads before finishing writing metadata.
Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Fix for breakage 11512317 - adding missing test files.
Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
grpc c++ server side streaming support.
This is based on [] There is a lot of room to clean up the internal implementation which may require refactoring of CompletionQueue. The current cl serves as a working implementation with the missing interfaces.
The sample generated files are included and will be removed before submitting.
Change on 2014/12/05 by yangg <yangg@google.com>
-------------
Changed to the latest timeout format again (search "grpc-timeout" in [] for the spec).
Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Fixing opensource build.
Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Making absolutely sure we can do the moe export by adding a sh_test for it.
Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Change :scheme psuedo-header from "grpc" to "http" or "https".
Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Add server credential wrapping for c++ server. It only wraps ssl and []2 for now.
The ServerCredentials class and the factory class are in a similar fashion as
client side wrapping. The difference is the factory method returns shared_ptr
instead of unique_ptr as the server builder needs to keep a reference to it for
actually creating the server later.
The integration will happen in a following cl.
Change on 2014/12/05 by yangg <yangg@google.com>
-------------
Fixed bugs in new_grpc_docker_builder.sh
Change on 2014/12/05 by mlumish <mlumish@google.com>
-------------
In secure endpoint, hold a refcount for the life of a write callback if the
write does not complete immediately.
Change on 2014/12/05 by klempner <klempner@google.com>
-------------
Add migration support to MOE and have TAP verify it doesn't break.
Migration support allows mirroring commits from [] into the git repo, instead of just a dump of the current source.
Change on 2014/12/05 by ejona <ejona@google.com>
-------------
Change initial window size to 65535 according http2 draft 15.
Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Re-enable the flaky cases in dualstack_socket_test, with additional logging to
help track down the problem if it surfaces again.
This also seems like a good opportunity to make grpc_socket_utils a separate
library, as it's not really specific to TCP.
Example output:
logspam: [], 26570) resolved 2 addrs in 37ms:
logspam: [0] [::1]:26570
logspam: [1] 127.0.0.1:26570
Change on 2014/12/05 by pmarks <pmarks@google.com>
-------------
Opensource build fixes.
-) A function that has a return type should actually return something.
-) Don't pass unsigned chars to strlen and strncmp.
Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81458281
2014-12-05 16:00:44 -08:00
Nicolas Noble
b7ebd3b8c6
Initial import.
2014-11-26 16:33:03 -08:00