summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-05 16:46:05 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-05 16:46:05 +0000
commit5e1303ecd129496f32401842b82b8564cb76b8ec (patch)
tree217c67d118a7c443f505a9365819855c82d803fb /src/utils.c
parentac88af1f712485642fc868cef505dbb46403a48d (diff)
downloadtinyproxy-5e1303ecd129496f32401842b82b8564cb76b8ec.tar.gz
tinyproxy-5e1303ecd129496f32401842b82b8564cb76b8ec.zip
(establish_http_connection): If the port being requested is not a
standard HTTP port (80 or 443) append the port string to the host header; otherwise, leave the host string with only the host's domain name. Replaced all occurrences of constant 80 and 443 with defines HTTP_PORT and HTTP_PORT_SSL.
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions