[Checkins] [zopefoundation/Zope] 3e6613: Abort the transaction before closing the connectio...

GitHub noreply at github.com
Wed Sep 13 11:13:18 CEST 2017


  Branch: refs/heads/abort-before-close-connection
  Home:   https://github.com/zopefoundation/Zope
  Commit: 3e6613b22dc68ec0557788a3a5f02ce0ac928999
      https://github.com/zopefoundation/Zope/commit/3e6613b22dc68ec0557788a3a5f02ce0ac928999
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

  Log Message:
  -----------
  Abort the transaction before closing the connection.

Before the rework to use a context manager the transaction was aborted directly
on the transaction manager. We still need to do this as an Unauthorized would
not be raised but lead to a `Cannot close a connection joined to a
transaction`.




More information about the checkins mailing list