Sam Batschelet
7316918402
clientconn: add support for unix network in DialContext. ( #1883 )
2018-04-09 11:12:34 -07:00
Menghan Li
30fb59a430
documentation: Mark compresser and decompresser as deprecated ( #1971 )
2018-04-06 11:05:14 -07:00
Menghan Li
85ce056528
grpclb: cache SubConns for 10 seconds after it is removed from the backendlist ( #1957 )
2018-04-05 14:10:33 -07:00
Jean de Klerk
4b17696981
internal: clean up deprecated Invoke() usage ( #1966 )
2018-04-05 14:09:56 -07:00
Menghan Li
76b07ed73d
Mark old balancer and naming APIs as deprecated ( #1951 )
2018-04-05 13:12:31 -07:00
mmukhi
d0a21a3347
Export changes to OSS. ( #1962 )
2018-04-05 10:45:41 -07:00
Zachary Romero
291de7f0ab
metadata: Add Get, Set, and Append methods to metadata.MD ( #1940 )
2018-04-04 09:11:19 -07:00
dfawley
2eae9d0c74
server: add grpc.Method function for extracting method from context ( #1961 )
2018-04-02 13:08:04 -07:00
Gyuho Lee
d354447dc6
resolver/manual: fix minor typo ( #1960 )
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 10:01:29 -07:00
dfawley
2dfcc11f7a
status: remove redundant import ( #1947 )
2018-03-30 13:35:21 -07:00
Joshua Humphries
1a70180f35
client: Fix race when using both client-side default CallOptions and per-call CallOptions ( #1948 )
2018-03-29 10:34:29 -07:00
Menghan Li
f72b28a6d1
Change version to 1.12.0-dev ( #1946 )
2018-03-27 15:15:31 -07:00
Menghan Li
f2620c3803
resolver: keep full unparsed target string if scheme in parsed target is not registered ( #1943 )
2018-03-27 13:58:27 -07:00
dfawley
9d2250f5c8
status: rename Status to GRPCStatus to avoid name conflicts ( #1944 )
2018-03-27 13:26:51 -07:00
Johan Brandhorst
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
Jan Tattermusch
bdb0727fa7
Merge pull request #1941 from jtattermusch/routeguide_reimplement_distance
...
routeguide: reimplement distance calculation
2018-03-22 17:33:38 +01:00
Jan Tattermusch
0ff1b76450
routeguide: reimplement distance calculation
2018-03-22 12:52:22 +01:00
Joshua Humphries
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
Eno Compton
32d9ffabba
Documentation: Fix broken link in rpc-errors.md ( #1935 )
2018-03-21 10:14:55 -07:00
Aleksey Svirikin
d5126f928f
Correct Go 1.6 support policy ( #1934 )
2018-03-21 10:03:08 -07:00
Eno Compton
5415d18359
Add documentation and example of adding details to errors ( #1915 )
2018-03-21 08:56:43 -07:00
Joshua Humphries
57640c0e6f
Allow storing alternate transport.ServerStream implementations in context ( #1904 )
2018-03-20 17:02:32 -07:00
mmukhi
031ee13cfe
Fix Test: Update the deadline since small deadlines are prone to flakes on Travis. ( #1932 )
2018-03-20 16:46:10 -07:00
yogeshpandey
2249df6df9
gzip: Add ability to set compression level ( #1891 )
2018-03-20 11:57:00 -07:00
Cesar Ghali
8124abf74e
credentials/alts: Remove the enable_untrusted_alts flag ( #1931 )
2018-03-19 18:27:44 -07:00
dfawley
b96718f8f0
metadata: Fix bug where AppendToOutgoingContext could modify another context's metadata ( #1930 )
2018-03-19 16:23:41 -07:00
lyuxuan
738eb6b62f
fix minor typos and remove grpc.Codec related code in TestInterceptorCanAccessCallOptions ( #1929 )
2018-03-19 14:19:42 -07:00
Cesar Ghali
211a7b7ec0
credentials/alts: Update ALTS "New" APIs ( #1921 )
2018-03-19 09:07:54 -07:00
Joshua Humphries
fa28bef939
client: export types implementing CallOptions for access by interceptors ( #1902 )
2018-03-16 15:57:34 -07:00
dfawley
ec9275ba9a
travis: add Go 1.10 and run vet there instead of 1.9 ( #1913 )
2018-03-16 08:47:14 -07:00
dfawley
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
Brian Tiger Chow
2c2d834e8e
stats: add BeginTime to stats.End ( #1907 )
2018-03-12 09:16:36 -07:00
mmukhi
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
Menghan Li
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
Jean de Klerk
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
Cesar Ghali
efcc755fd5
credentials/alts: change ALTS protos to match the golden version ( #1908 )
2018-03-08 12:12:55 -08:00
Joshua Humphries
0843fd0ee0
credentials/alts: fix infinite recursion bug [in custom error type] ( #1906 )
2018-03-07 13:50:30 -08:00
mmukhi
207e2760fd
Fix test race: Atomically access minConnecTimout in testing environment. ( #1897 )
2018-03-07 10:36:17 -08:00
Cesar Ghali
3ae2a613bc
interop: Add use_alts flag to client and server binaries ( #1896 )
2018-03-07 10:21:48 -08:00
Cesar Ghali
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
mmukhi
7c5299d71e
Fix flaky test: TestCloseConnectionWhenServerPrefaceNotReceived ( #1870 )
...
* Atomically update minConnectTimeout in test.
* Refactor the flaky test.
* Post review update
* mend
2018-03-02 13:39:55 -08:00
Menghan Li
f0a1202acd
examples: Replace context.Background with context.WithTimeout ( #1877 )
2018-02-28 15:01:36 -08:00
Cesar Ghali
a1de3b2bd6
alts: Change ALTS proto package name ( #1886 )
2018-02-26 18:05:53 -08:00
Cesar Ghali
2e7e633fea
Add ALTS code ( #1865 )
2018-02-26 17:02:59 -08:00
Jean de Klerk
583a630396
Expunge error codes that shouldn't be returned from library ( #1875 )
...
- Per 9d0bc30edb/doc/statuscodes.md
- Relevant issue: #1672
2018-02-22 14:28:59 -08:00
Jean de Klerk
2759199bf7
Small spelling fixes (unknow -> unknown) ( #1868 )
2018-02-22 13:10:19 -08:00
Thomas Meson
12da026194
clientconn: fix a typo in GetMethodConfig documentation ( #1867 )
2018-02-21 10:14:52 -08:00
Menghan Li
dfa18343df
Change version to 1.11.0-dev ( #1863 )
2018-02-15 15:27:11 -08:00
dfawley
46fd263cc8
benchmarks: add flag to benchmain to use bufconn instead of network ( #1837 )
...
This will allow us to focus on grpc internals in profiling by excluding the cost of syscalls, which is a significant part of our time spent.
2018-02-15 14:52:38 -08:00
Menghan Li
3926816d54
addrConn: Report underlying connection error in RPC error ( #1855 )
2018-02-14 14:13:10 -08:00