Handle EHOSTUNREACH in errno_to_stream_end_reason()
commitb8aa14a39b2f96edad8ca0b5a9ea5be218837ce0
authorSebastian Hahn <sebastian@torproject.org>
Tue, 3 Aug 2010 11:57:13 +0000 (3 13:57 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 3 Aug 2010 12:03:36 +0000 (3 14:03 +0200)
tree12d4ada347c52099a95a8e423616a09caf048a4b
parentb958eae573fd1e2817df628e29d937e2683630ea
Handle EHOSTUNREACH in errno_to_stream_end_reason()

We used to not recognize it and returned END_STREAM_REASON_MISC.
Instead, return END_STREAM_REASON_INTERNAL.
changes/misc-reason [new file with mode: 0644]
src/or/reasons.c