[dovecot/core] 7ebcb0: lib-http: Restructured the header, message, reques...

GitHub noreply at github.com
Wed Jul 12 13:00:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 7ebcb054e0d3cc4be54038cbf763ec4189d9725b
      https://github.com/dovecot/core/commit/7ebcb054e0d3cc4be54038cbf763ec4189d9725b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M src/lib-http/http-client-connection.c
    M src/lib-http/http-header-parser.c
    M src/lib-http/http-header-parser.h
    M src/lib-http/http-message-parser.c
    M src/lib-http/http-message-parser.h
    M src/lib-http/http-request-parser.c
    M src/lib-http/http-request-parser.h
    M src/lib-http/http-response-parser.c
    M src/lib-http/http-response-parser.h
    M src/lib-http/http-server-connection.c
    M src/lib-http/http-transfer-chunked.c
    M src/lib-http/test-http-header-parser.c
    M src/lib-http/test-http-request-parser.c
    M src/lib-http/test-http-response-parser.c

  Log Message:
  -----------
  lib-http: Restructured the header, message, request, and response parsers to have an extensible and consistent API using flags.

Extended the test suites with a few cases that test parsing with and without the STRICT flag.


  Commit: 6e62aa36a3190ef7193bd86158a4245da49132f0
      https://github.com/dovecot/core/commit/6e62aa36a3190ef7193bd86158a4245da49132f0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M src/lib-http/http-message-parser.c
    M src/lib-http/test-http-request-parser.c
    M src/lib-http/test-http-response-parser.c

  Log Message:
  -----------
  lib-http: message parser: Allow duplicate date header if HTTP_MESSAGE_PARSE_FLAG_STRICT is not set.

The last instance of the date header is used.


Compare: https://github.com/dovecot/core/compare/f368169caf5c...6e62aa36a319


More information about the dovecot-cvs mailing list