[Xapian-tickets] [Xapian] #546: xapian-replicate reads from a socket without using timeouts

Xapian nobody at xapian.org
Thu May 19 14:11:17 BST 2011


#546: xapian-replicate reads from a socket without using timeouts
--------------------+-------------------------------------------------------
 Reporter:  nkvoll  |       Owner:  olly
     Type:  defect  |      Status:  new 
 Priority:  normal  |   Milestone:      
Component:  Other   |     Version:      
 Severity:  normal  |    Keywords:      
Blockedby:          |    Platform:  All 
 Blocking:          |  
--------------------+-------------------------------------------------------

Comment(by nkvoll):

 In order to clarify a little:

 I told iptables to drop incoming packets to the port the xapian-replicate
 client used, then I stopped the xapian-replicate-server and removed the
 iptables rule (iptables --flush).

 At that point, the server has sees no connection to the client, but the
 client still waits in read(), ever hopeful, waiting for the server to
 respond -- without any timeout it will probably never leave that state.

-- 
Ticket URL: <http://trac.xapian.org/ticket/546#comment:2>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list