Re: http read reply in http.c

2006-03-16 Thread Henrik Nordstrom
ons 2006-03-15 klockan 17:48 -0800 skrev Balu: I played around httpReadReply() in src/http.c But could not make it happen. Can anyone give me clue on what part of code I should modify to add a line that has to be send to the http client(Browser). httpReadReply() is a good place. So is

Re: Implement a simulator

2006-03-16 Thread Henrik Nordstrom
lör 2006-03-11 klockan 11:27 -0300 skrev wellington ricardo gasparin: Hi, I need to implement a simulator of squid, for simulate a policy replacement. If I to use include squid.h, I can use the functions of squid? For example: storeCreateEntry? You will probably find crossdependencies

ICP - neighborsUdpACK

2006-03-16 Thread srnoam
Hello, I have rudimentary implemented a choice algorithm in neighborsUdpACK function in neighbors.c, where it waits to all icp responses per object (untill all icp peers responded or untill timeout) then chooses the lowest cost peer (it's for dynamic objects only in my network). However, the

Re: WCCPv2 support

2006-03-16 Thread Jeremy Hall
Hello, when I try to shut squid down, the code just goes on sending here_i_am messages, receiving replies, and basically ignores the fact that squid is going away. Squid keeps receiving http requests and doesn't politely send them away like it used to. Do you have thoughts on this? _J Henrik

new variables in struct storeEntry

2006-03-16 Thread srnoam
Hi, I had success adding several variables in the struct storeEntry (and in every function that related to enrty) use them. However when I stop squid run it again the values in those variables seem to reset to 0, is it because squid is writing the cache to disk when shutting down? It's isn't

Re: strip query terms OnOff

2006-03-16 Thread srnoam
Quoting [EMAIL PROTECTED]: Quoting Henrik Nordstrom [EMAIL PROTECTED]: tor 2006-03-16 klockan 15:14 +0200 skrev [EMAIL PROTECTED]: Do you mean no_cache in the request/reply http headers? No, in squid.conf... Well, I hope I don't jump the gun, I think this was my problem - I did a

Re: new variables in struct storeEntry

2006-03-16 Thread Henrik Nordstrom
tor 2006-03-16 klockan 16:16 +0200 skrev [EMAIL PROTECTED]: However when I stop squid run it again the values in those variables seem to reset to 0, is it because squid is writing the cache to disk when shutting down? Only the fields in teh STORE_META_SDL TLV section gets written to disk.

Re: Authentication unconditionally built into 2.5S13

2006-03-16 Thread Lucas Brasilino
Hi Adding the --disable-auth switch to the config command line fixes this problem by avoiding those 2 lines above. Alas, it creates a new problem as the auth/Makefile isn't smart enough to know that there is nothing to do: Right. I do not think anyone has considered this case. Looked at

RE: WCCPv2 support

2006-03-16 Thread Steven Wilton
I've just created the wccp2-s2_5 branch and uploaded a patch based on some code that we've been using on our network for about 7 months now. The code supports multiple routers, multiple caches and multiple services. It does use a lot of structs to keep track of everything, which should allow