[dovecot/core] 1e9424: lib-http: server: Prevent sending response payload...
GitHub
noreply at github.com
Tue Jan 17 07:30:10 UTC 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 1e9424acbc78e9a25ed02e2fdf03034d654038f5
https://github.com/dovecot/core/commit/1e9424acbc78e9a25ed02e2fdf03034d654038f5
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Changed paths:
M src/lib-http/http-server-response.c
Log Message:
-----------
lib-http: server: Prevent sending response payload when it is not allowed by the specification.
For a HEAD request, the payload is omitted, but the associated headers are generated.
For the other cases, an assert failure is now triggered.
Commit: 355a3cf3f2fad0293614cb3ed533629d52967f27
https://github.com/dovecot/core/commit/355a3cf3f2fad0293614cb3ed533629d52967f27
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Changed paths:
M src/lib-http/http-server-request.c
Log Message:
-----------
lib-http: server: Do not generate a payload for a failure response for a HEAD request.
Compare: https://github.com/dovecot/core/compare/fb6734cf234c...355a3cf3f2fa
More information about the dovecot-cvs
mailing list