Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

BrokenPipeError in tulip/http/protocol.py #34

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

$ python runtests.py
...
Fatal error for <tulip.selector_events._SelectorSocketTransport object at 
0x7f7f2406b350>
Traceback (most recent call last):
  File "/home/andrew/projects/tulip/tulip/http/server.py", line 91, in start
    info = yield from self.stream.read_request_line()
  File "/home/andrew/projects/tulip/tulip/http/protocol.py", line 95, in read_request_line
    raise errors.BadStatusLine(line) from None
tulip.http.errors.BadStatusLine: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/andrew/projects/tulip/tulip/selector_events.py", line 372, in write
    n = self._sock.send(data)
BrokenPipeError: [Errno 32] Broken pipe
...

I can reproduce it on my Ubuntu linux box sometimes.
Not every run but often enough.

Should we process BrokenPipeError as well as other disconnection errors for 
this case?

Original issue reported on code.google.com by andrew.s...@gmail.com on 15 Apr 2013 at 5:36

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions