[tor-commits] [snowflake/master] Also skip creating named pipe if --meek is enabled, and output a more useful waiting message if pipe is expected

arlo at torproject.org arlo at torproject.org
Thu Jan 21 20:36:18 UTC 2016


commit f2d8a749f448bfbfd69a454c0ce7b14b56143513
Author: Serene Han <keroserene+git at gmail.com>
Date:   Wed Jan 20 15:51:22 2016 -0800

    Also skip creating named pipe if --meek is enabled, and output a more useful waiting message if pipe is expected
---
 client/snowflake.go |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/client/snowflake.go b/client/snowflake.go
index 076080d..ad496f9 100644
--- a/client/snowflake.go
+++ b/client/snowflake.go
@@ -331,7 +331,8 @@ func main() {
 
 	log.Println("starting")
 
-	if offerURL == "" {
+	if offerURL == "" && !meekEnabled {
+		log.Println("No HTTP signaling detected. Waiting for a \"signal\" pipe...")
 		// This FIFO receives signaling messages.
 		err = syscall.Mkfifo("signal", 0600)
 		if err != nil {





More information about the tor-commits mailing list