Commit Graph

194 Commits

Author SHA1 Message Date
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai 679c75f0a6 Deal with issues surrounding const members of classes used in
containers
2016-06-15 13:10:32 -07:00
Vijay Pai a63271c77f Deal with to_string, proper usage of nullptr, and lack of map::emplace 2016-06-15 12:56:38 -07:00
yang-g 000aa457dc add a test with empty request 2016-06-07 13:08:39 -07:00
Julien Boeuf a4880374f9 Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring 2016-05-18 22:12:43 -07:00
yang-g 39e71c33d1 fix compiling error 2016-05-10 10:21:41 -07:00
yang-g 080528abb7 Add parsing back to protobuf example 2016-05-06 13:12:00 -07:00
yang-g 4c07008610 Add a test for server returning error with debug info in trailer. 2016-05-05 23:35:20 -07:00
Julien Boeuf 8ca294e417 Refactoring the core security code.
As opposed to a flat directory, we now have the following structure:

- security
  -context
  - credentials
    - composite
    - fake
    - google_default
    - iam
    - jwt
    - oauth2
    - plugin
    - ssl
  - transport
  - util

We have not refactored the test code yet but this PR is already large
enough...
2016-05-04 15:51:28 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Paul Querna 47d841de4d Add support for IP Addresses in Subject Alt Names. 2016-03-14 16:40:17 -07:00
Dan Born f2f7d57c01 Allow use of alternative credential types. 2016-03-03 17:26:12 -08:00
Sree Kuchibhotla 8d543e8e30 Fix ResponseStreamServerCancelAfter test flake 2016-02-29 18:22:25 -08:00
Vijay Pai bdfec2c86c SimultaneousReadWritesDone test was not observing the contract on the
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
2016-02-25 11:51:21 -08:00
yang-g 4c8aed3dba Add a helper to return all the secure types 2016-02-19 00:19:39 -08:00
yang-g 17197ddc71 Revert "make an enum"
This reverts commit 5152cd29f8.
2016-02-19 00:04:22 -08:00
yang-g 5152cd29f8 make an enum 2016-02-18 16:37:51 -08:00
yang-g 7d2a3e1917 Refactor end2end_test. Make the credentials a separate library. 2016-02-18 15:41:56 -08:00
yang-g d59ad7ef39 Provide explicit API for user to set user agent string prefix 2016-02-10 12:42:53 -08:00
Sree Kuchibhotla 9bc6fa0a40 Merge branch 'master' into server_try_cancel_api 2016-02-03 07:41:31 -08:00
yang-g 9fd55b0d2d remove duplicate functions 2016-02-02 16:23:35 -08:00
yang-g 7b0edbd1a3 remove the old impl caused by 4921 2016-02-02 16:05:21 -08:00
Sree Kuchibhotla a0a8eaab0e Merge branch 'master' into server_try_cancel_api 2016-02-01 14:04:19 -08:00
yang-g f8174ea37d use huffman prefix 2016-02-01 00:09:13 -08:00
Sree Kuchibhotla 0f242acb9d Comments and a minor fix 2016-01-29 18:13:33 -08:00
Sree Kuchibhotla f25c6ba229 Comments and format 2016-01-28 18:04:03 -08:00
Sree Kuchibhotla 944f4cf14e Sync server end2end and async_end2end tests 2016-01-28 17:37:10 -08:00
Craig Tiller a0fef14784 clang-format code 2016-01-27 15:10:39 -08:00
Craig Tiller b0f275e4af Small testing fixes
- end2end test deadlines may complete before checking IsCancelled
  => don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
2016-01-27 10:45:50 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
murgatroid99 ace28d3f98 Fix copyrights again 2016-01-14 10:12:10 -08:00
Sree Kuchibhotla b0d0c8e8c2 FormatCode 2016-01-13 22:52:17 -08:00
Sree Kuchibhotla 5a05f51a1c Rename TestService to EchoTestService to prevent name-conflict with
'TestService' in test.proto
2016-01-13 22:43:20 -08:00
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Craig Tiller ca9a637877 Fix double read at end of stream bug 2015-12-15 18:16:28 -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
Julien Boeuf 114f39475f Cpp example of how the plugins can be done. 2015-11-19 22:24:05 -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
yang-g a89bf50cf1 Handle cancel before start case 2015-11-17 14:19:17 -08:00
Craig Tiller 93b944785c stream_op cleanup: test fixes and updates 2015-11-02 14:18:30 -08:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Craig Tiller 91054e6855 Merge pull request #3627 from yang-g/flake2
Deflake end2end_test
2015-10-05 11:21:49 -07:00
yang-g c04610357c The Writes may return false after the server cancels the stream 2015-10-02 16:22:43 -07:00
Vijay Pai 7a94236d69 Merge pull request #3556 from ctiller/clangf
Fix clang-format script
2015-10-01 23:23:50 -07:00
yang-g 0d55750cb2 Maybe it is already ready when we call getstatus 2015-10-01 11:34:00 -07:00
Craig Tiller b7a597771f Merge github.com:grpc/grpc into clangf 2015-10-01 08:01:58 -07:00
yang-g bf22e0e8a0 remove anonymous namespace in anonymous namespace 2015-09-29 12:50:07 -07:00
yang-g 88d5d52d73 add tls and proxy as dimensions of end2end test 2015-09-29 12:47:51 -07:00