[Xapian-tickets] [Xapian] #654: Getting EOF when using get_data() in a remote database

Xapian nobody at xapian.org
Fri Nov 6 03:18:15 GMT 2015


#654: Getting EOF when using get_data() in a remote database
---------------------------+-----------------------------
 Reporter:  Kronuz         |             Owner:  olly
     Type:  defect         |            Status:  assigned
 Priority:  normal         |         Milestone:  1.3.4
Component:  Backend-Chert  |           Version:  1.2.18
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  All
---------------------------+-----------------------------

Comment (by olly):

 Ping?

 I'm still unsure if there's really still a bug here.  For a read-only
 database, the client just closes the connection when it is done, and
 currently the server reports that as `Got exception NetworkError: Received
 EOF`, e.g.:

 {{{
 $ bin/xapian-tcpsrv tests/.glass/db= -p 16712
 Starting server on port 16712
 Listening...
 Connection from 127.0.0.1, port 7337
 Got exception NetworkError: Received EOF (context: tests/.glass/db=)
 Closing connection.
 Connection from 127.0.0.1, port 7849
 Got exception NetworkError: Received EOF (context: tests/.glass/db=)
 Closing connection.
 Connection from 127.0.0.1, port 8361
 Got exception NetworkError: Received EOF (context: tests/.glass/db=)
 Closing connection.
 }}}

 So I'm wondering if that's all you're seeing (and it "works" with your
 server because you don't print that!)

 Those messages are confusing when that's really just what's expected, but
 we should be able to just suppress them.

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



More information about the Xapian-tickets mailing list