message-size-increase #3
@ -3,6 +3,8 @@ package hopp
|
|||||||
import "net"
|
import "net"
|
||||||
// import "time"
|
// import "time"
|
||||||
|
|
||||||
|
const defaultSizeLimit = 1024 * 1024 // 1 megabyte
|
||||||
|
|
||||||
// Conn is a HOPP connection.
|
// Conn is a HOPP connection.
|
||||||
type Conn interface {
|
type Conn interface {
|
||||||
// Close closes the connection. Any blocked operations on the connection
|
// Close closes the connection. Any blocked operations on the connection
|
||||||