Now that connections aren't being reused when they failed, remove the
reset() method. It was unimplemented anywhere, except for H1 where it did
nothing, anyway.
int (*avail_streams)(struct connection *conn); /* Returns the number of streams still available for a connection */
int (*used_streams)(struct connection *conn); /* Returns the number of streams in use on a connection. */
void (*destroy)(void *ctx); /* Let the mux know one of its users left, so it may have to disappear */
- void (*reset)(struct connection *conn); /* Reset the mux, because we're re-trying to connect */
int (*ctl)(struct connection *conn, enum mux_ctl_type mux_ctl, void *arg); /* Provides information about the mux */
int (*takeover)(struct connection *conn, int orig_tid); /* Attempts to migrate the connection to the current thread */
unsigned int flags; /* some flags characterizing the mux's capabilities (MX_FL_*) */
return t;
}
-static void h1_reset(struct connection *conn)
-{
-
-}
-
static int h1_wake(struct connection *conn)
{
struct h1c *h1c = conn->ctx;
.shutr = h1_shutr,
.shutw = h1_shutw,
.show_fd = h1_show_fd,
- .reset = h1_reset,
.ctl = h1_ctl,
.takeover = h1_takeover,
.flags = MX_FL_HTX,