[dovecot/core] 34c9ae: lib-http: client: Fixed request-specific attempt t...
GitHub
noreply at github.com
Fri Mar 31 00:00:14 EEST 2017
Branch: refs/heads/master-2.2
Home: https://github.com/dovecot/core
Commit: 34c9aed77f78bc50a4eb609049578bd7e76fd4b6
https://github.com/dovecot/core/commit/34c9aed77f78bc50a4eb609049578bd7e76fd4b6
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-03-30 (Thu, 30 Mar 2017)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: client: Fixed request-specific attempt timeout.
This is the timeout applied to a single request attempt. Using http_client_request_set_attempt_timeout_msecs() this can be set for a specific request.
However, this was mostly ignored for requests that weren't in the process of handling response payload.
Instead, the global request_timeout_msecs client setting was used.
Also amended the (currently manual) test suite with tests that demonstated the problem and now verify the fix.
More information about the dovecot-cvs
mailing list