MINOR: haterm: Remove hstream_wake() function

This function is no longer used, so it can be safely removed.
This commit is contained in:
Christopher Faulet 2026-03-05 17:45:54 +01:00
parent c3dfca5ed6
commit c63db3b5e8
2 changed files with 0 additions and 10 deletions

View File

@ -5,7 +5,6 @@
#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);

View File

@ -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)
{