[Varnish] #149: Can't Purge

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Aug 13 12:19:04 CEST 2007


In message <062.3a147aaf6643daa1e7c58fa7cc54b0ab at projects.linpro.no>, "Varnish"
 writes:

Now I see your trouble.


>    11 RxRequest    c GET
>    11 RxURL        c /thumbs/9817923.jpg
>    11 RxProtocol   c HTTP/1.0
>    11 RxHeader     c Host: mogile

Here you have a host header.

>    11 RxRequest    c PURGE
>    11 RxURL        c /thumbs/7238558.jpg
>    11 RxProtocol   c HTTP/1.1

And here you have none.

Your PURGE must produce the same hash as the GET to find the
same object.

Try this:

	PURGE /thumbs/7238558.jpg /HTTP/1.0
	Hosts: mogile



-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-bugs mailing list