[Xapian-tickets] [Xapian] #781: Sockets never closed on RemoteDatabase errors

Xapian nobody at xapian.org
Thu May 2 03:51:35 BST 2019


#781: Sockets never closed on RemoteDatabase errors
----------------------------+-------------------------
 Reporter:  Kronuz          |             Owner:  olly
     Type:  defect          |            Status:  new
 Priority:  high            |         Milestone:
Component:  Backend-Remote  |           Version:
 Severity:  blocker         |        Resolution:
 Keywords:                  |        Blocked By:
 Blocking:                  |  Operating System:  All
----------------------------+-------------------------

Comment (by olly):

 OK, I've pushed a fix for that other bug
 ([245d4fdd1aee03ac60e8996f26ce570536471ba2]) and a fix for this one
 ([3dcd784bc105d7dc0db10bba1c9a8be28f52611b] which adds an
 `OwnedRemoteConnection` subclass which takes care of releasing the fds and
 uses it in the appropriate cases).

 I haven't yet turned the reproducer into a testcase in the testsuite - I
 think it can be done, but I need to think about how best to do it.
 Keeping this ticket open so I don't forget.

--
Ticket URL: <https://trac.xapian.org/ticket/781#comment:17>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list