Muxi Yan
4373058180
Add comment to logging operations batch
8 years ago
Muxi Yan
5bd16b7013
Warnings and macro guards for op batch log
8 years ago
Muxi Yan
40d7c627bd
Only test the ObjC layer
8 years ago
Mark D. Roth
e6dd773dff
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Mark D. Roth
448c1f002c
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Muxi Yan
d3c2594883
Fix test errors on string copy
8 years ago
Muxi Yan
180b32380c
Use grpc_slice at core boudary
8 years ago
Paul Querna
d907370fc8
GPR Buffers need to be destroyed, not directly freed, otherwise it leaks reference counted backing slices.
8 years ago
Muxi Yan
2c88b4616a
Revert format changes of unrelated files
9 years ago
Muxi Yan
bd19fc7e30
clang-format format clean
9 years ago
Muxi Yan
e97f7c0ba6
Allow more general flags to be passed to ObjC API
9 years ago
Muxi Yan
fdea83d42a
Update grpc objc API for support of PUT method
9 years ago
Jorge Canizales
7603d64982
Let tracing be enabled before starting an RPC
...
by calling grpc_init on [GRPCCall load], instead of lazily.
9 years ago
Jorge Canizales
5e824fa42e
Restore fix undid by https://github.com/grpc/grpc/pull/5893
...
That PR wasn’t tested nor reviewed adecuately.
9 years ago
David Garcia Quintas
8ba42bec90
s/maybe_compression_level.compression_level/maybe_compression_level.level
9 years ago
David Garcia Quintas
e825df736a
updated obj-c code
9 years ago
David Garcia Quintas
a301eaade8
Allow servers to select compression level via initial MD.
...
Setting the newly added compression_level field of
grpc_op::send_initial_metadata by a server now has the effect of
applying that compression level for the subsequent call messages leaving
the server. The ultimate meaning of the level depends on the client's
supported compression algorithms.
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Nicolas "Pixel" Noble
6bda8497b8
Fixing copyrights.
9 years ago
Nicolas "Pixel" Noble
702243698c
For GRPCOperation's, ensure finish _handler can only be called once, and release it when called, so weak ptrs needn't be used with it, and the call won't be released until the finish handler is called.
...
When the connectivityMonitor determines the connection has been lost, pull the host disconnect call. Creates an unreliable connection when connectivity is restored. Calling finishWithError: is sufficient.
9 years ago
Jorge Canizales
f4f150f28b
Makes GRPCRequestHeaders a NSMutableDictionary
...
TODO:
- Documentation
- Make public
- Check I’ve implemented all NSMutDict required methods
9 years ago
Craig Tiller
3e2bc9660e
Remove debug
10 years ago
Craig Tiller
293a9b3691
test code
10 years ago
Jorge Canizales
5af286884e
Make the grpc_metadataArray property private.
10 years ago
Jorge Canizales
2f10127f85
Publish GRPCRequestHeaders as a protocol
...
So we can make the property a dictionary later, by just extending
NSMutableDictionary to conform to the protocol.
10 years ago
Jorge Canizales
5c339d15b3
Remove -[asDictionary]
10 years ago
Jorge Canizales
b3584aa21e
Have ObjC use the new future-proofed C interface
10 years ago
Craig Tiller
354e2127a2
Update Objective-C
10 years ago
Jorge Canizales
e8543b0715
Let register SSL config per-host.
...
Surfaced in GRPCCall+Tests.h
Add GRPCHost to store channel config, and to create channels on demand
with that config. GRPCChannels and configs are cached together.
GRPCSecureChannel is now initialized with (nullable) path to a
certificates file and (nullable) name override.
The same mechanism will be used for creating insecure channels, removing
the ability to do it by specifying the HTTP scheme in the address (which
was deemed too subtle for its implications).
10 years ago
Jorge Canizales
bd993df3f6
Encapsulate grpc_call creation inside GRPCChannel
10 years ago
Jorge Canizales
3a5253eb12
Move _channel from GRPCCall into GRPCWrappedCall
10 years ago
Jorge Canizales
570e9417b6
Fix C library gpr_inf_future breakage
10 years ago
Jorge Canizales
be808e36f6
Move ProtoMethod to ProtoRPC package
10 years ago
murgatroid99
231103ba39
Fixed name in comments
10 years ago
murgatroid99
dbda969039
Fixed 'retain cycle' warnings in GRPCWrappedCall.m
10 years ago
Jorge Canizales
884870461d
Document why a grpc_op ivar, and the role of -finish
10 years ago
Jorge Canizales
8d99775295
Simplify GRPCOps implementations
10 years ago
Jorge Canizales
bae38d9d55
Output call_error number
10 years ago
Jorge Canizales
fb9509275f
Ensure op flags don't have garbage from malloc
...
And free ops_array that was leaking.
10 years ago
Jorge Canizales
f3a4f2cee9
Merge trailers into responseMetadata. Add it to NSError.
10 years ago
murgatroid99
6b54244a11
Updated Objective C code to match completion queue changes
10 years ago
murgatroid99
4925063b8b
Resolved some comments
10 years ago
murgatroid99
ca38ddb105
Fixed ivar names and comments
10 years ago
murgatroid99
2101a48e1f
Simplified startBatch, resolved comments
10 years ago
murgatroid99
33655f970b
Moved deallocation code to the right place
10 years ago
murgatroid99
fe2c0c6569
Added nil check in GRPCWrappedCall initializer
10 years ago
murgatroid99
a571cebe01
Fixed missing increment
10 years ago
murgatroid99
def47aa9f3
Removed thrown error in one case
10 years ago