From fe8cab7c9e7704eff51643cd90a6ddd40cf3f8cc Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 15 Dec 2024 16:26:39 -0800 Subject: tcp transport: use preallocated SP objects This follows a pattern we started earlier with IPC. --- src/core/pipe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') diff --git a/src/core/pipe.c b/src/core/pipe.c index eaf49af9..3494ca2b 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -299,6 +299,7 @@ pipe_create(nni_pipe **pp, nni_sock *sock, nni_sp_tran *tran, nni_dialer *d, rv2 = tops->p_init(tran_data, p); rv3 = pops->pipe_init(proto_data, p, sock_data); if (rv1 != 0 || rv2 != 0 || rv3 != 0) { + nni_panic("HERE"); nni_pipe_close(p); nni_pipe_rele(p); return (rv1 ? rv1 : rv2 ? rv2 : rv3); -- cgit v1.2.3-70-g09d2