Browse Source

Reset timer in server_stream as well

pull/2118/head
Max Lv 6 years ago
parent
commit
11a0d8db60
1 changed files with 2 additions and 0 deletions
  1. 2
      src/local.c

2
src/local.c

@ -615,6 +615,8 @@ server_stream(EV_P_ ev_io *w, buffer_t *buf)
return;
}
ev_timer_again(EV_A_ & remote->recv_ctx->watcher);
// insert shadowsocks header
if (!remote->direct) {
#ifdef __ANDROID__

Loading…
Cancel
Save