trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: TSHttpTxnRedirectUrlSet not working?
Date Mon, 01 Dec 2014 20:38:45 GMT

> On Nov 28, 2014, at 8:55 PM, Mathias Biilmann <mathias@bitballoon.com> wrote:
> 
> I'm trying to get TSHttpTxnRedirectUrlSet, but when I compile traffic
> server in debug mode, I get the following failed assertion:
> 
> FATAL: HttpSM.cc:2490: failed assert `server_entry == NULL`
> 
> Here's a small example plugin replicating the issue:



Which version of ATS are you running to trip over this? I tested current master, and it does
not seem to have the problem. It does seem to trigger the plugin twice though for each request,
I’d imagine your real code does more checks such that it doesn’t trigger multiple times?

Ciao,

— Leif

$ curlhead http://loki.ogre.com/bench/100.bmp
HTTP/1.1 301 Moved Permanently
Server: ATS/5.3.0
Cache-Control: public,max-age=0
Location: http://www.dr.dk/
X-Cacheable: REDIR:301
Accept-Ranges: bytes
Date: Mon, 01 Dec 2014 20:34:01 GMT
X-Varnish: 655001852
Age: 0
Via: 1.1 varnish
X-Via: varnishol03.dr.dk (172.18.120.163:80)
X-Cache: MISS
X-WebEdge: 
Transfer-Encoding: chunked
Connection: keep-alive


# Eeep, varnish ;)


Mime
View raw message