[dovecot/core] 5064dd: lib-http: server: Allow resubmitting a response, a...

GitHub noreply at github.com
Sun Apr 29 12:00:18 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 5064ddd10796f64bb437f4505dc90790528e5509
      https://github.com/dovecot/core/commit/5064ddd10796f64bb437f4505dc90790528e5509
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-29 (Sun, 29 Apr 2018)

  Changed paths:
    M src/lib-http/http-server-request.c
    M src/lib-http/http-server-response.c

  Log Message:
  -----------
  lib-http: server: Allow resubmitting a response, as long as it is not sent yet.


  Commit: 4eebf1f748e91f052525e1bcef9a1fea2807c685
      https://github.com/dovecot/core/commit/4eebf1f748e91f052525e1bcef9a1fea2807c685
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-29 (Sun, 29 Apr 2018)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Properly handle payload stream errors while finishing a request.

Errors from the (chunked) payload stream would cause assertion panics at that point.


  Commit: d0f3dde0ba3de5dd82430555f71778af07f3a5da
      https://github.com/dovecot/core/commit/d0f3dde0ba3de5dd82430555f71778af07f3a5da
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-29 (Sun, 29 Apr 2018)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Properly handle corrupt payload while finishing a request.

The HTTP_REQUEST_PARSE_ERROR_BROKEN_REQUEST was not handled, causing an
assertion panic. This situation occurred when the chunked transfer encoding was
invalid.


Compare: https://github.com/dovecot/core/compare/2a5cb451a0ce...d0f3dde0ba3d


More information about the dovecot-cvs mailing list