From 0b740404e3ee6ab4b05785395935456280eee935 Mon Sep 17 00:00:00 2001
From: fangyincheng <fangyincheng@sina.com>
Date: Sat, 18 Jan 2020 20:33:16 +0800
Subject: [PATCH] Fix: omitted param

---
 protocol/jsonrpc/server.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/protocol/jsonrpc/server.go b/protocol/jsonrpc/server.go
index c280dfa2c..dc79e4a36 100644
--- a/protocol/jsonrpc/server.go
+++ b/protocol/jsonrpc/server.go
@@ -93,6 +93,8 @@ func (s *Server) handlePkg(conn net.Conn) {
 		rsp := &http.Response{
 			Header:        header,
 			StatusCode:    500,
+			ProtoMajor:    1,
+			ProtoMinor:    1,
 			ContentLength: int64(len(body)),
 			Body:          ioutil.NopCloser(bytes.NewReader(body)),
 		}
-- 
GitLab