From 766bcab28b9b43df015d5f0dc01f680b5bae2fda Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Wed, 29 Jul 2015 18:28:41 -0700 Subject: [PATCH] an error code revision --- transport/http_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/http_util.go b/transport/http_util.go index 057a51d8..af84fbf6 100644 --- a/transport/http_util.go +++ b/transport/http_util.go @@ -69,7 +69,7 @@ var http2RSTErrConvTab = map[http2.ErrCode]codes.Code{ http2.ErrCodeNo: codes.Internal, http2.ErrCodeProtocol: codes.Internal, http2.ErrCodeInternal: codes.Internal, - http2.ErrCodeFlowControl: codes.Internal, + http2.ErrCodeFlowControl: codes.ResourceExhausted, http2.ErrCodeSettingsTimeout: codes.Internal, http2.ErrCodeFrameSize: codes.Internal, http2.ErrCodeRefusedStream: codes.Unavailable,