[dovecot/core] 84b746: lib: iostream-pump - Cork the ostream when writing

GitHub noreply at github.com
Wed Nov 1 12:00:11 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 84b746f56209d4a85af73cd26850e75f519ae0b0
      https://github.com/dovecot/core/commit/84b746f56209d4a85af73cd26850e75f519ae0b0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/lib/iostream-pump.c
    M src/lib/test-iostream-pump.c

  Log Message:
  -----------
  lib: iostream-pump - Cork the ostream when writing

This reduces latency for TCP connections by disabling Nagle algorithm.


  Commit: 3bc5b80ae9075e5d940616553f81e8acdd4bd88f
      https://github.com/dovecot/core/commit/3bc5b80ae9075e5d940616553f81e8acdd4bd88f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/lib/iostream-pump.c

  Log Message:
  -----------
  lib: iostream-pump - Fix crash in iostream_pump_switch_ioloop() if io is NULL

This would happen when the pump's ostream is full and it has stopped
listening for input.


  Commit: fe4a5467c998dfd79a071416068ca59d5a6a388f
      https://github.com/dovecot/core/commit/fe4a5467c998dfd79a071416068ca59d5a6a388f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/lib/iostream-pump.c
    M src/lib/iostream-pump.h

  Log Message:
  -----------
  lib: iostream-pump - Add iostream_pump_is_waiting_output()


  Commit: 6ce52edd3de46bdf565ee71f6112a9e7a6090031
      https://github.com/dovecot/core/commit/6ce52edd3de46bdf565ee71f6112a9e7a6090031
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/lib/iostream-proxy.c
    M src/lib/iostream-proxy.h

  Log Message:
  -----------
  lib: iostream-proxy - Add iostream_proxy_is_waiting_output()


  Commit: 39435f00a35a276d329283179b3e7e0351482939
      https://github.com/dovecot/core/commit/39435f00a35a276d329283179b3e7e0351482939
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/lib-http/http-server-request.c
    M src/lib/iostream-proxy.c
    M src/lib/iostream-pump.c
    M src/lib/iostream-pump.h
    M src/lib/test-iostream-pump.c

  Log Message:
  -----------
  lib: iostream-pump - Specify what failed in completion callback parameter

This makes it easier for the caller to find out whether the failure was due
to istream or ostream.


  Commit: 987c15a5980f53225e60f79325c14cb2acddaabb
      https://github.com/dovecot/core/commit/987c15a5980f53225e60f79325c14cb2acddaabb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/lib/iostream-proxy.c
    M src/lib/iostream-proxy.h
    M src/lib/test-iostream-proxy.c

  Log Message:
  -----------
  lib: iostream-proxy - Specify what failed in completion callback parameter


Compare: https://github.com/dovecot/core/compare/103e63c7d239...987c15a5980f


More information about the dovecot-cvs mailing list