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
0b6cb7dcb2
Revert "Redo "Pass a non-infinite deadline to grpc_completion_queue_next() to prevent queues from blocking indefinitely in poll()""
9 years ago
Jorge Canizales
7cfb396bf6
Make copyright not expire one year too soon.
9 years ago
Jorge Canizales
c5dd4d47aa
Use a singleton completion queue
9 years ago
Paul Querna
3f2133fc97
kSCNetworkReachabilityFlagsIsWWAN is only available on iOS, not all Mac targets.
9 years ago
Jorge Canizales
5a8ec75012
Use a named constant for error domain and code
9 years ago
Nicolas "Pixel" Noble
aad4156a0b
Disabling iOS user-agent test.
9 years ago
Jorge Canizales
cfcaccc6d2
Revert "Revert "Pass a non-infinite deadline to grpc_completion_queue_next() to prevent queues from blocking indefinitely in poll()""
9 years ago
Jorge Canizales
5e67232030
Make Writeable with single handler robust against stream Writers
9 years ago
Jorge Canizales
232b6a8f19
Test robustness of WriteableSingleHandler against non-single Writers
9 years ago
Jorge Canizales
8b414f184d
Clean up ownership of the connection loss handler
9 years ago
Jorge Canizales
07a2a70bca
Not call external methods from within a critical section
9 years ago
Jorge Canizales
f1d084a4d1
Add monitoring of connectivity
...
Move C-layer call creation into GRPCChannel, so that it always acts on a
non-destroyed channel.
Listen for connectivity in the GRPCCall, and destroy the channel.
9 years ago
Craig Tiller
c1edf22479
Fix sanity
9 years ago
Jan Tattermusch
459edd9712
Revert "Pass a non-infinite deadline to grpc_completion_queue_next() to prevent queues from blocking indefinitely in poll()"
9 years ago
Greg Haines
aaf66a9981
Add comments and feature flag.
9 years ago
Greg Haines
91bd627de4
Feedback from @jcanizales and @vjpai
9 years ago
Greg Haines
42dab364a3
Pass a non-infinite deadline to grpc_completion_queue_next() to prevent queues from blocking indefinitely in poll().
9 years ago
Makarand Dharmapurikar
f1588b5154
Another nit fix..
9 years ago
Makarand Dharmapurikar
c9dbf645e4
fixed indentation and removed unnecessary empty line
9 years ago
Makarand Dharmapurikar
c2b3490fc5
Added a test to verify user agent prefix can be set correctly.
9 years ago
Nicolas "Pixel" Noble
7204010c05
Fixing format and copyright.
9 years ago
Makarand Dharmapurikar
1c2890d6fb
Order change of includes.
9 years ago
Makarand Dharmapurikar
54a3cc64b8
Reverted a change, removed empty test.
9 years ago
Makarand Dharmapurikar
63f2b5b2d0
Fixed nits.
9 years ago
Makarand Dharmapurikar
a0414ee12f
Addressed feedback from @jcanizales
9 years ago
Test User
9656eca510
Added tests for code coverage
9 years ago
Craig Tiller
6c90d898b6
Fix sanity
9 years ago
Kristopher Wuollett
58d98910ad
Removed unused userAgentPrefix variable
9 years ago
Jorge Canizales
be303e12cb
Add user agent of the library to that of the app.
9 years ago
Kristopher Wuollett
20b79e702d
Updated user agent to be a host-level setting
9 years ago
Kristopher Wuollett
99354c3cad
Formatting and naming fixes
9 years ago
Kristopher Wuollett
55484da58a
Restored strdup of keys and values to ensure ownership of their memory
9 years ago
Kristopher Wuollett
300f7e4322
Renamed user agent setting to userAgentPrefix and changed its scope to global
9 years ago
Kristopher Wuollett
2c6d2bd327
Removed (un)secure channel subclasses
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Kristopher Wuollett
85bf574106
Fixed some formatting
9 years ago
Kristopher Wuollett
c6b301775c
Add channel args to enable user agent string for Objective-C
9 years ago
Jorge Canizales
83f746b4da
Upgrade BoringSSL podspec to v2.0
9 years ago
Jan Tattermusch
73128da651
fix copyrights
9 years ago
Craig Tiller
9b5de799d1
Copyright fix
9 years ago
David Garcia Quintas
1e9c73e8ac
copyright fixes
9 years ago
Kristopher Wuollett
ab5500ea11
Fixed proto method without package naming in ObjC.
9 years ago
Adele Zhou
83576babef
Update interop test service url to grpc-test.sandbox.googleapis.com.
9 years ago
Jorge Canizales
47a7b9ebb0
Prevent warnings on dictionaries w/o string keys
...
Because the category makes the protocol apply to all `NSMutableDictionaries`, it can't assume keys are `NSString`. Because these types are covariant, the change is not breaking.
9 years ago
Jorge Canizales
a78d117dda
Update Swift sample’s XCode project to latest Swift version
9 years ago
Jorge Canizales
35768db8c9
Mark the GRPCRequestHeaders protocol deprecated
10 years ago
Jorge Canizales
e1f74454ac
Add the protocol back for backward compatibility.
10 years ago