From 223656cdb130a8a0db0d6b7437cadd16d3297c9d Mon Sep 17 00:00:00 2001 From: Kamran Riaz Khan Date: Tue, 9 Aug 2011 07:38:02 +0500 Subject: [PATCH 1/2] Added definition of CONF_CHANGED event. --- control-spec.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/control-spec.txt b/control-spec.txt index 160adf4..4e42449 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -1893,6 +1893,19 @@ [First added in 0.2.3.1-alpha] +4.1.17. Configuration changed + + The syntax is: + StartReplyLine *(MidReplyLine) EndReplyLine + + StartReplyLine = "650-CONF_CHANGED" CRLF + MidReplyLine = "650-" KEYWORD ["=" VALUE] CRLF + EndReplyLine = "650-OK" + + Tor configuration options have changed (such as via a SETCONF or RELOAD + signal). KEYWORD and VALUE specify the configuration option that was changed. + Undefined configuration options contain only the KEYWORD. + 5. Implementation notes 5.1. Authentication From 74f21a8ef88c321b2e1146dee2bae1bb9548945f Mon Sep 17 00:00:00 2001 From: Kamran Riaz Khan Date: Tue, 9 Aug 2011 18:54:10 +0500 Subject: [PATCH 2/2] Fixed EndLine for CONF_CHANGED event. --- control-spec.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control-spec.txt b/control-spec.txt index 4e42449..0b1649b 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -1900,7 +1900,7 @@ StartReplyLine = "650-CONF_CHANGED" CRLF MidReplyLine = "650-" KEYWORD ["=" VALUE] CRLF - EndReplyLine = "650-OK" + EndReplyLine = "650 OK" Tor configuration options have changed (such as via a SETCONF or RELOAD signal). KEYWORD and VALUE specify the configuration option that was changed.