shinrich opened a new pull request #7790:
URL: https://github.com/apache/trafficserver/pull/7790


   The problem is that the S3auth object contains a URL MLoc reference in 
_url_mloc.  In our configuration, one of the plugins called after s3auth 
changes the server_request URL in such as way that the _url_mloc reference is 
old and destroyed, see http_hdr_url_set in proxy/hdrs/HTTP.cc.  deallocate_obj 
clears the m_type which causes the later assert in MLocRelease.
   
   By causing the S3Request object to clean up before calling 
TSHttpTxnReenable, the _url_mloc is not stale when MLocRelease is called.
   
   We only see this problem in 9.0 not in 9.1, and I don't know why.  All of 
the relevant pieces of code are the same, and we are running with the same 
configs.  It is possible there are other changes that cause ATS to take the 
other path in http_hdr_url_set which updates the URLImpl object in place rather 
than just updating a pointer.  
   
   This fixes #7780


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to