aboutsummaryrefslogtreecommitdiff
path: root/cronet
AgeCommit message (Collapse)Author
2018-10-26Bump version to 1.16.1upstream/v1.16.1Eric Anderson
2018-10-24Bump version to 1.16.1-SNAPSHOTEric Anderson
2018-10-24Bump version to 1.16.0upstream/v1.16.0Eric Anderson
2018-10-10core: add CallCredentials2 and deprecate CallCredentials' old interface (#4902)Kun Zhang
This is the first step of smoothly changing the CallCredentials API. Security level and authority are parameters required to be passed to applyRequestMetadata(). This change wraps them, along with MethodDescriptor and the transport attributes to RequestInfo, which is more clear to the implementers. ATTR_SECURITY_LEVEL is moved to the internal GrpcAttributes and annotated as TransportAttr, because transports are required to set it, but no user is actually reading them from {Client,Server}Call.getAttributes(). ATTR_AUTHORITY is removed, because no transport is overriding it. All involved interfaces are changed to abstract classes, as this will make further API changes smoother. The CallCredentials name is stabilized, thus we first introduce CallCredentials2, ask CallCredentials implementations to migrate to it, while GRPC accepting both at the same time, then replace CallCredentials with CallCredentials2.
2018-09-14all: use Java7 bracketsCarl Mastrangelo
2018-09-05all: prepend internal classes with Internal (#4826)zpencer
This is a safer way to hide the classes, because they will not appear in public targets for some build configurations.
2018-09-04all: move Channelz to io.grpc as InternalChannelz (#4797)zpencer
This is an API used to coordinate across packages and must live in `io.grpc`. Prepending `Internal` makes it easier to detect and hide this class from public visibility when using certain build tools. fixes #4796
2018-08-28cronet: report statsTraceCtx.clientOutboundHeaders() (#4768)Eric Gribkoff
2018-08-27Start 1.16.0 development cycle (#4803)Kun Zhang
2018-08-01cronet: cleanup remaining usages of deprecated CallOptions#of(). (#4720)Grant Oakley
2018-07-18Start 1.15.0 development cycle (#4650)zpencer
2018-07-09Propagate EquivalentAddressGroup attributes to transportsEric Anderson
Most of the changes are changing the signature of newClientTransport. Since this is annoying, I choose to introduce a ClientTransportOptions object to avoid the churn in the future. With ClientTransportOptions in place, there's only a few lines necessary of plumbing for the Attributes: add the field to ClientTransportOptions and populate it in InternalSubchannel. There are no consumers of the field in this commit.
2018-06-11all: add gradle format checkerZHANG Dapeng
This PR adds an automatic gradle format checker and reformats all the *.gradle files. After this, new changes to *.gradle files will fail to build if not in good format, just like checkStyle failure.
2018-06-07cronet: fill in transport attributes as required by CallCredentials (#4532)Kun Zhang
2018-06-07cronet: include google() repository (#4548)Eric Gribkoff
2018-06-04cronet: use Cronet from Google's Maven repository (#4531)Eric Gribkoff
2018-06-04Start 1.14.0 development cycleZHANG Dapeng
2018-05-03 all: normalize copyright header Carl Mastrangelo
2018-04-23Start 1.13.0 development cycle (#4383)zpencer
2018-03-21cronet: allow application to provide all threadsZHANG Dapeng
2018-03-15cronet: delay cast to ExperimentalCronetEngine (#4230)Eric Gribkoff
2018-03-13Start 1.12.0 development cycleEric Anderson
2018-03-12core,netty,okhttp: Transparent retryZHANG Dapeng
Changes: - `ClientStreamListener.onClose(Status status, RpcProgress rpcProgress, Metadata trailers)` added. - `AbstractClientStream.transportReportStatus(Status status, RpcProgress rpcProgress, boolean stopDelivery, Metadata trailers)` added - `ClientCallImpl.ClientStreamListenerImpl` will ignore the arg `rpcProgress` (non retry) - `RetriableStream.SubListener` will handle `rpcProgress` and decide if transparent retry. - `NettyClientHandler` and `OkHttpClientTransport` will pass `RpcProgress.REFUSED` to client stream listener for later stream ids when received GOAWAY, or for stream received a RST_STREAM frame with REFUSED code. - All other files are just a result of refactoring.
2018-03-12cronet: add API to apply TrafficStats tag and UID to Cronet GRPC channels ↵Paul Jensen
(#4208)
2018-03-08core,netty,okhttp,testing: nest TransportStats inside SocketStats for ↵zpencer
channelz (#4190) Transport ststistics should really be a child member of SocketStats. While we're at it, let's add the local and remote SocketAddress to SocketStats, with a test.
2018-02-05cronet,examples: remove unused importsEric Gribkoff
2018-01-30Start 1.11.0 development cycleEric Gribkoff
2018-01-25core: move ChannelStats and TransportStats to io.grpc.internal.Channelz (#4008)zpencer
2018-01-25core: move Instrumented, LogId, WithLogId to io.grpc.internal as public (#3995)zpencer
2018-01-16cronet: add build.gradle and script for Cronet depsEric Gribkoff
2017-12-14cronet: Fix compilation errorsEric Anderson
2017-12-14cronet: pass TransportTracer instead of null. (#3869)Kun Zhang
AbstractStream now requires TransportTracer to be non-null.
2017-12-07cronet, grpc-lb, interop-testing: fix lints #3848zpencer
2017-12-07cronet: update CronetClientTransport interface (#3846)zpencer
2017-12-04all: add Status messages to all statusesCarl Mastrangelo
2017-11-27cronet: use TestMethodDescriptors.voidMethod instead of noopMethodZHANG Dapeng
2017-11-17cronet: update to work with TransportTracer APIEric Gribkoff
2017-11-09cronet: allow multiple annotation objects attached to streamEric Gribkoff
2017-11-08cronet: add testsEric Gribkoff
2017-10-19cronet: add ProxyParam arg to CronetTransportFactory (#3589)zpencer
2017-10-11cronet: make CronetChannelBuilder finalEric Gribkoff
2017-10-06cronet: open-source experimental Cronet transport codeEric Gribkoff