mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 18:22:09 +01:00
print right controller purpose string for measure-timeout circs
This commit is contained in:
parent
6048571100
commit
54cdac97f1
4
changes/string-for-measure-timeout-circs
Normal file
4
changes/string-for-measure-timeout-circs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- When the controller is reporting the purpose of circuits that
|
||||||
|
didn't finish building before the circuit build timeout, it was
|
||||||
|
printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
|
@ -352,6 +352,8 @@ circuit_purpose_to_controller_string(uint8_t purpose)
|
|||||||
|
|
||||||
case CIRCUIT_PURPOSE_TESTING:
|
case CIRCUIT_PURPOSE_TESTING:
|
||||||
return "TESTING";
|
return "TESTING";
|
||||||
|
case CIRCUIT_PURPOSE_C_MEASURE_TIMEOUT:
|
||||||
|
return "EXPIRED";
|
||||||
case CIRCUIT_PURPOSE_CONTROLLER:
|
case CIRCUIT_PURPOSE_CONTROLLER:
|
||||||
return "CONTROLLER";
|
return "CONTROLLER";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user