[dovecot/core] fc0b23: lib-http: client: Prevent infinite event loop invo...
GitHub
noreply at github.com
Sun Dec 18 10:30:08 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: fc0b239ad1dd884d7137734e22ab758060b40e2e
https://github.com/dovecot/core/commit/fc0b239ad1dd884d7137734e22ab758060b40e2e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-17 (Sat, 17 Dec 2016)
Changed paths:
M src/lib-http/http-client-peer.c
Log Message:
-----------
lib-http: client: Prevent infinite event loop involving the request handler.
Could happen when a backoff time is active.
Commit: 50188cf3548e718e5ed0150d29e9aa2d31979440
https://github.com/dovecot/core/commit/50188cf3548e718e5ed0150d29e9aa2d31979440
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-17 (Sat, 17 Dec 2016)
Changed paths:
M src/lib-http/http-client-peer.c
Log Message:
-----------
lib-http: client: Moved connection backoff timer management to separate functions.
Commit: bad9931efd293ea9a676ce99e82c539e9d215e0d
https://github.com/dovecot/core/commit/bad9931efd293ea9a676ce99e82c539e9d215e0d
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-17 (Sat, 17 Dec 2016)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Consolidated connection loss handling into a single function.
Commit: f17ac27e5989d6b3b3e4f4fb249bef4b06833ab7
https://github.com/dovecot/core/commit/f17ac27e5989d6b3b3e4f4fb249bef4b06833ab7
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-17 (Sat, 17 Dec 2016)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-client-peer.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Treat connections that get disconnected prematurely as connection failures.
This means that the backoff time is increased when this happens.
A premature disconnection happens when the connection is disconnected before any data is received from the server.
Commit: fd54a8a6c420c61db635e45129203c7ee645d999
https://github.com/dovecot/core/commit/fd54a8a6c420c61db635e45129203c7ee645d999
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-17 (Sat, 17 Dec 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: client: Added test for normal connection backoff behavior to test-http-client-errors.
Commit: 166fc8ba3be22456f849175d2f677c2f10ecc528
https://github.com/dovecot/core/commit/166fc8ba3be22456f849175d2f677c2f10ecc528
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-17 (Sat, 17 Dec 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: client: Added test for premature connection loss to test-http-client-errors.
Commit: 4584794477433c420554f70094dbf56c85986982
https://github.com/dovecot/core/commit/4584794477433c420554f70094dbf56c85986982
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-18 (Sun, 18 Dec 2016)
Changed paths:
M src/lib-imap-client/imapc-connection.c
Log Message:
-----------
lib-imap-client: Fixed boolean vs integer mixup in debug message format argument.
Found with Clang -Wstrict-bool.
Compare: https://github.com/dovecot/core/compare/637ea12c037d...458479447743
More information about the dovecot-cvs
mailing list