Removes self-reference to the header parsing method when closing the connection which prevents the object from directly being released.
prevent circular reference between response and error
Merge remote-tracking branch 'facebook/master'
Revert "prevent circular reference between response and error", shoul…
…d go into separate branch
This reverts commit 5df58a5b655f71c6bc4369cbea0963f4cd9fd221.
break self references when stream is closed
This pull request passes (merged 5c89a06 into 2b07385).
When closing an HTTPConnection, also clear a circular reference to self.
This reference could cause garbage collection of the connection object
to be delayed.