Jihun Cho
30f8f26f7a
okhttp: use FINE log for pure IOExceptions
2019-10-24 15:17:16 -07:00
Jihun Cho
c166ec2c4e
netty: use FINE log for pure IOExceptions
2019-10-24 15:17:16 -07:00
Ran
03c75e180c
github: wrap non-title content into comment blocks. ( #6331 )
2019-10-24 10:02:44 -07:00
Kun Zhang
47d798bbec
Start 1.26.0 development cycle ( #6329 )
2019-10-23 15:27:22 -07:00
ZHANG Dapeng
38952b0b38
grpclb: cancel stream instead of halfClose when balancer shutdown
...
Previously, if the remote balancer doesn't close the stream after receiving the half-close, the OOB channel will hang there forever. It's safer to always cancel on the client-side so that the OOB channel can be cleaned up timely, regardless of what the remote balancer does.
2019-10-23 12:05:24 -07:00
ZHANG Dapeng
b009e92156
xds: Bump perfmark to 0.19.0
...
Resolves #6217
2019-10-22 16:55:39 -07:00
Steve Rao
d1411b205c
examples: adjust comment ( #6314 )
2019-10-22 15:45:42 -07:00
Jihun Cho
2eb3f8c34e
stub,compiler: Rollback Abstract{Future,Blocking,Async}Stub ( #6317 )
...
rollback of #6304 & #6196
2019-10-22 13:27:30 -07:00
Carl Mastrangelo
f2d0f87d2e
compiler: set safe and idempotent bits on method descriptors
2019-10-22 10:59:11 -07:00
Carl Mastrangelo
4503a233f4
api: stabilize safe and idempotent methods in MethodDescriptor
2019-10-22 10:59:11 -07:00
sanjaypujare
ed845991db
xds: remove unused SecretManager code based on separate TlsCertificate and CertificateValidationContext secrets ( #6310 )
2019-10-21 16:45:45 -07:00
ZHANG Dapeng
13fad99549
xds: remove gogoproto dependency
...
Since e7f0b7176e and 1dd72ab043 , gogoproto is not a dependency anymore.
2019-10-21 15:42:27 -07:00
sanjaypujare
f07fcd7d7b
xds: TlsContextManager refactoring to match its usage; add tests for TlsContextManager ( #6297 )
2019-10-21 15:07:35 -07:00
ZHANG Dapeng
5cb67d6399
xds: remove invalid srcDir third_party/protoc-gen-validate/src/main/proto
...
The directory third_party/protoc-gen-validate/src/main/proto was removed in #6177 .
2019-10-21 14:24:17 -07:00
Jihun Cho
ae11b9facc
api,core,stub: fix lint errors ( #6305 )
2019-10-18 17:30:00 -07:00
Jihun Cho
ecbc5e4f47
stub: add RunWith for AbstractStub tests ( #6304 )
2019-10-18 16:30:48 -07:00
Chengyuan Zhang
9dce879742
xds: add fields for EDS server and LRS server in XdsConfig ( #6287 )
2019-10-18 13:33:56 -07:00
Jihun Cho
eef47b26b8
core,grpclb: DnsNameResolver will use srv record by default if grpclb ( #6298 )
2019-10-18 13:00:47 -07:00
Chengyuan Zhang
c0f91efffb
xds: import http_connection_manager proto from envoy repo ( #6301 )
2019-10-18 11:00:11 -07:00
Chengyuan Zhang
b5ddf3ef08
xds: import proto files for CDS, LDS, RDS from envoy repo ( #6292 )
2019-10-17 18:29:07 -07:00
Chengyuan Zhang
1dd72ab043
xds: update envoy proto version to f709434b37e9ff74666d5b854aa11fb2f1ec37f3 ( #6291 )
2019-10-17 17:23:40 -07:00
Ran
fe46edacea
stub: ignore unary response msg if status is not OK ( #6288 )
...
* stub: ignore unary response msg if status is not OK
* stub: throw if no msg with OK status
* address the comment, improve tests.
* fix error message
* fix error message
* improve naming of the tests
* call onCompleted on success unary flow
* fix test
* handle errors for delayed unary message sending
* clean up the onCompleted/onError logic
* use hasMessageThat to produce better error message when fail
2019-10-17 14:49:53 -07:00
Jihun Cho
45d49a56cc
stub,compiler: generated stub extends Abstract{Async,Future,Blocking}Stub ( #6196 )
2019-10-17 14:49:24 -07:00
Eric Anderson
40f401d0e7
api: Clarify setting safe/idempotent may change other value
2019-10-17 10:01:34 -07:00
Jihun Cho
9a34ceece6
xds: fix lint warnings ( #6289 )
2019-10-16 16:50:03 -07:00
sanjaypujare
8d1ee9cfc7
xds: implementation of SslContextSecretVolumeSecretProvider ( #6251 )
2019-10-16 15:15:28 -07:00
sanjaypujare
4fc41bd0e1
xds: SdsTrustManagerFactory implementation - uses SdsX509TrustManager ( #6267 )
2019-10-16 14:35:49 -07:00
Eric Anderson
9eca2dcc4f
api: Add ExperimentalApi annotations for blockingExecutor
...
These should have been present when initially added in #6238 , but we forgot.
2019-10-16 13:58:55 -07:00
Eric Anderson
3ce5df3f78
api: Safe implies idempotent
2019-10-16 13:29:38 -07:00
Eric Anderson
9f0f2a3c85
bazel: Add compatibility for --incompatible_load_cc_rules_from_bzl
2019-10-16 13:29:19 -07:00
Eric Anderson
372945fde5
travis: Upgrade from trusty to xenial
...
In 97cb0554 we pinned ourselves to trusty to workaround temporary Java 8
issues. Oracle JDK 8 is "dead" across the ecosystem because Oracle
removed download links to it, so we swap to openjdk 8 as we have done
elsewhere. OpenJDK 8 is supported with xenial, so we can upgrade.
Unfortunately bionic on Travis does not include openjdk8, so we will be
unable to easily upgrade to newer versions of the distro unless we drop
JDK 8 compilation or we figure out a way to get it working. For example,
in may be possible to install the openjdk-8-jdk package.
2019-10-16 11:38:09 -07:00
Eric Anderson
fa45a71ec9
api: Allow streaming methods to be safe
2019-10-16 10:08:42 -07:00
sanjaypujare
ddaf1c8ce9
xds: fix to use the resource based TestUtils.loadCert ( #6281 )
2019-10-15 17:32:45 -04:00
Jihun Cho
eda5e2e32c
protobuf: StatusProto#fromStatusAndTrailers fall-back use status ( #6278 )
2019-10-15 08:49:08 -07:00
Grant Oakley
adcfb3e623
api,core: Adds an Executor field to NameResolver.Args.
...
Adds an Executor to NameResolver.Args, which is optionally set on ManagedChannelBuilder. This allows NameResolver implementations to avoid creating their own thread pools if the application already manages its own pools.
Addresses #3703 .
2019-10-14 08:46:26 -07:00
Ran
58886310e4
xds: disable test that break on blaze. ( #6275 )
2019-10-11 14:16:47 -07:00
sanjaypujare
ab092ec43c
xds: disables some tests that break with blaze ( #6273 )
2019-10-11 11:40:11 -07:00
sanjaypujare
0c4fc64bf2
xds: first installment of SdsProtocolNegotiators with Client and Server builders ( #6261 )
...
* xds: SdsProtocolNegotiators with Client and Server builders
2019-10-10 16:38:27 -07:00
Ran
a94a63c7ae
xds: clean up. ( #6271 )
2019-10-10 16:18:09 -07:00
Ran
0e25cd8e7c
xds: add private constructor for utility class. ( #6270 )
2019-10-10 16:06:17 -07:00
ZHANG Dapeng
316a739e67
Revert "all: remove deprecated usePlaintext(boolean)"
...
This reverts commit 296857b4e7 .
2019-10-10 15:56:47 -07:00
Jihun Cho
2c3ef874d8
core: fix typo in AutoConfiguredLoadBalancerFactory ( #6262 )
2019-10-10 12:34:45 -07:00
Ran
ba17682eb2
okhttp: fix header scheme does not match transport type. ( #6260 )
...
okhttp: fix header scheme does not match transport type.
2019-10-09 18:00:45 -07:00
sanjaypujare
a633b53f95
xds: SdsX509TrustManager implementation for XDS and SDS ( #6254 )
2019-10-09 14:52:09 -07:00
Eric Anderson
024a46bd11
bazel: Support --incompatible_load_proto_rules_from_bzl
...
This flag will be enabled by default in Bazel 1.0
Since I changed the grpc-proto repo version for Bazel, I also synced the
protos.
2019-10-09 14:46:17 -07:00
Eric Anderson
7e8e9d6a86
bazel: Remove deps that protobuf includes
...
net_zlib is no longer used ("zlib" is used instead). Zlib and skylib are
both included via protobuf_deps(). With the language-specific rules
needing to be imported (e.g., rules_proto, rules_java) we are relying on
protobuf_deps() pretty heavily starting in Protobuf 3.10, so we aren't
losing much to remove these two deps.
2019-10-09 10:49:54 -07:00
Elliotte Rusty Harold
079219bbc9
Update to GSON 2.8.5 and protobuf 3.10.0
2019-10-09 07:47:34 -07:00
Chengyuan Zhang
b69f19d589
okhttp: add full implementation of HPACK header compression ( #6026 )
...
This change added the missing implementation of HTTP/2 HPACK for writer. The implementation is copied (and modified) from upstream OkHttp (OkHttp3).
- Huffman encoding of writer is disabled by default.
2019-10-08 10:06:26 -07:00
ZHANG Dapeng
296857b4e7
all: remove deprecated usePlaintext(boolean)
2019-10-08 09:27:39 -07:00
Chengyuan Zhang
0ec31c683e
Revert "Revert "stub: Wait for onClose when blocking stub is interrupted"" ( #6255 )
...
This reverts commit 0604e14154 .
2019-10-07 11:40:20 -07:00