'Send a potentially "ragged" EOF.
This method will raise an SSL_ERROR_EOF exception if the EOF is
unexpected.'

def feed_eof(self):

    self._incoming.write_eof()
    (ssldata, appdata) = self.feed_ssldata('')
    assert ((appdata == []) or (appdata == ['']))
