Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
2015-09-02 02:29:16 +02:00
Julien Boeuf
821de3439f
Addressing comments.
2015-08-28 16:31:20 -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
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
yang-g
730055d962
implementation fix
2015-08-27 12:29:45 -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
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
3e4bd9598b
merge with head
2015-08-24 15:54:07 -07:00
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
2015-08-24 10:52:33 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
Craig Tiller
d6c98df792
clang-format all source
2015-08-18 09:33:44 -07:00
yang-g
c31cd86a74
Let lame_client accept error status
2015-08-17 15:37:27 -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
9b7757dd35
Use a sync service to handle requests to unknown services
2015-08-13 11:15:53 -07:00
David G. Quintas
086a982744
Removed "<:" bigram confusing gcc 4.4
...
Resulted in error:
```test/cpp/end2end/end2end_test.cc:120: error: ‘<::’ cannot begin a template-argument list
test/cpp/end2end/end2end_test.cc:120: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
test/cpp/end2end/end2end_test.cc:120: note: (if you use ‘-fpermissive’ G++ will accept your code)
make: *** [objs/opt/test/cpp/end2end/end2end_test.o] Error 1```
2015-08-11 18:56:10 -07:00
yang-g
cec757f22a
Fix build
2015-08-06 22:53:58 -07: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
yang-g
36f5965247
clean up and add a test
2015-08-05 15:15:18 -07:00
Craig Tiller
82389ecf1a
Merge branch 'primary-goat-whisperer' into the-test-be-sleepy
2015-08-04 09:01:36 -07:00
Craig Tiller
fb21ae6040
Re-enable all the tests
2015-08-03 10:16:11 -07:00
Craig Tiller
7c1be05463
Line up starting times
2015-07-31 15:38:37 -07:00
yang-g
8ab383686b
add a test where a read and a writesdone happen at the same time
2015-07-31 14:05:33 -07:00
yang-g
dcf6c90b33
merge with head
2015-07-30 11:35:18 -07:00
yang-g
d7ead699f8
Add a test
2015-07-30 10:57:45 -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
Yang Gao
2a31304d7f
Merge pull request #2647 from vjpai/deepend
...
Dynamic-sized thread pool
2015-07-24 23:08:27 -07:00
Yang Gao
1fedc800dc
Merge pull request #2655 from vjpai/expecteq
...
Switch an int to size_t or else it fails on Mac
2015-07-24 21:59:03 -07:00
jboeuf
5749a3f467
Merge pull request #2605 from yang-g/fake_transport_security_to_private
...
Fake transport security to private
2015-07-24 21:30:35 -07:00
vjpai
51d22752d6
Switch an int to size_t or else it fails on Mac
2015-07-24 14:11:04 -07:00
Vijay Pai
f0c66c6365
Merge branch 'master' into deepend
2015-07-24 10:51:27 -07:00
Vijay Pai
1f3e6c1ebe
Start switching everything to dynamic pool
2015-07-23 16:18:21 -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
yang-g
6f30decf79
Flow control fix
2015-07-22 23:14:43 -07:00
Yang Gao
1451f2e919
Merge pull request #2571 from vjpai/cent6-issues
...
Remove one range-based for and do appropriate static casts on nullptr
2015-07-22 21:30:00 -07:00
yang-g
70a1337045
merge head and resolve conflict
2015-07-22 00:08:06 -07:00
yang-g
8b25f2aaeb
move fake_transport_security_credentials to private API
2015-07-21 23:54:36 -07:00
Vijay Pai
c4af224970
Remove one range-based for and do appropriate static casts on nullptr
2015-07-21 18:44:20 +00: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
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
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
c9fef6f521
Merge github.com:grpc/grpc into no-worries-i-can-wait
2015-07-17 14:41:12 -07:00
David Garcia Quintas
7cceb09b79
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-16 17:01:18 -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
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
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
Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
2015-07-14 13:52:48 -07:00
vjpai
df551611d4
Remove reference to nullptr to avoid compiler seeing ambiguity in gcc-4.4
...
build. The issue is that gcc below 4.6 require us to explicitly define nullptr,
and our explicit definition allows a potential confusion between
nullptr->unique_ptr<string> and
nullptr->char *->grpc::string->unique_ptr<string>
2015-07-14 13:38:44 -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
Vijay Pai
d1c9254029
Merge pull request #2289 from ctiller/footprints-on-the-sands-of-time
...
Introduce multiple clocks to GPR
2015-07-10 16:43:58 -07:00
Craig Tiller
f0fb537da9
Merge branch 'footprints-on-the-sands-of-time' into no-worries-i-can-wait
2015-07-10 16:04:08 -07:00
Craig Tiller
080d6c50bb
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-10 10:23:10 -07:00
Craig Tiller
d0955f36dc
Compile fix for Mac
2015-07-10 07:52:37 -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
3315a845ef
Merge remote-tracking branch 'upstream/master' into security_context2
2015-07-09 12:32:48 -07:00
Craig Tiller
5cc175f08e
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-09 08:48:35 -07:00
yang-g
85c04f938f
resolve comments
2015-07-07 17:47:31 -07:00
Craig Tiller
822d2c7beb
Support registering services against specific hosts
2015-07-07 16:08:00 -07:00
yang-g
c4eef2eae8
add a test case in end2end_test
2015-07-06 23:26:58 -07:00
Craig Tiller
20b5fe9282
Fixup C++
2015-07-06 10:43:50 -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
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
yang-g
0b6ad7d4bc
Bug fix. Do not push to incoming_queue after it is flushed.
2015-06-25 14:39:01 -07:00
Yang Gao
c1a2c314fb
Update the Status API
2015-06-16 10:59:46 -07:00
Yang Gao
69fe0759be
Various minor fixes
2015-06-01 14:32:38 -07:00
David Garcia Quintas
feb67f67dc
Replaced std::this_thread::sleep_for for gpr_sleep_until.
...
std::this_thread::sleep_for isn't available in gcc <= 4.6 (4.7?) nor
VS2010.
2015-05-20 23:13:17 -07:00
Yang Gao
b57f72dbee
resolve comments
2015-05-17 21:54:54 -07:00
Yang Gao
26a4912558
Add fake credentials to the test and verify it actually works
2015-05-15 17:02:56 -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
0c23320c8a
Split thread stress from end2end to improve parallelism
2015-05-06 07:42:43 -07:00
Yang Gao
c71a9d2b56
clang-format
2015-05-04 00:22:12 -07:00
Yang Gao
ea13af73e0
merge with head
2015-05-01 11:34:45 -07:00
Yang Gao
3921c56bee
Expose max message size at the server side
2015-04-30 16:07:06 -07:00
Craig Tiller
81e57d9acf
Add a thread stress end2end test
2015-04-29 16:34:13 -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
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
Craig Tiller
bab1d2cf5f
Merge pull request #1307 from a11r/streamcancel
...
Added e2e tests for server and bidi stream cancellation.
2015-04-23 14:15:41 -07:00
Abhishek Kumar
a1d3a72930
fixed indentation
2015-04-23 10:24:04 -07:00
Craig Tiller
12088b26d9
Tweak tests
2015-04-20 09:51:27 -07:00
Abhishek Kumar
18298a7440
Fixed flakes due to OK racing with cancel
2015-04-17 15:00:25 -07:00
Abhishek Kumar
e41d0402ba
Added end2end test for server streaming rpc cancellation.
2015-04-17 14:12:33 -07:00
Abhishek Kumar
82a83313db
Added test case demonstrating cancel on bidi stream
2015-04-17 13:30:51 -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