id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc
203,reading yaml from socket may block in determine_encoding(),socketpair@…,xi,"The problem here:

reader.py:

determine_encoding():
   1. call self.update_raw() until receive needed length. 
      Suppose it receives all data from the kernel buffer, i.e. in my case - full document (--- xxxxxxxx\n...\n)
      self.eof will not be set
   2. call update(1) which have the code:
      if not self.eof:
          self.update_raw()
      as the self.eof is False (we never receive empty string)
      we will hang for any (uneeded here) data.
###############################
How to fix: just remove
-------------
if not self.eof:
    self.update_raw()
-------------
",defect,new,normal,pyyaml,major,,,
