aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/comms/comms.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/comms/comms.go')
-rw-r--r--rpc/comms/comms.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/rpc/comms/comms.go b/rpc/comms/comms.go
index 3f458adfd..2af63e55d 100644
--- a/rpc/comms/comms.go
+++ b/rpc/comms/comms.go
@@ -11,6 +11,11 @@ import (
"github.com/ethereum/go-ethereum/rpc/shared"
)
+const (
+ jsonrpcver = "2.0"
+ maxHttpSizeReqLength = 1024 * 1024 // 1MB
+)
+
type EthereumClient interface {
Close()
Send(interface{}) error
@@ -26,7 +31,7 @@ func handle(conn net.Conn, api api.EthereumApi, c codec.Codec) {
codec.Close()
return
} else if err != nil {
- glog.V(logger.Error).Infof("IPC recv err - %v\n", err)
+ glog.V(logger.Error).Infof("comms recv err - %v\n", err)
codec.Close()
return
}