Nicolas Noble
d446eb86fa
Adding initial support for alternative protobuf libraries.
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Jan Tattermusch
286975fd2b
Started using immutable collections and other code cleanup
10 years ago
Jan Tattermusch
3de9f49e3c
Setting up stylecop to ignore generated files and fixing style
10 years ago
murgatroid99
3f6cd88533
Improved node install instructions and bumped version
10 years ago
murgatroid99
3f10160769
Updated ActiveCall.php to use batch API
10 years ago
Nicolas "Pixel" Noble
8a6b38c9be
Remove a const from a variable that should be mutable.
...
deadline is passed by address to PyArg_ParseTuple to update its value.
However, deadline is a const double, so attempting to change its value
is undefined behavior. Remove the const to have well-defined behavior.
10 years ago
Tatsuhiro Tsujikawa
d11f610f37
Fix client sending invalid GOAWAY last-stream-id
...
Previously client sends its own initiated stream ID in last-stream-id
field of GOAWAY, which misses the point in HTTP/2 specification.
Unless server push is utilized heavily, client should not assign its
transport's last_incoming_stream_id, since it is a response from
server to client's initiated stream ID. This commit fixes it.
See GH-1024
10 years ago
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.
10 years ago
Chilledheart
e3bbcca12c
Add missing GRPC_OVERRIDE, NFC
10 years ago
Yang Gao
2a3c96a869
resolve leak, now asan clean
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Jan Tattermusch
075dde42fe
code style fixes based on StyleCop warnings
10 years ago
Jan Tattermusch
053d894e2c
added stylecop settings file
10 years ago
Craig Tiller
a13752d8fd
Remove the current poller from the watch list to avoid immediately kicking it when notifying of an event
10 years ago
murgatroid99
73aefecd6f
Updated ActiveCall.php to use batch API
10 years ago
Vijay Pai
ee705f6d66
Add support for deadline on CompletionQueue::Next
...
If the deadline elapses, return true but have a null tag.
10 years ago
murgatroid99
1b027f5598
Updated final tests to pass
10 years ago
murgatroid99
f2fe1a8002
Fixed channel host override handling
10 years ago
David Klempner
466423b157
Add a no_barrier_load atomic operation.
...
Use this to relax the acq_loads in some fd_posix assertions. The primary
goal here is to avoid masking potential iomgr races from tsan.
10 years ago
Yang Gao
0535da3068
The Jwt code was dropped somewhere in a merge. Put it back
10 years ago
murgatroid99
9fe516a679
EndToEndTest now works
10 years ago
murgatroid99
4eb8bba7fc
Further updated EndToEndTest
10 years ago
Nicolas "Pixel" Noble
0084179d4c
Removing the `using std::string` in the python plugin code.
10 years ago
murgatroid99
d8bb9578ef
Fixed some tests for new API
10 years ago
Yang Gao
0fd94409a0
Expose server cq for polling incoming anonymous rpcs
10 years ago
Yang Gao
f82a30d90a
Use ssl name override if it's in the channel argument
10 years ago
Yang Gao
086cd1108c
read and copy add two ref's, unref one
10 years ago
Yang Gao
61c413182d
initial imple of byte buffer and slice
10 years ago
murgatroid99
fba214cce4
Updated Node package version to 0.5.3
10 years ago
Nathaniel Manista
31e65beaed
Eliminate the Python "assembly" package
...
This completes issue #726 . All that cascading activation stuff just
didn't work out as cleanly as I had hoped it would.
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
murgatroid99
e5f47064bf
Fixed segfault by fixing scope issue
10 years ago
Jan Tattermusch
b0829ebaf1
C# server side TLS support
10 years ago
murgatroid99
dc9faa3430
Added missing log argument
10 years ago
murgatroid99
d47946be2a
Added batch GRPC_TRACE option to trace calls to grpc_call_start_batch
10 years ago
murgatroid99
6cbb237d61
Added more tests
10 years ago
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
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
Ronnie Sahlberg
400349ea4d
README: fix the path to the python requirements.txt file
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
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
Nathaniel Manista
5c87a30c41
Refactoring within Python RPC Framework
...
The assembly and face layers were mostly redundant except that the
assembly layer had far-better interfaces and the face layer had more
of a reason to exist. Now they are merged.
10 years ago
Nathaniel Manista
256ccca923
Use server_host_override in interop client
...
Also refactor the interop package to perform client-server interop
testing in a unit test.
10 years ago
Nathaniel Manista
db13f68dab
Add a server_host_override to stub creation
...
This optional value should only be passed in tests.
10 years ago
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
10 years ago
Craig Tiller
64d0a87d98
Reintroduce sleep on backup thread
10 years ago
Tim Emiola
dfa5efb72e
Removes unused dependencies
10 years ago
Tim Emiola
485f0ed140
Corrects the host used in the client_server spec tests
10 years ago
Tim Emiola
4c7caf6180
Fix for #804
10 years ago