This function is no longer used, so it can be safely removed.
#include <haproxy/hstream-t.h>
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);
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)
{