[
https://issues.apache.org/jira/browse/TS-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181765#comment-15181765
]
ASF GitHub Bot commented on TS-4257:
------------------------------------
GitHub user SolidWallOfCode opened a pull request:
https://github.com/apache/trafficserver/pull/512
TS-4257: Using original scheme and check for not set in log field cqus
This is two fixes used inside Yahoo!, both to the same method.
{{orig_scheme}} is used to prevent the log field from always reporting "http"
and that value also needs to be checked because in certain cases in can be -1
which causes ASAN to get upset.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SolidWallOfCode/trafficserver ts-4257
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/512.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #512
----
commit b192a652c5686e6facc12f52b569bb1101656b91
Author: Alan M. Carroll <[email protected]>
Date: 2016-03-05T16:15:06Z
TS-4257: Using original scheme and check for not set in log field cqus
----
> Handle unset client request scheme in log field
> -----------------------------------------------
>
> Key: TS-4257
> URL: https://issues.apache.org/jira/browse/TS-4257
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Reporter: Alan M. Carroll
>
> If a transaction fails early enough the scheme is unset but
> {{LogAccessHttp::marshal_client_req_url_scheme}} doesn't check for that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)