Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
Julien Boeuf
c34b2e744c
Do not use string_ref for output params.
...
It is very much unsafe to do so as the string_ref could point on a stack
variable of the callee.
9 years ago
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.
9 years ago
yang-g
5e8abedd61
use seconds
9 years ago
yang-g
d886f33939
add a test
9 years ago
Julien Boeuf
1928d496a2
Adding C++ tests and fixing a few things.
9 years ago
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
9 years ago
Julien Boeuf
821de3439f
Addressing comments.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
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).
9 years ago
yang-g
730055d962
implementation fix
9 years ago
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.
9 years ago
yang-g
d090fe1379
auth context api change for string_ref
9 years ago
yang-g
e21908fcee
impl
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
yang-g
c31cd86a74
Let lame_client accept error status
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
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```
9 years ago
yang-g
cec757f22a
Fix build
9 years ago
yang-g
c8abca8f53
Resolve comments
9 years ago
Craig Tiller
2c3be1df4f
Add tests for C++ propagation
9 years ago
yang-g
8708dd76c1
Add WaitForState
9 years ago
yang-g
36f5965247
clean up and add a test
9 years ago
Craig Tiller
fb21ae6040
Re-enable all the tests
9 years ago
Craig Tiller
7c1be05463
Line up starting times
9 years ago
yang-g
8ab383686b
add a test where a read and a writesdone happen at the same time
9 years ago
yang-g
d7ead699f8
Add a test
9 years ago
vjpai
51d22752d6
Switch an int to size_t or else it fails on Mac
9 years ago
Vijay Pai
1f3e6c1ebe
Start switching everything to dynamic pool
9 years ago
yang-g
6f30decf79
Flow control fix
9 years ago
yang-g
8b25f2aaeb
move fake_transport_security_credentials to private API
9 years ago
Vijay Pai
c4af224970
Remove one range-based for and do appropriate static casts on nullptr
9 years ago
Craig Tiller
bf6abeef3d
Remove experimental prefix
10 years ago
Craig Tiller
0dc5e6cf16
User agent string support
10 years ago
David Garcia Quintas
cadbf22467
Removed compression levels from clients and _experimental_'d signature of methods manipulating compression algorithms
10 years ago
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
10 years ago
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
10 years ago
Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
10 years ago
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>
10 years ago
Craig Tiller
677c50c92a
Update C++ impl
10 years ago
Craig Tiller
354398f9f5
Updating wrapped languages to new time functions
10 years ago
Craig Tiller
d0955f36dc
Compile fix for Mac
10 years ago
jboeuf
69cb6b41c8
Backport of pull request #2313 into release-0_10.
10 years ago
yang-g
85c04f938f
resolve comments
10 years ago
Craig Tiller
822d2c7beb
Support registering services against specific hosts
10 years ago
yang-g
c4eef2eae8
add a test case in end2end_test
10 years ago
Craig Tiller
20b5fe9282
Fixup C++
10 years ago