2467 Commits

Author SHA1 Message Date
c4a6e7589b documentation: mention Register functions should be call at init time (#1975) 2018-04-12 15:11:04 -07:00
0c6b34bbc3 cleanup: extend dial context for TestFailFastRPCErrorOnBadCertificates to 10 seconds (#1984) 2018-04-12 15:05:04 -07:00
2783898b89 Fix Test: race between t.Write() and t.closeStream() (#1989) 2018-04-12 14:13:47 -07:00
db0f0713e3 Small test readability fixes (#1985) 2018-04-11 10:12:06 -07:00
858463ac27 documentation: mention peer will only be populated after RPC completes (#1982) 2018-04-10 15:56:38 -07:00
b1807c3189 Channelz: more stable tesing (#1983) 2018-04-10 14:27:42 -07:00
844b2a520b grpclb: fix issues caused by caching SubConns (#1977) 2018-04-10 14:23:07 -07:00
cf3bf7f774 createTransport: check for SHUTDOWN before assigning TransientFailure to ac.state (#1979) 2018-04-10 12:48:04 -07:00
e8d9fec333 resolver/dns: Typo in lookupHost failure warning (#1981) 2018-04-10 10:35:41 -07:00
7f73c863c0 Channelz: Entity Registration and Deletion (#1811) 2018-04-09 11:13:06 -07:00
7316918402 clientconn: add support for unix network in DialContext. (#1883) 2018-04-09 11:12:34 -07:00
30fb59a430 documentation: Mark compresser and decompresser as deprecated (#1971) 2018-04-06 11:05:14 -07:00
85ce056528 grpclb: cache SubConns for 10 seconds after it is removed from the backendlist (#1957) 2018-04-05 14:10:33 -07:00
4b17696981 internal: clean up deprecated Invoke() usage (#1966) 2018-04-05 14:09:56 -07:00
76b07ed73d Mark old balancer and naming APIs as deprecated (#1951) 2018-04-05 13:12:31 -07:00
d0a21a3347 Export changes to OSS. (#1962) 2018-04-05 10:45:41 -07:00
291de7f0ab metadata: Add Get, Set, and Append methods to metadata.MD (#1940) 2018-04-04 09:11:19 -07:00
2eae9d0c74 server: add grpc.Method function for extracting method from context (#1961) 2018-04-02 13:08:04 -07:00
d354447dc6 resolver/manual: fix minor typo (#1960)
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 10:01:29 -07:00
2dfcc11f7a status: remove redundant import (#1947) 2018-03-30 13:35:21 -07:00
1a70180f35 client: Fix race when using both client-side default CallOptions and per-call CallOptions (#1948) 2018-03-29 10:34:29 -07:00
f72b28a6d1 Change version to 1.12.0-dev (#1946) 2018-03-27 15:15:31 -07:00
f2620c3803 resolver: keep full unparsed target string if scheme in parsed target is not registered (#1943) 2018-03-27 13:58:27 -07:00
9d2250f5c8 status: rename Status to GRPCStatus to avoid name conflicts (#1944) 2018-03-27 13:26:51 -07:00
275695638f status: Allow external packages to produce status-compatible errors (#1927)
Embues the status package with the ability to create statuses
from generic errors that implement the interface:

type StatusError interface {
    Status() *Status
}

This was designed with the github.com/gogo/protobuf project in mind,
but is implemented in a fashion that makes it accessible to arbitrary
payloads.

Fixes #1885.
2018-03-26 15:33:25 -07:00
bdb0727fa7 Merge pull request #1941 from jtattermusch/routeguide_reimplement_distance
routeguide: reimplement distance calculation
2018-03-22 17:33:38 +01:00
0ff1b76450 routeguide: reimplement distance calculation 2018-03-22 12:52:22 +01:00
dfbefc6795 service reflection can lookup enum, enum val, oneof, and field symbols (#1910)
* service reflection can lookup enum, enum val, oneof, and field symbols; cache descriptors

* address feedback: don't use mutex, remove unnecessary conditional, make fileDescContainingExtension a func instead of a method
2018-03-21 16:49:57 -07:00
32d9ffabba Documentation: Fix broken link in rpc-errors.md (#1935) 2018-03-21 10:14:55 -07:00
d5126f928f Correct Go 1.6 support policy (#1934) 2018-03-21 10:03:08 -07:00
5415d18359 Add documentation and example of adding details to errors (#1915) 2018-03-21 08:56:43 -07:00
57640c0e6f Allow storing alternate transport.ServerStream implementations in context (#1904) 2018-03-20 17:02:32 -07:00
031ee13cfe Fix Test: Update the deadline since small deadlines are prone to flakes on Travis. (#1932) 2018-03-20 16:46:10 -07:00
2249df6df9 gzip: Add ability to set compression level (#1891) 2018-03-20 11:57:00 -07:00
8124abf74e credentials/alts: Remove the enable_untrusted_alts flag (#1931) 2018-03-19 18:27:44 -07:00
b96718f8f0 metadata: Fix bug where AppendToOutgoingContext could modify another context's metadata (#1930) 2018-03-19 16:23:41 -07:00
738eb6b62f fix minor typos and remove grpc.Codec related code in TestInterceptorCanAccessCallOptions (#1929) 2018-03-19 14:19:42 -07:00
211a7b7ec0 credentials/alts: Update ALTS "New" APIs (#1921) 2018-03-19 09:07:54 -07:00
fa28bef939 client: export types implementing CallOptions for access by interceptors (#1902) 2018-03-16 15:57:34 -07:00
ec9275ba9a travis: add Go 1.10 and run vet there instead of 1.9 (#1913) 2018-03-16 08:47:14 -07:00
13975c0702 stream: split per-attempt data from clientStream (#1900)
This is pre-work to implementing retry support. Each retry attempt will have its own csAttempt. The fields left in clientStream are the same across all attempts.
2018-03-12 13:27:54 -07:00
2c2d834e8e stats: add BeginTime to stats.End (#1907) 2018-03-12 09:16:36 -07:00
3a9e1bab62 Reset ping strike counter right before sending out data. (#1905)
Eliminate race which causes a ping to be scheduled between pingStrike counter being reset and data being scheduled.
2018-03-12 09:09:31 -07:00
90dca43332 resolver: always fall back to default resolver when target does not follow URI scheme (#1889)
Previously, any target with "://" would be handled according to the URI scheme even though it did not contain a third slash.
2018-03-08 14:00:17 -08:00
9aba04495f server: Convert all non-status errors to codes.Unknown (#1881)
- convertCode utilized errors that were not allowed by the library per 9d0bc30edb/doc/statuscodes.md
- Relevant issue: #1672
2018-03-08 13:46:26 -08:00
efcc755fd5 credentials/alts: change ALTS protos to match the golden version (#1908) 2018-03-08 12:12:55 -08:00
0843fd0ee0 credentials/alts: fix infinite recursion bug [in custom error type] (#1906) 2018-03-07 13:50:30 -08:00
207e2760fd Fix test race: Atomically access minConnecTimout in testing environment. (#1897) 2018-03-07 10:36:17 -08:00
3ae2a613bc interop: Add use_alts flag to client and server binaries (#1896) 2018-03-07 10:21:48 -08:00
5190b068e2 ALTS: Simplify "New" APIs (#1895)
ALTS NewClientALTS and NewServerALTS APIs are in the grpc/credentials/alts package. Having the term ALTS in the API names is redundant. This PR removes it.
2018-03-07 09:14:47 -08:00