From 0866c5193643d50ebce7b1cf74b255f38e9748b0 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 17 Jan 2018 15:36:45 -0800 Subject: Websocket does not need a distinct pipe start. --- src/transport/ws/websocket.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/transport/ws/websocket.c b/src/transport/ws/websocket.c index 83155046..4db4bc72 100644 --- a/src/transport/ws/websocket.c +++ b/src/transport/ws/websocket.c @@ -243,14 +243,6 @@ ws_pipe_peer(void *arg) return (p->rproto); } -static void -ws_pipe_start(void *arg, nni_aio *aio) -{ - if (nni_aio_start(aio, NULL, NULL) == 0) { - nni_aio_finish(aio, 0, 0); - } -} - // We have very different approaches for server and client. // Servers use the HTTP server framework, and a request methodology. @@ -563,7 +555,6 @@ static nni_tran_pipe_option ws_pipe_options[] = { static nni_tran_pipe ws_pipe_ops = { .p_fini = ws_pipe_fini, - .p_start = ws_pipe_start, .p_send = ws_pipe_send, .p_recv = ws_pipe_recv, .p_close = ws_pipe_close, -- cgit v1.2.3-70-g09d2