[ 
https://issues.apache.org/jira/browse/TS-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318401#comment-15318401
 ] 

ASF GitHub Bot commented on TS-4511:
------------------------------------

GitHub user ushachar opened a pull request:

    https://github.com/apache/trafficserver/pull/698

    TS-4511: ATS crashes when no_dns_just_forward is configured without p…

    …arent proxies
    
    Don't attempt to continue with flow if no parent is defined and we don't 
have a real origin server IP

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ushachar/trafficserver fix_assert_on_no_dns

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/698.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 #698
    
----
commit f4af6d847eac4822a94fb44a0b316cb6b4958eb0
Author: Uri Shachar <[email protected]>
Date:   2016-06-07T10:56:46Z

    TS-4511: ATS crashes when no_dns_just_forward is configured without parent 
proxies

----


> ATS crashes when no_dns_just_forward is configured without parent proxies
> -------------------------------------------------------------------------
>
>                 Key: TS-4511
>                 URL: https://issues.apache.org/jira/browse/TS-4511
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: DNS, Parent Proxy
>            Reporter: Uri Shachar
>            Assignee: Uri Shachar
>
> When ATS is configured with:
> CONFIG proxy.config.http.no_dns_just_forward_to_parent INT 1
> (and parent routing is enabled)
> and a request comes in that does not have a parent defined for it in 
> parent.config ATS will abort with the following backtrace:
> FATAL: HttpTransact.cc:7608: failed assertion `s->parent_result.result == 
> PARENT_FAIL`
> ./bin/traffic_server(_ZN12HttpTransact18handle_parent_diedEPNS_5StateE+0x38)[0x6208fe]
> ./bin/traffic_server(_ZN12HttpTransact23HandleCacheOpenReadMissEPNS_5StateE+0x686)[0x60e868]
> ./bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x71)[0x5f118d]
> ./bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x102)[0x5dbd74]
> ./bin/traffic_server(_ZN6HttpSM14do_api_calloutEv+0x40)[0x5f876a]
> ./bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x75)[0x5f1347]
> ./bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1ae)[0x5f12ca]
> ./bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0xb21)[0x5f1df3]
> ./bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1ae)[0x5f12ca]
> ./bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x102)[0x5dbd74]
> ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to