File: 0032-Document-stdin-stdout.patch

package info (click to toggle)
httptunnel 3.3%2Bdfsg-6
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,500 kB
  • sloc: ansic: 4,754; makefile: 26; sh: 4
file content (47 lines) | stat: -rw-r--r-- 1,654 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From: Teemu Hukkanen <tjhukkan@iki.fi>
Date: Mon, 18 Mar 2024 13:12:08 +0200
Subject: Document --stdin-stdout

Bug-Debian: https://bugs.debian.org/887669
Forwarded: yes
---
 htc.1 | 5 ++++-
 hts.1 | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/htc.1 b/htc.1
index 9526c77..73f10b1 100644
--- a/htc.1
+++ b/htc.1
@@ -12,7 +12,7 @@ command.
 .B htc
 sets up a httptunnel connection to PORT at HOST (default port is 8888).
 When a connection is made, I/O is redirected from the source specified
-by the \-\-device or \-\-forward\-port switch to the tunnel.
+by the \-\-device, \-\-forward\-port or \-\-stdin\-stdout switch to the tunnel.
 .SH OPTIONS
 The program follows the usual GNU command line syntax, with long
 options starting with two dashes (`\-').
@@ -52,6 +52,9 @@ assume a proxy buffer size of BYTES bytes
 .B \-P, \-\-proxy HOSTNAME[:PORT]
 use a HTTP proxy (default port is 8080)
 .TP
+.B \-s, \-\-stdin\-stdout
+use stdin/stdout for communication (implies \-\-no\-daemon)
+.TP
 .B \-T, \-\-timeout TIME
 timeout, in milliseconds, before sending padding to a buffering proxy
 .TP
diff --git a/hts.1 b/hts.1
index 734c18c..9399746 100644
--- a/hts.1
+++ b/hts.1
@@ -13,7 +13,7 @@ command.
 listens for incoming httptunnel connections at PORT (default port is
 8888), and optionally binds to ip address HOST.
 When a connection is made, I/O is redirected to the destination specified
-by the \-\-device or \-\-forward\-port switch.
+by the \-\-device, \-\-forward\-port or \-\-stdin\-stdout switch.
 .SH OPTIONS
 The program follows the usual GNU command line syntax, with long
 options starting with two dashes (`\-').