You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Matt Mills (JIRA)" <ji...@apache.org> on 2017/08/01 17:16:00 UTC
[jira] [Updated] (TC-490) mso.qstring_handling parameter is checked
but not documented
[ https://issues.apache.org/jira/browse/TC-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Mills updated TC-490:
--------------------------
Description:
mso.qstring_handling not listed in docs, seems to be defined elsewhere as psel.qstring_handling
but MID parent selection code checks if mso.qstring_handling is not defined
{code}
my $qsh = $ds->{'param'}->{'parent.config'}->{'mso.qstring_handling'};
my $parent_qstring = "ignore"; # default is ignore, unless for alg consistent_hash
if ( !defined($qsh) && $mso_algorithm eq 'consistent_hash' && $ds->{qstring_ignore} == 0 ) {
$parent_qstring = 'consider';
}
{code}
The parameter is unlikely to ever exist, since it's not documented anywhere, but either way either the code should be corrected or the documentation should be.
was:
mso.qstring_handling not listed in docs, seems to be defined elsewhere as psel.qstring_handling
but MID parent selection code checks if mso.qstring_handling is not defined
my $qsh = $ds->{'param'}->{'parent.config'}->{'mso.qstring_handling'};
my $parent_qstring = "ignore"; # default is ignore, unless for alg consistent_hash
if ( !defined($qsh) && $mso_algorithm eq 'consistent_hash' && $ds->{qstring_ignore} == 0 ) {
$parent_qstring = 'consider';
}
The parameter is unlikely to ever exist, since it's not documented anywhere, but either way either the code should be corrected or the documentation should be.
> mso.qstring_handling parameter is checked but not documented
> ------------------------------------------------------------
>
> Key: TC-490
> URL: https://issues.apache.org/jira/browse/TC-490
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops API
> Affects Versions: 2.1.0
> Reporter: Matt Mills
> Priority: Blocker
>
> mso.qstring_handling not listed in docs, seems to be defined elsewhere as psel.qstring_handling
> but MID parent selection code checks if mso.qstring_handling is not defined
> {code}
> my $qsh = $ds->{'param'}->{'parent.config'}->{'mso.qstring_handling'};
> my $parent_qstring = "ignore"; # default is ignore, unless for alg consistent_hash
> if ( !defined($qsh) && $mso_algorithm eq 'consistent_hash' && $ds->{qstring_ignore} == 0 ) {
> $parent_qstring = 'consider';
> }
> {code}
> The parameter is unlikely to ever exist, since it's not documented anywhere, but either way either the code should be corrected or the documentation should be.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)