code: def feed_eof(self):
          
          self._incoming.write_eof()
          ssldata, appdata = self.feed_ssldata(b'')
          assert appdata == [] or appdata == [b'']
docs: Send a potentially "ragged" EOF.
  
          This method will raise an SSL_ERROR_EOF exception if the EOF is
          unexpected.