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

James Peach commented on TS-2966:
---------------------------------

The patch adds a NULL check for {{HttpSM::ua_session}}, but {{ua_session}} 
should not be NULL at this point. Maybe there's some condition that is only 
triggered by the update state machine.

I took a look at the update code and it doesn't look too promising. I think it 
will be some work to bring it to life and get it nicely tested. I'm happy to 
review and land patches.

> Update Feature not working
> --------------------------
>
>                 Key: TS-2966
>                 URL: https://issues.apache.org/jira/browse/TS-2966
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache, Core
>            Reporter: Thomas Stinner
>             Fix For: sometime
>
>         Attachments: traffic.out, trafficserver.patch
>
>
> I had a problem using the update feature. I recevied a SegFault in 
> do_host_db_lookup which was caused by accessing ua_session which was not 
> initialized (see attached patch). 
> After fixing that i no longer get an SegFault, but the files that are 
> retrieved by recursion are not placed into the cache. They are requested in 
> every schedule. 
> Only the starting file is placed correctly into the cache. 
> When retrieving the files with a client, caching works as expected. So i 
> don't think this is a configuration error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to