Implement proposal 148: Make client stream end reasons uniform.
commita4a481d81cee5c5d53f0165e0777b541207c1853
authorNick Mathewson <nickm@torproject.org>
Fri, 12 Dec 2008 20:30:42 +0000 (12 20:30 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 12 Dec 2008 20:30:42 +0000 (12 20:30 +0000)
tree1bef88b44348bb8f73d4df3fb5e26164e2ce63ec
parent5fb2ab1e654ad5c121fff834897ea4cf920774ca
Implement proposal 148: Make client stream end reasons uniform.
This patch makes every RELAY_COMMAND_END cell that we send pass through one of two functions: connection_edge_end and relay_send_end_cell_from_edge.  Both of these functions check the circuit purpose, and change the reason to MISC if the circuit purpose means that it's for client use.

svn:r17612
ChangeLog
src/or/connection_edge.c
src/or/or.h