aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-01-17 15:36:45 -0800
committerGarrett D'Amore <garrett@damore.org>2018-01-17 15:36:45 -0800
commit0866c5193643d50ebce7b1cf74b255f38e9748b0 (patch)
tree6e64eb33d337d5c6d8e1111d5b2adaaa9a11d069 /src
parent99778897f483d6882d5104123e27e95eaac26837 (diff)
downloadnng-0866c5193643d50ebce7b1cf74b255f38e9748b0.tar.gz
nng-0866c5193643d50ebce7b1cf74b255f38e9748b0.tar.bz2
nng-0866c5193643d50ebce7b1cf74b255f38e9748b0.zip
Websocket does not need a distinct pipe start.
Diffstat (limited to 'src')
-rw-r--r--src/transport/ws/websocket.c9
1 files changed, 0 insertions, 9 deletions
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,