[dovecot/core] c4be16: lib-http: Changed test-http-server to actually use...

GitHub noreply at github.com
Thu Jul 27 17:01:21 EEST 2017


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

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

  Log Message:
  -----------
  lib-http: Changed test-http-server to actually use the http-server API.

This currently serves as a simple demonstration of how to structure an HTTP server.


  Commit: d2ac627f400b488ba6f52464fa618a050d445ec4
      https://github.com/dovecot/core/commit/d2ac627f400b488ba6f52464fa618a050d445ec4
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-27 (Thu, 27 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: 2b03791b14f612ee2ac2a0ce1f15d4a3fc3860d5
      https://github.com/dovecot/core/commit/2b03791b14f612ee2ac2a0ce1f15d4a3fc3860d5
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-27 (Thu, 27 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/aebe1e749a91...2b03791b14f6


More information about the dovecot-cvs mailing list