Nathaniel Manista
f492b16d48
Unify early_adopter construction functions
...
It was awkward for the generated code to call an API that offered
both insecure_server and secure_server as well as insecure_stub and
secure_stub. With this change there is just a single server function
and a single stub function and security is decided based on arguments
passed.
10 years ago
Yang Gao
b946b5ea74
Refactor and add a unit test
10 years ago
Yang Gao
166f9d00ce
add back mis-deleted method string
10 years ago
Yang Gao
ced2b89f55
Finish grpc_cli
10 years ago
vjpai
6130809a8b
Work around a compiler limitation caused by inability to properly handle
...
vectors created from initializer list
10 years ago
Vijay Pai
92a928fa68
Make string construction explicit as implicit conversion doesn't work in 4.4
10 years ago
vjpai
4bcab68012
Include the config.h file to make sure that nullptr is covered
10 years ago
Vijay Pai
bef9cbc7dc
Eliminate range-based fors
10 years ago
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
10 years ago
Yang Gao
a5e20d35c9
a stub of the cli tool
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Vijay Pai
6266b9341c
Sweep different parameter sets in a single shell script.
10 years ago
Vijay Pai
8ad32091e6
Make sure that nothing gets added to cq after shutdown
10 years ago
Vijay Pai
55bb5bdf80
No need to do an extra read
10 years ago
Vijay Pai
c5b397927c
test return value of rpc parse
10 years ago
vjpai
653803e310
Make RPC type configurable
10 years ago
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
10 years ago
Julien Boeuf
8931cc1dd5
Adding a test to check the openssl version we are using.
10 years ago
Yang Gao
cdb2a6e071
Protect on some overflow scenarios, add a test and build/run the test
10 years ago
Yang Gao
993d540e37
covert test to use generic stub
10 years ago
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.
10 years ago
David Klempner
a4ac78c8ce
Make metadata_test test_things_stick_around use fewer strings
...
This test is quadratic in nstr and times out under tsan.
10 years ago
Masood Malekghassemi
89905ac55d
Factor out interface-specific early_adopter code
...
Refactors early_adopter such that interface-specific code is located in
the framework module as a submodule `alpha`.
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
3c220dfc32
Print out status when it is not ok in interop tests
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Nicolas Noble
f358573091
FreeBSD preliminary work.
...
-) You can't assume bash is installed. Scripts needs to be cleaned out of bashisms.
-) You can't assume python is in /usr/bin. Use env instead.
-) AF_INET is in sys/socket.h
-) Added port_platform's basic structure for FreeBSD, based off Darwin.
-) FreeBSD doesn't have and doesn't need libdl for OpenSSL.
10 years ago
Yang Gao
45c09db87c
sort the tags, this is not necessary, just make it look better
10 years ago
Yang Gao
9fbbc7bb13
add one bidi test
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Yang Gao
7d6b184f57
add a jwt test case for interop test
10 years ago
Yang Gao
0cb6c25e71
A first test with typed async client and untyped service for a simple rpc
10 years ago
Julien Boeuf
9835cf0234
Adding refresh token credentials.
...
- The google default credentials now work with the cloud SDK.
- Verified end to end with print_default_credentials and fetch_oauth2
tools.
10 years ago
Julien Boeuf
3371cdf918
Fixing !strcmp in the tests.
10 years ago
Chilledheart
ca767c0d9e
Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer
10 years ago
Julien Boeuf
75516068fa
Adding refresh token parsing
...
This is the first step for refresh token credentials.
10 years ago
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
10 years ago
Ronnie Sahlberg
2ad8d21158
strcmp: change all !str[n]cmp to str[n]cmp == 0
...
Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase.
Issue #231
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
10 years ago
Nicolas "Pixel" Noble
061690d497
Don't merge OpenSSL into C++ upper layer libraries; only C.
10 years ago
Masood Malekghassemi
53f8fea5df
Move protoc output to temporary directory
...
Moves the Python protoc plugin output directory to an auto-generated
temporary directory. Has the build configuration set by environment
variable (consistent with `tools/run-tests/run_tests.py`'s set envvars).
10 years ago
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
10 years ago
Craig Tiller
78524b75d7
Compile fix
10 years ago
David Klempner
a4ac16cdc3
Fix signed comparison warnings in low_level_ping_pong
10 years ago
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
10 years ago
Craig Tiller
a182bf12b0
clang-format
10 years ago
Craig Tiller
50a976f56c
Linux compile fix
10 years ago
Craig Tiller
c98bef7303
Compile fix
10 years ago