diff --git a/include/haproxy/hstream.h b/include/haproxy/hstream.h index 893adff60..7ba0d4d14 100644 --- a/include/haproxy/hstream.h +++ b/include/haproxy/hstream.h @@ -5,7 +5,6 @@ #include struct task *sc_hstream_io_cb(struct task *t, void *ctx, unsigned int state); -int hstream_wake(struct stconn *sc); void hstream_shutdown(struct stconn *sc); void *hstream_new(struct session *sess, struct stconn *sc, struct buffer *input); diff --git a/src/haterm.c b/src/haterm.c index 05b3a306c..564bf2aea 100644 --- a/src/haterm.c +++ b/src/haterm.c @@ -447,15 +447,6 @@ err: goto leave; } -int hstream_wake(struct stconn *sc) -{ - struct hstream *hs = __sc_hstream(sc); - - TRACE_STATE("waking up task", HS_EV_HSTRM_IO_CB, hs); - task_wakeup(hs->task, TASK_WOKEN_IO); - return 0; -} - /* Add data to HTX response buffer from pre-built responses */ static void hstream_add_data(struct htx *htx, struct hstream *hs) {