-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathhttppc.1
49 lines (49 loc) · 1.02 KB
/
httppc.1
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
48
49
.Dd September 21, 2016
.Dt HTTPPC 1
.Os
.Sh NAME
.Nm httppc
.Nd HTTP proxy client
.Sh SYNOPSIS
.Nm tcpclient
.Ar proxy-host
.Ar proxy-port Nm httppc
.Ar host
.Ar port
.Ar program
.Op arguments
.Sh DESCRIPTION
The
.Nm
utility is an HTTP proxy handler for a UCSPI execchain.
It communicates with tcpclient over pipes with filedescriptor 6 and 7.
tcpclient connects to an HTTP proxy and delegates the further protocol
handling to
.Nm httppc .
httppc talks with the HTTP proxy and initiates a TCP connection to
.Ar host
with
.Ar port .
After the connection initiation
.Nm
executes
.Ar program
with
.Ar arguments .
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev TCPLOCALHOST Ev TCPLOCALIP Ev TCPLOCALPORT
These variables are delete.
.It Ev TCPREMOTEHOST Ev TCPREMOTEPORT
These variables are set to the hostname and port number of the server.
.El
.\".Sh EXIT STATUS
.\".Sh EXAMPLES
.Sh SEE ALSO
.Xr sockc 1 ,
.Xr tcpclient 1
.Sh STANDARDS
RFC 7231, section 4.3.6. CONNECT
.Sh AUTHORS
This program was written by
.An Jan Klemkow Aq Mt [email protected] .