[Bug 253509] ftp-proxy not handling connections

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Sep 2021 05:29:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253509

--- Comment #12 from gergely.czuczy@harmless.hu ---
Created attachment 228223
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228223&action=edit
ftp-proxy ktrace

ftp-proxy ktrace where kevent() doesn't return the new connection:

  313 ftp-proxy GIO   fd 2 wrote 33 bytes
       "listening on 127.0.0.1 port 8021
       "
   313 ftp-proxy RET   write 33/0x21
   313 ftp-proxy CALL 
kevent(0x5,0x800a3c000,0,0x800a3b000,0x40,0x7fffffffe780)
   313 ftp-proxy STRU  struct kevent[] = {  }
   313 ftp-proxy STRU  struct kevent[] = {  }
   313 ftp-proxy RET   kevent 0
   313 ftp-proxy CALL 
kevent(0x5,0x800a3c000,0,0x800a3b000,0x40,0x7fffffffe780)
   313 ftp-proxy STRU  struct kevent[] = {  }
   313 ftp-proxy STRU  struct kevent[] = {  }
   313 ftp-proxy RET   kevent 0
   313 ftp-proxy CALL 
kevent(0x5,0x800a3c000,0,0x800a3b000,0x40,0x7fffffffe780)
   313 ftp-proxy STRU  struct kevent[] = {  }
   313 ftp-proxy RET   kevent -1 errno 4 Interrupted system call
   313 ftp-proxy PSIG  SIGINT SIG_DFL code=SI_KERNEL

Between the "listening on" part and the SIGINT at the end a connection was
received by ftp-proxy, and kevent() didn't return it.

-- 
You are receiving this mail because:
You are the assignee for the bug.