rename rpc codec

This commit is contained in:
Asim Aslam
2018-11-23 20:05:31 +00:00
parent 4dc593eca3
commit 34ed5235a3
3 changed files with 9 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ func (s *rpcServer) accept(sock transport.Socket) {
return
}
codec := newRpcPlusCodec(&msg, sock, cf)
codec := newRpcCodec(&msg, sock, cf)
// strip our headers
hdr := make(map[string]string)