[PATCH v2] gas_server: extend timeout for pending responses
Jouni Malinen
j at w1.fi
Mon Jul 27 02:49:55 PDT 2026
On Tue, Jun 09, 2026 at 09:26:46PM +0200, Gustavo Bertoli wrote:
> Currently, gas_server_response_timeout() unconditionally drops the
> session and frees the entry after 60 seconds. This causes deferred
> provisioning operations, such as DPP Enterprise certBag delivery,
> to silently fail if the CA takes longer than 60 seconds to respond.
>
> Add a bool timeout_extended flag to struct gas_server_response to allow
> CA delays greater than GAS_QUERY_TIMEOUT, bounded to at most one
> additional GAS_QUERY_TIMEOUT. The first timeout fire reschedules once
> (setting the flag); the second fire at 2 * GAS_QUERY_TIMEOUT = 120 s
> drops the entry unconditionally, matching the Enrollee's
> wpas_dpp_gas_client_timeout.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list