Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2021 05:29:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253509] ftp-proxy not handling connections
Message-ID:  <bug-253509-227-KWvT9RQ14Y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253509-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253509-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253509

--- Comment #12 from gergely.czuczy@harmless.hu ---
Created attachment 228223
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228223&action=
=3Dedit
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=20
kevent(0x5,0x800a3c000,0,0x800a3b000,0x40,0x7fffffffe780)
   313 ftp-proxy STRU  struct kevent[] =3D {  }
   313 ftp-proxy STRU  struct kevent[] =3D {  }
   313 ftp-proxy RET   kevent 0
   313 ftp-proxy CALL=20
kevent(0x5,0x800a3c000,0,0x800a3b000,0x40,0x7fffffffe780)
   313 ftp-proxy STRU  struct kevent[] =3D {  }
   313 ftp-proxy STRU  struct kevent[] =3D {  }
   313 ftp-proxy RET   kevent 0
   313 ftp-proxy CALL=20
kevent(0x5,0x800a3c000,0,0x800a3b000,0x40,0x7fffffffe780)
   313 ftp-proxy STRU  struct kevent[] =3D {  }
   313 ftp-proxy RET   kevent -1 errno 4 Interrupted system call
   313 ftp-proxy PSIG  SIGINT SIG_DFL code=3DSI_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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253509-227-KWvT9RQ14Y>