4bbdf230d7
New implementation of roundrobin and pickfirst ( #1506 )
2017-10-02 09:22:57 -07:00
8233e124e4
Add new Resolver and Balancer APIs (gRFC L9) ( #1408 )
...
- Add package balancer and resolver.
- Change ClientConn internals to new APIs and adds a wrapper for v1 balancer.
2017-08-31 10:59:09 -07:00
01089b2972
Remove buf copy when the compressor exist ( #1427 )
2017-08-25 12:26:38 -07:00
059280c96e
Set peer before sending request ( #1423 )
2017-08-07 10:39:34 -07:00
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
6fecf2831a
Reopening: Server shouldn't Fatalf in case it fails to encode. ( #1276 )
...
* Server shouldn't Fatalf in case it fails to encode.
2017-06-02 12:32:37 -07:00
843116533a
Revert "Server shouldn't Fatalf in case it fails to encode. ( #1251 )" ( #1274 )
...
This reverts commit d5bc85c1e9a36225ecc02757efcc874e13962973.
2017-06-01 12:34:28 -07:00
d5bc85c1e9
Server shouldn't Fatalf in case it fails to encode. ( #1251 )
...
* Server shouldn't Fatalf in case it fails to encode.
* golint
* post-review update
2017-06-01 11:57:45 -07:00
27ae1472a3
remove some todo comments
2017-05-19 14:55:35 -07:00
d19bbe846e
change max message size functions name
2017-05-19 11:08:40 -07:00
35d77ea991
merge master, resolve conflicts
2017-05-15 13:54:22 -07:00
bdf9a640e4
add timeout test, add check or pointer filed in callOption, fix minor issues
2017-05-15 13:51:11 -07:00
88a73d35c9
Adding dial options for PerRPCCredentials ( #1225 )
...
* Adding dial options for PerRPCCredentials
* Added tests for PerRPCCredentials
* Post-review updates
* post-review updates
2017-05-11 11:07:38 -07:00
17760cfd5b
Calling handleRPC with context derived from the original ( #1227 )
...
* Calling handleRPC with different context derived from the original context
* change comment for tagRPC and stats fields
2017-05-10 17:54:49 -07:00
d9265441de
remove unessary nil in return statement
2017-05-08 00:17:01 +00:00
3ea287058c
Merge branch 'master' into service_config_pr
2017-05-07 16:49:32 -07:00
0914b46180
don't add defer func if stats handler is nil ( #1214 )
2017-05-02 10:16:45 -07:00
277e90a432
Client load report for grpclb. ( #1200 )
2017-04-27 10:43:38 -07:00
9c5f260e67
make max size a pointer type and initialize function a CallOption
2017-04-26 15:50:58 -07:00
983d8372ea
update the merge of client api and sc
2017-04-21 16:18:59 -07:00
cb02ab4d25
change error message from InvalidArgument to ResourceExhausted
2017-04-13 16:51:56 -07:00
fa2968617c
Merge branch 'master' into service_config_pr
2017-04-06 14:12:34 -07:00
6f8b55318a
fix the testMaxMsgSizeServerAPI failure
2017-04-06 14:08:04 -07:00
1d27587e10
Change status package to deal with concrete types instead of interfaces ( #1171 )
2017-04-06 11:41:07 -07:00
f02290b023
Merge branch 'master' into service_config_pr
2017-04-05 11:15:55 -07:00
b507112439
Add status package for reporting gRPC status and errors ( #1156 )
...
When an error implemented by the status package is returned from a service
handler, the server will transmit a rich status message in the
"grpc-status-details-bin" trailing metadata field if any detailed data is
attached to the error. Client-side, we will decode them if present in the
server's response and return them to the user code performing the RPC.
This is backward compatible with the existing errors supported by the grpc
package. However, the grpc.Errorf, grpc.Code and grpc.ErrorDesc functions for
managing errors are now deprecated; status.Errorf and status.Status type
asserions should be used instead.
2017-04-05 10:35:40 -07:00
50d4175072
Add client and service side apis for limiting the send/recv msg size. Update MethodConfig struct
2017-04-03 15:03:24 -07:00
a94b0948a3
Client should have a check on maximum size of received message size.
2017-03-09 16:58:23 -08:00
dfb494c6e5
post review update
2017-02-08 14:15:59 -08:00
794873f0a2
Added calloption to retrieve peer information
2017-02-07 10:41:32 -08:00
cb653e4b61
Change stats APIs ( #1030 )
...
Change stats API from one static handler to one handler per server or client.
2017-01-09 17:11:32 -08:00
09aecb094e
Add the initial service config support ( #1009 )
...
* Add the initial service config support
* start scWatcher later
* remove timeoutCh
* address the comments
* deal with dial timeout
* defer cancel for the newly created context for correct lifetime management
* fix the defer order
* added other 2 missing cancels
2016-12-19 16:31:00 -08:00
deb01f422a
add stats tagger APIs and connection stats. ( #992 )
...
* add stats.tagger APIs and connection stats.
* fix comments
use ac.ctx in http2client
change name and comments
small fixes stats_tests
* add a TODO to ConnTagInfo
* rename handle to handleRPC
* modify stats comments
2016-11-30 16:25:46 -08:00
5938492b60
fix comments
2016-11-07 15:16:52 -08:00
a4edc462a2
renaming
2016-11-07 15:16:52 -08:00
aa5b5c7e2a
client side, use user context, and change sent time
2016-11-07 15:16:52 -08:00
1896a21fb3
fix review comments
2016-11-07 15:16:52 -08:00
1d2a929ae5
add stats.Begin and stats.End
2016-11-07 15:16:52 -08:00
c0087b3c91
add failfast option to stats
2016-11-07 15:16:52 -08:00
c698588285
Renaming types and variables
2016-11-07 15:16:52 -08:00
e42a66c81b
add client stats
2016-11-07 15:16:52 -08:00
17ee5a3637
Add package stats, and export stats on server side.
2016-11-07 15:16:52 -08:00
4596c55b7a
Use the correct error in defer call
2016-10-25 15:32:12 -07:00
52f6504dc2
Merge pull request #867 from iamqizhao/master
...
Support client side interceptor
2016-09-02 15:12:15 -07:00
5e734ab23e
Avoid creating transport stream error outside of transport
2016-09-02 11:57:42 -07:00
1e47e17230
Support client side interceptor
2016-08-26 13:50:38 -07:00
c72b08a774
Change errors returned by ac.wait()
2016-08-16 16:56:16 -07:00
a4587cd3f0
Fix review comments
2016-08-02 21:07:00 -07:00
558ecfb3a6
Remove RPC non-fail-fast return
2016-08-01 15:55:08 -07:00
e9e6ae6215
Make Dial() withblock error on bad certificates
2016-08-01 15:55:08 -07:00