[dovecot/core] debbc0: lib-http: server: Restructured http-server.h.

GitHub noreply at github.com
Tue Jul 4 18:00:11 EEST 2017


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

  Changed paths:
    M src/lib-http/http-server.h

  Log Message:
  -----------
  lib-http: server: Restructured http-server.h.


  Commit: bc8908662f8bbf027cc8e92b92b4e30dcd921552
      https://github.com/dovecot/core/commit/bc8908662f8bbf027cc8e92b92b4e30dcd921552
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M src/lib-http/http-server.h

  Log Message:
  -----------
  lib-http: server: Improved documentation in http-server.h.


  Commit: 5560e4cd4f5eded857471042fb5485dfa16b7c46
      https://github.com/dovecot/core/commit/5560e4cd4f5eded857471042fb5485dfa16b7c46
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M src/lib-http/http-server-private.h

  Log Message:
  -----------
  lib-http: server: Restructured http-server-private.h.


  Commit: 9ec9b6f85c8fbe67bfac523a5e3d33d34f72dddc
      https://github.com/dovecot/core/commit/9ec9b6f85c8fbe67bfac523a5e3d33d34f72dddc
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

  Log Message:
  -----------
  lib-http: server: Changed http_server_request_is_complete() from an inline to a normal function.


  Commit: 49c232ae035319ea0cedae3828d2e750560e6533
      https://github.com/dovecot/core/commit/49c232ae035319ea0cedae3828d2e750560e6533
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

  Log Message:
  -----------
  lib-http: server: Allow holding only a reference to the request payload stream, rather than the request itself.

This mimics the http-client behavior in this case.
It makes the implementation of the background payload handling API in subsequent commits a little simpler.


  Commit: dc05b1fb4b7a2b4d91248078311458cb4cbad9a1
      https://github.com/dovecot/core/commit/dc05b1fb4b7a2b4d91248078311458cb4cbad9a1
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

  Log Message:
  -----------
  lib-http: server: Explicitly record the number of references held for a request by the application from within the callback.


  Commit: 38af46387e565053adf6c47f7f6871676d685de8
      https://github.com/dovecot/core/commit/38af46387e565053adf6c47f7f6871676d685de8
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M src/lib-http/http-server-connection.c
    M src/lib-http/http-server-private.h
    M src/lib-http/http-server-request.c
    M src/lib-http/http-server.h
    M src/lib-http/test-http-payload.c
    M src/lib-http/test-http-server-errors.c

  Log Message:
  -----------
  lib-http: server: Implemented API for handling the incoming request payload in the background.

It allows forwarding the incoming payload to an output stream (e.g. iostream-temp) or to a buffer.
The maximum size of the payload is configurable. The client will get a 413 error if the maximum is exceeded.


Compare: https://github.com/dovecot/core/compare/7785296a7f51...38af46387e56


More information about the dovecot-cvs mailing list