[dovecot/core] 210256: lib-http: client: Fixed request-specific attempt t...
GitHub
noreply at github.com
Fri Mar 31 00:00:09 EEST 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 210256b5d443a13a9ea662cd3a807b80bdeff331
https://github.com/dovecot/core/commit/210256b5d443a13a9ea662cd3a807b80bdeff331
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