diff --git a/adapters/outbound/reject.go b/adapters/outbound/reject.go index ae26022d..5a5357c0 100644 --- a/adapters/outbound/reject.go +++ b/adapters/outbound/reject.go @@ -50,7 +50,7 @@ func NewReject() *Reject { type NopConn struct{} func (rw *NopConn) Read(b []byte) (int, error) { - return len(b), nil + return 0, io.EOF } func (rw *NopConn) Write(b []byte) (int, error) {