.\" Man page generated from reStructuredText. . .TH "TRAFFIC_VIA" "1" "Mar 08, 2019" "7.1" "Apache Traffic Server" .SH NAME traffic_via \- Traffic Server Via header decoder . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBtraffic_via\fP [OPTIONS] [VIA ...] .SH DESCRIPTION .sp \fBtraffic_via\fP decodes the Traffic Server Via header codes. Via header strings are passed as command\-line options. The enclosing square brackets are optional. .sp If the argument is \(aq\-\(aq, \fBtraffic_via\fP will filter standard input for Via headers. This modes supports only supports Via headers that are enclosed by square brackets. .SH OPTIONS .INDENT 0.0 .TP .B \-h, \-\-help Print usage information and exit. .UNINDENT .INDENT 0.0 .TP .B \-V, \-\-version Print version. .UNINDENT .SH EXAMPLES .sp Decode the Via header from command\-line arguments: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ traffic_via "[uScMsEf p eC:t cCMi p sF]" Via header is uScMsEf p eC:t cCMi p sF, Length is 24 Via Header Details: Request headers received from client :simple request (not conditional) Result of Traffic Server cache lookup for URL :miss (a cache "MISS") Response information received from origin server :error in response Result of document write\-to\-cache: :no cache write performed Proxy operation result :unknown Error codes (if any) :connection to server failed Tunnel info :no tunneling Cache Type :cache Cache Lookup Result :cache miss (url not in cache) Parent proxy connection status :no parent proxy or unknown Origin server connection status :connection open failed .ft P .fi .UNINDENT .UNINDENT .sp Decode the Via header from a curl request, using the X\-Debug plugin: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ curl \-H "X\-Debug: Via" \-I http://test.example.com | traffic_via \- Via header is uScMsSf pSeN:t cCMi p sS, Length is 24 Via Header Details: Request headers received from client :simple request (not conditional) Result of Traffic Server cache lookup for URL :miss (a cache "MISS") Response information received from origin server :connection opened successfully Result of document write\-to\-cache: :no cache write performed Proxy operation result :served or connection opened successfully Error codes (if any) :no error Tunnel info :no tunneling Cache Type :cache Cache Lookup Result :cache miss (url not in cache) Parent proxy connection status :no parent proxy or unknown Origin server connection status :connection opened successfully .ft P .fi .UNINDENT .UNINDENT .SH COPYRIGHT 2019, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .