Muxi Yan
459da578db
Refactor channel pool
2018-11-30 13:45:40 -08:00
Muxi Yan
fd69f74b20
use value64
2018-11-27 17:48:55 -08:00
Muxi Yan
fdf4b8f2f7
clang-format
2018-11-26 17:42:56 -08:00
Muxi Yan
5ae61f5a5a
Multiple fixes
2018-11-26 17:38:52 -08:00
Muxi Yan
f3e4ae633e
Regenerate projects
2018-11-19 15:24:53 -08:00
Muxi Yan
1d8550c4c2
nit nullability fix
2018-11-19 11:26:24 -08:00
Muxi Yan
d806ce71d7
more nullability
2018-11-19 10:08:23 -08:00
Muxi Yan
29e1591904
_Nullable -> nullable
2018-11-19 09:52:29 -08:00
Muxi Yan
00ff5805a3
null_unspecified -> nullable
2018-11-19 09:43:24 -08:00
Muxi Yan
680b53f7ad
clang-format
2018-11-18 23:00:08 -08:00
Muxi Yan
f0cbcde731
New channel pool design
2018-11-18 22:47:35 -08:00
Muxi Yan
87abab45c9
Fix version availability
2018-11-15 17:44:26 -08:00
Muxi Yan
512c01bc57
Polish threading + something else
2018-11-15 16:59:31 -08:00
Muxi Yan
ffeb0e6823
Add *if* after assert
2018-11-15 14:56:50 -08:00
Muxi Yan
5746432121
Fix handler release - Part 1
2018-11-15 14:00:51 -08:00
Muxi Yan
8a762d4478
Polish nullability + something else
2018-11-15 12:57:33 -08:00
Muxi Yan
6b6ab2bdc9
Back to NSAssert
2018-11-15 12:24:22 -08:00
Muxi Yan
e14ec44b0a
clang-format
2018-11-14 18:52:35 -08:00
Muxi Yan
b5434c05aa
Make tests pass
2018-11-14 18:48:09 -08:00
Muxi Yan
2bd38f29df
Batch fixes
2018-11-14 17:59:30 -08:00
Muxi Yan
e023468e9a
some nit fixes
2018-11-14 16:34:58 -08:00
Muxi Yan
c83ab56fe1
copy->mutableCopy
2018-11-14 14:51:25 -08:00
Muxi Yan
f4a77ce492
_call->_pipe
2018-11-14 14:51:07 -08:00
Muxi Yan
78c2176afc
Assign finished and canceled
2018-11-14 14:40:44 -08:00
Muxi Yan
b77203fdf5
Move blocks into varibles for readability
2018-11-14 14:09:41 -08:00
Muxi Yan
2895ee9b6a
clang-format
2018-11-09 11:06:46 -08:00
Muxi Yan
33022c9172
Introduce GRPCAssert
2018-11-09 10:23:05 -08:00
Muxi Yan
861e7ce452
nit fixes
2018-11-09 07:51:38 -08:00
Muxi Yan
37dbad80d5
Refactor channel pool
2018-11-08 22:01:10 -08:00
Muxi Yan
d72d5b2c8e
Some nit fixes
2018-11-08 15:33:27 -08:00
Muxi Yan
c9c060c52d
nit fixes in ChannelArgsUtil
2018-11-07 13:23:38 -08:00
Muxi Yan
9e5d7476ac
nit build fix
2018-11-07 11:32:12 -08:00
Muxi Yan
ab95105607
clang-format
2018-11-06 17:46:22 -08:00
Muxi Yan
a0f5db1581
Rename GRPCCallOptions+internal->GRPCCallOptions+Internal
2018-11-06 17:42:30 -08:00
Muxi Yan
d8e7a6c6f1
hash: -> .hash
2018-11-06 17:38:21 -08:00
Muxi Yan
bb5e55e868
remove extra copy
2018-11-06 17:37:47 -08:00
Muxi Yan
ae623ea5b6
Polish isEqual of options
2018-11-06 17:32:22 -08:00
Muxi Yan
d40e828d53
NSInteger->NSUInteger
2018-11-06 17:08:26 -08:00
Muxi Yan
d635d9f9f9
fix some threading issues
2018-11-06 16:43:58 -08:00
Muxi Yan
515941ae18
copy _requestHeaders in GRPCCall
2018-11-06 16:04:56 -08:00
Muxi Yan
1be316e564
Remove check in cancel
2018-11-06 14:12:14 -08:00
Muxi Yan
9558618182
Check if call is cancelled
2018-11-06 11:37:41 -08:00
Muxi Yan
24265b03ac
Clarify cancel before call is started
2018-11-06 11:31:48 -08:00
Muxi Yan
739760cdc8
More comment
2018-11-06 11:22:51 -08:00
Muxi Yan
b496e3a266
On finish, clean _handler and _call independently
2018-11-06 11:07:03 -08:00
Muxi Yan
6b8f0ceae8
A few nits
2018-11-06 10:51:06 -08:00
Muxi Yan
17a67fdb0f
Aggregate v2 api tests
2018-11-02 16:09:28 -07:00
Muxi Yan
bc0ce06951
use _dispatchQueue for timer
2018-11-01 15:05:58 -07:00
Muxi Yan
c827fbc1d0
Log failures when unable to create call or channel
2018-11-01 13:11:31 -07:00
Muxi Yan
395fc1226f
Cleaner code using nil messaging
2018-11-01 12:54:38 -07:00
Muxi Yan
29bf3864d1
Remove object after finish iterating in loop
2018-11-01 12:44:48 -07:00
Muxi Yan
601475b571
Easier check if timer is canceled
2018-11-01 11:43:09 -07:00
Muxi Yan
dc4fc1ce38
Use NSEC_PER_SEC
2018-11-01 09:29:15 -07:00
Muxi Yan
ce53ba7474
kChannelDestroyDelay->_destroyDelay in GRPCChannelRef
2018-11-01 09:27:40 -07:00
Muxi Yan
790adca8e3
copy items in GRPCCallOptions:mutableCopy:
2018-11-01 09:23:35 -07:00
Muxi Yan
73251477bc
clamp positive NSTimeInterval in initializer
2018-11-01 09:23:35 -07:00
Muxi Yan
16fd5a758c
Remove __block for synchronized blocks
2018-11-01 09:23:35 -07:00
Muxi Yan
a37ec5e3e6
Polish error message
2018-11-01 09:23:32 -07:00
Muxi Yan
0cabf27fa3
Clean codes
2018-10-31 18:25:49 -07:00
Muxi Yan
abe4aae400
Remove length check in GRPCCall for backwards compatibility
2018-10-29 15:21:05 -07:00
Muxi Yan
a8c4eb7d27
Bug fix
2018-10-29 14:15:26 -07:00
Muxi Yan
a8a7c2bdd1
clang-format
2018-10-24 17:05:38 -07:00
Muxi Yan
c2bb755037
Move GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER into core
2018-10-24 17:04:12 -07:00
Muxi Yan
3c33020357
Polish nullabitily
2018-10-24 13:31:45 -07:00
Muxi Yan
1cbb484729
Fix build failure
2018-10-24 12:54:47 -07:00
Muxi Yan
26108e1106
clang-format
2018-10-23 13:14:24 -07:00
Muxi Yan
cc58524994
isChannelOptionsEqualTo->hasChannelOptionsEqualTo
2018-10-23 13:11:06 -07:00
Muxi Yan
35f6ab959e
unsigned int -> NSUInteger
2018-10-23 13:10:44 -07:00
Muxi Yan
647e24c190
Put logContext in class extension
2018-10-23 11:31:36 -07:00
Muxi Yan
3c8e9886ac
Mark channelArg as copy
2018-10-23 10:53:11 -07:00
Muxi Yan
8986cfe625
Assert mutual exclusion of authTokenProvider and oauth2AccessToken
2018-10-23 10:39:39 -07:00
Muxi Yan
351b5d0f13
enableRetry->retryEnabled
2018-10-23 10:28:53 -07:00
Muxi Yan
f3e9224f0b
Remove retain of handler in callbacks and dispatch to dispatchQueue
2018-10-23 10:22:18 -07:00
Muxi Yan
e39c146f0f
Revert "Do not issue more message when the call is canceled"
...
This reverts commit e13c867826 .
2018-10-23 10:03:48 -07:00
Muxi Yan
e13c867826
Do not issue more message when the call is canceled
2018-10-22 18:25:16 -07:00
Muxi Yan
3566540f16
nit: group includes
2018-10-22 14:45:38 -07:00
Muxi Yan
b03adfbf06
More nullability specifier
2018-10-22 12:14:43 -07:00
Muxi Yan
5c7ab989be
bool->BOOL
2018-10-22 11:13:39 -07:00
Muxi Yan
2b0470dcb3
Ignore serverAuthority when using Cronet transport
2018-10-20 13:07:02 -07:00
Muxi Yan
9a15b6a5cf
clang-format
2018-10-20 13:00:38 -07:00
Muxi Yan
ae99d3a5ed
Document GRPCAuthorizationProtocol
2018-10-20 12:41:05 -07:00
Muxi Yan
e667a3fb8f
Another copy
2018-10-20 12:25:25 -07:00
Muxi Yan
ed1e6c48e0
More verbose channel destroy message
2018-10-20 12:09:19 -07:00
Muxi Yan
4efa40d7cd
Validate parameters of GRPCChannelConfiguration:initWithHost:
2018-10-20 10:06:07 -07:00
Muxi Yan
dcf5f1ff38
Comments to GRPCChannelFactory
2018-10-20 10:03:59 -07:00
Muxi Yan
ef830758cc
Comments to methods of GRPCChannelConfiguration
2018-10-20 09:50:36 -07:00
Muxi Yan
c6fc07d384
Relocate global channel pool variables
2018-10-20 09:44:44 -07:00
Muxi Yan
836640dc4a
Mark GRPCChannel 🆕 unavailable
2018-10-20 09:41:34 -07:00
Muxi Yan
4186405287
GRPCChannel input parameter sanity check
2018-10-20 09:40:22 -07:00
Muxi Yan
5e3e744d44
copy configuration
2018-10-19 18:32:05 -07:00
Muxi Yan
17d178363d
rename non-const variables
2018-10-19 17:57:26 -07:00
Muxi Yan
b3cb4e17f7
Comment and rename GRPCChannel:ref and :unref
2018-10-19 17:57:04 -07:00
Muxi Yan
8cecb2a86d
Write comments for functions in ChannelArgsUtil
2018-10-19 17:34:15 -07:00
Muxi Yan
789108d16d
add const attribute to defaults
2018-10-19 17:24:23 -07:00
Muxi Yan
cb745ceaf9
Synchronized access to fetchedOauth2AccessToken
2018-10-19 15:46:57 -07:00
Muxi Yan
c6de16fc80
Remove redundant variable
2018-10-19 15:44:07 -07:00
Muxi Yan
24d952b2b9
Add comments to ivars of GRPCCall2
2018-10-19 15:43:46 -07:00
Muxi Yan
422d3296b2
Annotate Nullability
2018-10-19 15:43:21 -07:00
Muxi Yan
e542e006eb
Format fix
2018-10-19 14:29:08 -07:00
Muxi Yan
0242b022cc
Typo fix
2018-10-19 14:28:25 -07:00
Muxi Yan
5eb9911a0e
Change extern type
2018-10-19 13:55:31 -07:00
Muxi Yan
9f9141082b
compressAlgorithm->compressionAlgorithm
2018-10-19 11:57:18 -07:00
Muxi Yan
cc9157a248
Polish comments
2018-10-19 11:45:59 -07:00
Muxi Yan
590ab39252
GRPCCompressAlgorithm->GRPCCompressionAlgorithm
2018-10-19 11:24:04 -07:00
Muxi Yan
a6e35201b5
polish comments
2018-10-19 11:07:00 -07:00
Muxi Yan
2d903f4732
More specific typing in response handlers
2018-10-19 10:15:02 -07:00
Muxi Yan
75f8727a3e
NSString == nil -> NSString.length == 0
2018-10-19 09:26:38 -07:00
Muxi Yan
56d605230f
nil->NULL
2018-10-19 09:17:11 -07:00
Muxi Yan
b9667c6c17
handle NULL case when parsing certificate
2018-10-19 09:13:27 -07:00
Muxi Yan
4264ea2b55
clang-format
2018-10-18 17:04:03 -07:00
Muxi Yan
6ae2ea643d
obj.class->[obj class]
2018-10-18 16:32:42 -07:00
Muxi Yan
f00be37dd1
Spell out 'certificates' rather than 'certs'
2018-10-18 16:07:09 -07:00
Muxi Yan
4201ad1681
add callOptionsForHost: to GRPCHost
2018-10-18 16:05:18 -07:00
Muxi Yan
b9e5224207
more copy settings
2018-10-18 15:28:15 -07:00
Muxi Yan
1084f49c31
rename kHostCache->gHostCache
2018-10-18 15:22:38 -07:00
Muxi Yan
d92c62fcde
Enable Cronet with old API
2018-10-18 15:22:16 -07:00
Muxi Yan
31de6d67e7
Make GRPCHost.callOptions immutable
2018-10-18 14:00:07 -07:00
Muxi Yan
e114983643
NULL return for non-id type
2018-10-18 13:57:53 -07:00
Muxi Yan
1a88be4edf
Prefix functions in ChannelArgsUtil
2018-10-18 13:56:03 -07:00
Muxi Yan
a0f83554bb
remove channel from pool with pointer rather than config
2018-10-18 12:14:25 -07:00
Muxi Yan
3bdf794bd0
Handle channel nil case
2018-10-18 12:14:23 -07:00
Muxi Yan
4af17518c0
Use simple locking in GRPCChannelPool
2018-10-18 12:13:34 -07:00
Muxi Yan
7871fedfd6
always unregister observer
2018-10-18 11:13:22 -07:00
Muxi Yan
ac211b4214
Use dispatch_after for delayed destroy of channel
2018-10-18 10:39:48 -07:00
Muxi Yan
67a4eb6623
Lock GRPCCall in GRPCAuthorizatioProtocol
2018-10-18 09:53:41 -07:00
Muxi Yan
62693ec1bd
Merge remote-tracking branch 'upstream/master' into config-isolation
2018-10-18 09:38:26 -07:00
Muxi Yan
be4ab30899
Remove dereferencing
2018-10-17 18:05:22 -07:00
Muxi Yan
34e4db810f
Take advantage of nil messaging
2018-10-17 18:04:42 -07:00
Muxi Yan
d578b43218
Add channelOptionsHash: to GRPCCChannelOptions
2018-10-17 18:01:14 -07:00
Muxi Yan
f48c90606f
Add isChannelOptionsEqualTo: to GRPCCallOptions
2018-10-17 17:46:09 -07:00
Muxi Yan
d47f4b4c23
Check return value rather than error
2018-10-17 17:06:16 -07:00
Muxi Yan
8fef0c8789
Rewrite the channel pool
2018-10-17 16:59:00 -07:00
Muxi Yan
86ff72bb47
Add missing type information
2018-10-17 11:42:04 -07:00
Muxi Yan
677ab86b4a
rename createChannel -> createChannelCallback
2018-10-17 11:41:59 -07:00
Muxi Yan
da42aa1c1b
Add designated initializer annotation
2018-10-17 10:06:07 -07:00
Muxi Yan
ad5485ae4e
Make channel args immutable
2018-10-16 18:28:16 -07:00
Muxi Yan
bc292b87c2
polish attributes of GRPCChannelConfiguration
2018-10-16 18:14:34 -07:00
Muxi Yan
549db7b80b
host == nil -> host.length == 0
2018-10-16 18:10:48 -07:00
Muxi Yan
62fb609df7
rename kChannelPool->gChannelPool
2018-10-16 18:10:02 -07:00
Muxi Yan
6032e960d4
Polish channelID comments
2018-10-16 18:06:13 -07:00
Muxi Yan
543fbf38c0
timeout > 0
2018-10-16 17:40:35 -07:00
Muxi Yan
a8b07a37df
Synchronized access to kHostCache
2018-10-16 17:39:51 -07:00
Muxi Yan
7d32a2cb25
Set user's dispatch queue's handler to internal serial queue
2018-10-16 17:10:32 -07:00
Muxi Yan
da43545ff7
Check callSafety in -init in GRPCCall
2018-10-16 16:38:04 -07:00
Muxi Yan
b3d236d1bf
Prevent empty string
2018-10-16 16:07:42 -07:00
Muxi Yan
9f47e76fc8
QoS for internal dispatch queues
2018-10-16 16:06:54 -07:00
Muxi Yan
bf09206496
Separate GRPCProtoResponseHandler from GRPCResponseHandler
2018-10-16 15:34:39 -07:00
Muxi Yan
34e2a7be17
Merge pull request #16650 from muxi/fix-analyze-issue
...
Fix analyze issues in gRPC ObjC lib
2018-10-16 13:35:45 -07:00
Muxi Yan
e69a7cc7f7
patch the previous fix
2018-10-12 11:21:52 -07:00
Muxi Yan
e457b0dacc
Fix missing initialMetadata in GRPCMutableCallOptions
2018-10-12 09:02:52 -07:00
Muxi Yan
92d6e285d1
Polish exception message
2018-10-11 16:42:53 -07:00
Muxi Yan
454966e36c
Copy in GRPCCallOptions setters
2018-10-11 16:38:14 -07:00
Muxi Yan
1c8751f366
Avoid copy in GRPCCallOptions:copyWithZone:
2018-10-11 16:33:02 -07:00
Muxi Yan
ecf85f0459
Copy fields in GRPCCallOptions initializer
2018-10-11 16:23:25 -07:00
Muxi Yan
229651a371
Check range of value-typed channel arg
2018-10-11 16:17:38 -07:00
Muxi Yan
2c47c95338
Rename channelId->channelID
2018-10-11 16:17:03 -07:00
Muxi Yan
521ffacd7c
Add example to channelPoolDomain
2018-10-11 14:44:55 -07:00
Muxi Yan
0fc040d19a
Rename pemXxx parameters to PEMXxx
2018-10-11 14:33:00 -07:00
Muxi Yan
2c1c22c3f1
Do not nullify GRPCCall2._call on half-close
2018-10-11 14:31:49 -07:00
Muxi Yan
a397862fd5
property attribute fixes
2018-10-11 13:52:24 -07:00
Muxi Yan
0d4ac971df
Restrict NSTimeInterval parameters to non-negative
2018-10-11 13:45:43 -07:00
Muxi Yan
96709ecb8c
Fix another NSString* != nil to NSString.length != 0
2018-10-11 13:34:24 -07:00
Muxi Yan
8592dc2722
Rename GRPCTransportTypeDefault to GRPCTransportTypeChttp2CFStream
2018-10-11 13:31:07 -07:00
Muxi Yan
bca7e68ccb
use strong self for authTokenProvider
2018-10-11 13:17:40 -07:00
Muxi Yan
fb9d054ac7
Check string length
2018-10-11 13:16:35 -07:00
Muxi Yan
aabce5e19c
Initialize flag
2018-10-11 13:16:09 -07:00
Muxi Yan
b634447d2c
Resetting _call and _handler on finish
2018-10-11 13:15:45 -07:00
Muxi Yan
92e81c80ef
Add comment on clearing GRPCCall2._handler
2018-10-11 11:33:27 -07:00
Muxi Yan
5d16c2ff92
Move issuance of response in helper functions
2018-10-11 11:20:26 -07:00
Muxi Yan
f18b08a1a4
Check if optional method of GRPCCallOptions are implemented
2018-10-10 18:55:28 -07:00
Muxi Yan
413077101e
requestOptions precondition check polishing
2018-10-10 18:10:21 -07:00
Muxi Yan
161dc27b2d
Copy string fix
2018-10-10 18:09:42 -07:00
Muxi Yan
50dac67214
Update GRPCCall2:cancel: docs
2018-10-10 18:09:01 -07:00
Muxi Yan
fe8a899b63
Rename writeWithData to writeData
2018-10-10 16:56:00 -07:00
Muxi Yan
eab498bef4
Handle GRPCCall2:start: twice
2018-10-10 16:50:44 -07:00
Muxi Yan
efa359b02b
Rename handler->responseHandler in function signature
2018-10-10 16:50:12 -07:00
Muxi Yan
0865a60988
Typo and doc fix
2018-10-10 16:45:30 -07:00
Muxi Yan
5715719afb
Make multiple -init and +new UNAVAILABLE; identify designated initializer
2018-10-10 16:36:09 -07:00
Muxi Yan
553664f59b
Make dispatcheQueue of responseHandler required
2018-10-10 16:34:21 -07:00
Muxi Yan
21c32e8f01
Remove redundant forward declaration
2018-10-10 16:33:41 -07:00
Muxi Yan
e08c05903a
Assert argument non-null
2018-10-08 17:12:08 -07:00
Muxi Yan
309ba19152
Channel pool
2018-10-08 15:52:27 -07:00
Muxi Yan
0fd4727def
deprecated old API
2018-10-08 15:51:39 -07:00
Muxi Yan
e2e5c81893
New API for GRPCCall
2018-10-08 15:50:55 -07:00
Stanley Cheung
e5ce1e36e6
Regenerate projects
2018-10-08 15:50:50 -07:00
Muxi Yan
b772e67c57
clang_format
2018-09-25 14:44:04 -07:00
Muxi Yan
f83ca91702
Fix crash in grpc_errorFromStatusCode
2018-09-25 10:52:31 -07:00
Muxi Yan
6a75d93e91
Fix analyze issues in gRPC ObjC lib
2018-09-18 18:11:45 -07:00
Juanli Shen
8ceb27a324
Regenerate projects
2018-08-27 14:27:55 -07:00
Vijay Pai
bbb97318e8
Merge branch 'master' into callback_cq
2018-08-13 11:07:22 -07:00
Muxi Yan
da8c26f302
Merge pull request #16261 from muxi/dynamic-cfstream-init
...
Use environment variable to enable CFStream
2018-08-13 09:19:28 -07:00
Muxi Yan
9bde41b8e8
Merge pull request #16271 from muxi/verbose-error
...
Surface error_string to ObjC users
2018-08-10 15:25:15 -07:00
Vijay Pai
e509e70b2d
Obj-c doesn't have nullptr, use NULL
2018-08-10 15:01:25 -07:00
Vijay Pai
e84096bbe5
Experimental infrastructure for callback-based CQ
2018-08-10 14:33:22 -07:00
Muxi Yan
8a8f33928f
clang-format
2018-08-07 10:52:32 -07:00
Muxi Yan
ae013976b2
Surface error_string to ObjC users
2018-08-07 09:34:51 -07:00
Muxi Yan
e8f0e54dce
Enable CFStream with environment variable
2018-08-06 18:55:45 -07:00
Muxi Yan
4e294d2aa3
Make strong reference in notification center callback
2018-08-01 15:26:02 -07:00
Muxi Yan
5c275b5f22
Fix refcounting issue
2018-08-01 10:51:14 -07:00
Srini Polavarapu
8c9af7464c
Regenerate projects
2018-07-19 09:52:56 -07:00
Muxi Yan
c635e41c22
Timeout and backoff
2018-06-19 13:49:44 -07:00
Muxi Yan
b13eda3cb4
Enable retry
2018-06-19 12:04:06 -07:00
Mark D. Roth
9e3e64604d
Merge pull request #15274 from JackOfMostTrades/verify-callback-core
...
Create verify_peer_options when creating ssl credentials to support a peer verification callback
2018-06-19 10:00:16 -07:00
Srini Polavarapu
d6616280d3
Merge pull request #15694 from srini100/bump-to-v1.14
...
Bump master to v1.14
2018-06-14 19:57:13 -07:00
Muxi Yan
c54f607dd0
Merge pull request #15554 from var-const/objc-cert-null-term
...
Fix out-of-bounds access loading pem files in Objective-C.
2018-06-12 15:29:32 -07:00
Ian Haken
68eff58df6
Create verify_peer_options when creating ssl credentials in order to expose a verification callback option.
...
These options are not yet exposed to languages outside of core.
2018-06-12 12:59:37 -07:00
Muxi Yan
9ae3aeb12f
Do not register connectivity monitor if using CFStream
2018-06-08 17:45:49 -07:00
Srini Polavarapu
c79c156307
Regenrate projects
2018-06-08 17:01:18 -07:00
Muxi Yan
d7728cda51
Merge pull request #15069 from muxi/prototype-cfstream
...
Implementation of CFStream
2018-06-07 10:45:10 -07:00
Konstantin Varlamov
e05196d819
Review feedback
2018-06-03 18:27:58 -04:00
Muxi Yan
4dbd18aec5
Make mobile log per-host and rename as context
2018-05-29 10:45:04 -07:00
Konstantin Varlamov
a9b235a224
Fix out-of-bounds access loading pem files in Objective-C.
...
dataUsingEncoding: method of NSString does *not* return
a null-terminated string. Passing it to GRPC core results in an
out-of-bounds access when the resulting non-null-terminated buffer is
passed to strlen.
2018-05-25 16:15:25 -04:00
Muxi Yan
ba221d0423
Merge branch 'master' into prototype-cfstream
2018-05-22 10:12:38 -07:00
Muxi Yan
7e5cfc2ab3
Merge branch 'master' into fix-objc-msan
2018-05-18 15:50:34 -07:00
Muxi Yan
3001499c0f
Merge pull request #15050 from grpc/fix-grpchost-connchange
...
Fix GRPCHost callback for connectivity monitor
2018-05-16 17:02:08 -07:00
Muxi Yan
fe5989ecf5
Comments
2018-05-16 16:51:22 -07:00
Muxi Yan
fd30b02486
Merge pull request #13498 from lipka/utf8
...
Objective-C: UTF8 encoding for error messages and metadata values
2018-05-16 09:51:24 -07:00
Muxi Yan
0f1fcd48f2
Fix build error
2018-05-16 09:46:35 -07:00
Muxi Yan
5c30f1cca0
Tweaks to existing components for CFStream
2018-05-15 12:39:50 -07:00
Muxi Yan
58686fe7ea
Fix a memory leak
2018-05-05 15:13:52 -07:00
Mehrdad Afshari
2d43a45ad1
Regenerate projects
2018-05-02 22:49:52 -07:00
Muxi Yan
bc1a1b4411
Comment on the fix
2018-04-17 14:39:25 -07:00
Muxi Yan
bb5482f944
Fix _channel ref count issue
2018-04-17 10:29:27 -07:00
Muxi Yan
b458070aaa
Unregister connectivitymonitor callback at dealloc
2018-04-12 16:37:31 -07:00
Muxi Yan
417e63af52
Fix GRPCHost callback for connectivity monitor
2018-04-12 16:33:26 -07:00
Muxi Yan
c92d90aba2
clang-format objective-c files
2018-04-11 18:10:02 -07:00
Muxi Yan
b0db704e60
Merge pull request #14942 from muxi/fix-objc-status
...
Fix gRPC ObjC return status
2018-04-10 09:57:18 -07:00
Muxi Yan
109bb09da3
Surface return status from core
2018-04-04 16:18:45 -07:00
Mehrdad Afshari
90cfc8ed57
Regenerate projects
2018-04-04 14:04:11 -07:00
Muxi Yan
dfbf607ccb
Introduce channel arg to disable authority filter
2018-04-01 22:51:02 -07:00
Muxi Yan
bb10d2a58d
Release self retain only after all clean-up done
2018-03-29 14:34:22 -07:00
Muxi Yan
a6ffad9725
Polish comments for setKeepaliveWithInterval
2018-03-26 17:18:25 -07:00
Muxi Yan
6d855c5f3c
Allow gRPC ObjC user to set keepalive options
2018-03-26 11:50:10 -07:00
Muxi Yan
a1cb4592a4
Remove hostname extraction for ConnectivityMonitor
2018-03-02 16:50:01 -08:00
Muxi Yan
07767950c8
Revert "Revert "Refactor connectivity monitor on iOS""
2018-02-28 16:53:41 -08:00
Muxi Yan
c6c5ce923c
Revert "Refactor connectivity monitor on iOS"
2018-02-28 16:04:29 -08:00
Muxi Yan
822d175ac2
Refactor connectivity monitor
2018-02-26 16:20:49 -08:00
Muxi Yan
0cfd3cd554
Guarantees that `GRPCCall:finishWithError` is only called once
2018-02-26 16:18:11 -08:00
Muxi Yan
e0857f3b91
Cancel underlying call when GRPCCall is finished
2018-02-26 16:16:50 -08:00
Muxi Yan
55ea27160e
Better use of strong/weak ref to self in GRPCCall
2018-02-26 16:12:09 -08:00
Muxi Yan
5699cfcd45
Merge pull request #14318 from muxi/add-logging-interface
...
Add mobile log interface to ObjC
2018-02-23 10:04:40 -08:00
Mehrdad Afshari
9073ea03ef
Regenerate projects
2018-02-22 22:21:33 -08:00
Muxi Yan
1a6d3a529b
Add comments to the interface
2018-02-22 14:59:17 -08:00
Noah Eisen
dda548f6d7
Fix comiler warning
2018-02-14 17:20:13 -08:00
Muxi Yan
6f0b195d20
Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_*
2018-02-06 18:17:42 -08:00
Muxi Yan
3e440f3500
Add MobileLog support
2018-02-05 11:27:00 -08:00
Muxi Yan
9e794d86a8
Remove initial backoff override in ObjC
2018-02-02 13:50:01 -08:00
apolcyn
dc8028272e
Merge pull request #14042 from apolcyn/ruby_25_on_kokoro_mac
...
Ruby macos kokoro environment and package build updates
2018-01-25 12:15:15 -08:00
Alexander Polcyn
190a8dbc6c
Fix linker error on objc mac tests by explicitly installing cocoapods v1.3.1, rather than picking up 1.4.1
2018-01-24 20:31:33 -08:00
Muxi Yan
fd900e09fb
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2018-01-24 16:16:23 -08:00