Skip to content

Commit 54831bd

Browse files
committed
fix: Fix the timeout handling in the HTTP proxy.
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
1 parent 1087ae2 commit 54831bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/http.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ static void on_net_write(struct ev_loop *loop, struct ev_io *w, int revents)
182182
}
183183
#endif
184184

185+
conn->active = ev_now(conn->rtty->loop);
186+
185187
if (buffer_length(b) > 0)
186188
return;
187189

0 commit comments

Comments
 (0)