Add some logs
This commit is contained in:
parent
0e88336e21
commit
9a6830ccd5
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ int on_socks5_send_client_req(struct evt_core_ctx* ctx, struct evt_core_fdinfo*
|
|||
return 1;
|
||||
}
|
||||
s5ctx->cr_cursor += written;
|
||||
if (s5ctx->cr_cursor < s5ctx->cr_size) return 0;
|
||||
printf("[socks5_server_send_client_req] sent %ld/%ld\n", s5ctx->cr_cursor, s5ctx->cr_size);
|
||||
if (s5ctx->cr_cursor < s5ctx->cr_size) return 0; // Trigger loop to trigger EAGAIN.
|
||||
|
||||
evt_core_mv_fd2 (ctx, fdinfo, "socks5-recv-server-reply");
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue