commit ef5d8d39c705b2d3ec3cd7d009fc5d815ee28b75 from: Stefan Sperling via: Thomas Adam date: Fri Mar 21 13:22:46 2025 UTC make gotd session_write actually use the request timeout from gotd.conf commit - b11b05b7ee0fbffb5aabb6aaed72b1c7656198eb commit + ef5d8d39c705b2d3ec3cd7d009fc5d815ee28b75 blob - a9dc9ee38effdd4e894d343d46e013bc5085b23b blob + 2d090a1099d5580124a9c477fb9384da16c1f3ee --- gotd/session_write.c +++ gotd/session_write.c @@ -1884,6 +1884,11 @@ session_dispatch(int fd, short event, void *arg) target, entry); break; } + case GOTD_IMSG_REQUEST_TIMEOUT: + if (imsg_get_data(&imsg, &gotd_session.request_timeout, + sizeof(gotd_session.request_timeout)) == -1) + err = got_error_from_errno("imsg_get_data"); + break; case GOTD_IMSG_CONNECT_NOTIFIER: err = recv_notifier(&imsg); break;