| 615d167c | 20-Jul-2023 |
Dmitry Morozovsky <[email protected]> |
Revert "tftpd: fix double-colon typo in option string"
It was not a typo: -d takes an optional argument, which is indicated with a double colon.
This reverts commit 3cbc8e752b92442c784306731e94fd90
Revert "tftpd: fix double-colon typo in option string"
It was not a typo: -d takes an optional argument, which is indicated with a double colon.
This reverts commit 3cbc8e752b92442c784306731e94fd904de3373c.
Spotted by: kevans
show more ...
|
| 77e83935 | 10-Mar-2023 |
Dag-Erling Smørgrav <[email protected]> |
tftpd: Don't forget to close stderr on startup.
Just like stdin and stdout, stderr is a copy of the listen socket inherited from inetd. We need to close it so inetd can process further requests, be
tftpd: Don't forget to close stderr on startup.
Just like stdin and stdout, stderr is a copy of the listen socket inherited from inetd. We need to close it so inetd can process further requests, be restarted, etc.
Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D38968
show more ...
|
| b4736c90 | 10-Mar-2023 |
Dag-Erling Smørgrav <[email protected]> |
tftpd: Don't consume arbitrary requests when failing to fork.
We've already consumed one request, which is sufficient to prevent inetd from endlessly restarting us in this particular and extremely u
tftpd: Don't consume arbitrary requests when failing to fork.
We've already consumed one request, which is sufficient to prevent inetd from endlessly restarting us in this particular and extremely unlikely case.
Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D38967
show more ...
|
| e3b4cb1b | 10-Mar-2023 |
Dag-Erling Smørgrav <[email protected]> |
tftpd: Use poll() instead of alarm() + setjmp().
While there, don't log an error when timing out waiting for a possible retransmit after a successful transfer.
Sponsored by: Klara, Inc. Reviewed by
tftpd: Use poll() instead of alarm() + setjmp().
While there, don't log an error when timing out waiting for a possible retransmit after a successful transfer.
Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D38966
show more ...
|