mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Also skip creating named pipe if --meek is enabled, and output a more useful waiting message if pipe is expected
This commit is contained in:
parent
5c166f5015
commit
f2d8a749f4
1 changed files with 2 additions and 1 deletions
|
@ -331,7 +331,8 @@ func main() {
|
||||||
|
|
||||||
log.Println("starting")
|
log.Println("starting")
|
||||||
|
|
||||||
if offerURL == "" {
|
if offerURL == "" && !meekEnabled {
|
||||||
|
log.Println("No HTTP signaling detected. Waiting for a \"signal\" pipe...")
|
||||||
// This FIFO receives signaling messages.
|
// This FIFO receives signaling messages.
|
||||||
err = syscall.Mkfifo("signal", 0600)
|
err = syscall.Mkfifo("signal", 0600)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue