Re: httpProcessReplyHeader question

2007-02-13 Thread Henrik Nordstrom
tis 2007-02-13 klockan 19:45 +0800 skrev Adrian Chadd: > Why is there a storeAppend with no http parse? No idea, but a guess is to bump the entry out of the inmem_hi == 0 condition.. What happens if you kill it? Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelande

Re: Advancing IPv6 properly

2007-02-12 Thread Henrik Nordstrom
mån 2007-02-12 klockan 21:34 +1300 skrev Amos Jeffries: > Creating an IPAddress class to replace all the nasty macros > currently used in the (incomplete) preperation of HEAD for the future > ipv6 branch merge. Yes, what I proposed when the branch was created.. > I am not certain at this p

Re: vary stuff

2007-02-12 Thread Henrik Nordstrom
mån 2007-02-12 klockan 20:46 +0800 skrev Adrian Chadd: > I'm about to start implementing replacement memory-only store client > primitives and I'm not fully on top of how the vary code abuses > store objects to do its thing in store.c. He, abuses is a good description. It actually doesn't do very

Re: [squid-users] Re: redirect program technicalities

2007-02-12 Thread Henrik Nordstrom
mån 2007-02-12 klockan 13:14 +0530 skrev Siddhesh PaiRaikar: > On 2/12/07, Siddhesh PaiRaikar <[EMAIL PROTECTED]> wrote: > > hi.. > > > > Can someone please tell me .. that when squid passes on the URL to another > > program such as say squidguard... > > > > does it write to stdin or somewhere else

Re: hello again

2007-02-05 Thread Henrik Nordstrom
tis 2007-02-06 klockan 00:30 +0100 skrev Michael Matusiak: > I am wondering about that Etag/vary stuff... I could start with that > 2.6 issue you mentioned (if-none-match), is it most recent version of > 2.6 being affected? I will need to read rfc a bit again (I still > remember getting through som

Re: Presentation and goals

2007-02-05 Thread Henrik Nordstrom
ons 2007-01-31 klockan 16:37 +0100 skrev Jeremy Lardon: > My name is Jeremy Lardon. I am working as a Ph.D. student in France. My > works are about live transformation of web pages. Welcome! > In order to transform web pages in live, I thought using Squid as base > for my live transformation.

Re: hello again

2007-02-05 Thread Henrik Nordstrom
mån 2007-02-05 klockan 16:20 +0100 skrev Michael Matusiak: > In the past me and my friend been working on some etag support for > squid (lng ago) although we kind of stopped when new projects > during studies came up. Welcome back! > If you have any suggestions on what you need most help wit

Re: tcp_outgoing_address based on other acl types

2007-02-05 Thread Henrik Nordstrom
tor 2007-02-01 klockan 16:21 -0300 skrev [EMAIL PROTECTED]: > Hi, > > I´d like to know if it would be possible/easy to make the directive > tcp_outgoing_address work with other acl types than only src address? Should be easy. Just fill in the temporary checklist with the missing elements.. See ge

Re: incoming connection balancing

2007-02-03 Thread Henrik Nordstrom
lör 2007-02-03 klockan 22:40 +0800 skrev Adrian Chadd: > A sudden late-night idea - why not set the "how often to poll for > incoming sockets" as dependant on the number of incoming connections > handled in one httpAccept() / httpsAccept() ? The idea being that > if the incoming request rate is inc

Re: Experimental and incomplete patch: tagging an originserver as dead...and testing if it's alive

2007-02-03 Thread Henrik Nordstrom
fre 2007-02-02 klockan 19:21 -0200 skrev Lucas Brasilino: > Hmmm.. great. I didn't try peer monitor. I gonna take a look. Maybe it > fits our needs.. I think it does fit your needs very vell. Just make sure you use a current 2.6 release as there was some minor issues in earlier releases.. Regard

Re: Experimental and incomplete patch: tagging an originserver as dead...and testing if it's alive

2007-02-02 Thread Henrik Nordstrom
tis 2007-01-30 klockan 16:50 -0200 skrev Lucas Brasilino: > I don't know if Squid already has this feature. If so I didn't figure out how. > I'm working in a patch to tag an originserver as 'dead' if there's a > connection > refuse or a read_timeout. It already does this on connection refuses or

Re: Patch for logging HTTP-request size

2007-01-28 Thread Henrik Nordstrom
sön 2007-01-28 klockan 13:11 +0200 skrev Alter: > I've made patch to Squid 2.5-stable14 (r4), which enables logging of > http-request size and/or total request+reply size. > Patch extends 'logformat' option of squid.conf. '>st' and 'st' can be > used to log request size and total size respectively

2.6.STABLE9

2007-01-23 Thread Henrik Nordstrom
A 2.6.STABLE9 release has been rolled fixing a HTTP error in If-Modified-Since processing introduced in 2.6.STABLE8. Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel

Re: SquidNT 2.6 release tree

2007-01-21 Thread Henrik Nordstrom
sön 2007-01-21 klockan 22:29 +0100 skrev Guido Serassio: > Just a question, how setup this new branch on squid-cache.org ? > It's enough to use cvsmkbranch like as on SourgeForge branches ? Yes, just make sure to remember to do it from the SQUID_2_6 branch, not HEAD. Regards Henrik signature.a

Re: 2.6.STABLE8 in the pipeline

2007-01-21 Thread Henrik Nordstrom
sön 2007-01-21 klockan 21:06 +0100 skrev Guido Serassio: > I agree, but I think that we should move only a > NT_2_6 branch, leaving the nt branch on > Sourgeforge as a development/test branch, even if > this will be a little more difficult to maintain in sync. Fine by me. You are free to keep

Re: [squid-users] Revisting... High TCP_MISS rate

2007-01-21 Thread Henrik Nordstrom
tor 2007-01-18 klockan 18:54 -0500 skrev Chris Nighswonger: > > I wrote a post to squid-dev a couple months ago which covered this issue - > > we should use different logging codes for the authentication procedure > > rather > > than just TCP_DENIED. Opinion was positive; but I haven't any time to

Re: 2.6.STABLE8 in the pipeline

2007-01-21 Thread Henrik Nordstrom
sön 2007-01-21 klockan 14:46 +0100 skrev Guido Serassio: > What will happen on Sourgeforge ? > > The current squid2 nt branch is based on HEAD, and is still needed to > build the binaries for Windows. Hmm.. we should probably move the Squid-2 nt branch to the main CVS repository as a branch fro

Re: 2.6.STABLE8 in the pipeline

2007-01-21 Thread Henrik Nordstrom
sön 2007-01-21 klockan 05:49 +0100 skrev Henrik Nordstrom: > The 2.6.STABLE8 release candidate is now available on the web server > http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE8-RELEASENOTES.html > http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE8.tar.bz2 / .g

Re: 2.6.STABLE8 in the pipeline

2007-01-20 Thread Henrik Nordstrom
The 2.6.STABLE8 release candidate is now available on the web server http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE8-RELEASENOTES.html http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE8.tar.bz2 / .gz http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE8.tar.bz2.asc /

Re: UDP & pipe logging patch

2007-01-20 Thread Henrik Nordstrom
Interesting. I'll look into the details shortly. Regarding piping to a separate program, see the following very similar work which should cover most aspects which may be encountered: http://devel.squid-cache.org/projects.html#s26_logfile_daemon Regards Henrik sön 2007-01-21 klockan 00:43 + s

Re: WCCP2

2007-01-19 Thread Henrik Nordstrom
fre 2007-01-19 klockan 07:01 -0800 skrev Govind Kannan: > 3. Does the router get to load balance the cluster depending on the > "Assignment weights", parameter that is supposed to be specified > in the > Here_I_am? No, thats just a hint to the primary web cache which may use that to bal

Re: 2.6.STABLE8 in the pipeline

2007-01-19 Thread Henrik Nordstrom
fre 2007-01-19 klockan 14:20 +0800 skrev ShuXin Zheng: > OK, since that is just for dealing with buggy servers, it should do better > and can also handle "Transfer-Encoding and Content-Length are presented > in one reply header". Isn't it ? It rejects responses with both chunked and content-length

2.6.STABLE8 in the pipeline

2007-01-18 Thread Henrik Nordstrom
Due to Bug #1872 2.6.STABLE8 is due for release lot earlier than intended (significant cache error introduced in 2.6.STABLE6). The next nightly (released in 24 hours) is to be considered a 2.6.STABLE8 release candidate. Please give it the best testing you can. There has been quite substantial chan

Re: saving web page body to file... help needed

2007-01-18 Thread Henrik Nordstrom
ons 2007-01-17 klockan 21:16 -0800 skrev Siddhesh PaiRaikar: > ok from this.. i just need to know 1 thing then doesnt squid > temporarily buffer the body at all before it sends it to the client ? Of course it temporarily buffers some of the body while copying data from the server connection t

Re: saving web page body to file... help needed

2007-01-17 Thread Henrik Nordstrom
ons 2007-01-17 klockan 21:59 +0530 skrev Siddhesh PaiRaikar: > so we currently needed to know the source file in which squid takes > the body content of a web page from the web and the function > containing and the name of the data structure it temporarily stores it > in before storing it in the c

Re: new small code change to wbinfo_group.pl

2007-01-12 Thread Henrik Nordstrom
fre 2007-01-12 klockan 18:49 +0100 skrev [EMAIL PROTECTED]: > I'm sorry if i harass someone, but i've checked the lastest wbinfo_group.pl > ( from squid-2.6.STABLE6-20070112.tar.bz2 ) and I've noticed that using > split to populate the array, as expected, make it impossible to parse a > group name

Re: small code changes to wbinfo_group.pl

2007-01-12 Thread Henrik Nordstrom
fre 2007-01-12 klockan 14:37 +0100 skrev [EMAIL PROTECTED]: > Hi, I've added a small bit of code to the main loop of wbinfo_group.pl to > be able to verify the user membership to multiple groups at once, the code > is pretty strightforward. Thanks for your contribution, looks good but has already

Re: information request

2007-01-08 Thread Henrik Nordstrom
mån 2007-01-08 klockan 17:12 -0800 skrev foomail123: > "Cache deny all" in config, does it reduce the image > footprint ? No, it only reduces the runtime memory footprint. > It would have been nice if there were compile > directives and/or configure directives to disable > parts > of functionali

Squid-2.6.STABLE7 planned

2007-01-08 Thread Henrik Nordstrom
2.6.STABLE7 is being planned shortly due to Bug #1857 which also manifests itself in Bug #1866. If there is other bugs/issues you think should be fixed for 2.6.STABLE7 please speak up now. There will be a janitor session over the open bug reports before release, but nothing major planned.. Regar

Re: Debug

2007-01-08 Thread Henrik Nordstrom
tis 2007-01-09 klockan 13:30 +1300 skrev Amos Jeffries: > Over the last two days. The more I work on this the more I wish there > was some developer documentation saying things like this clearly > available in the source or on the website. So newbies like myself can > quickly get a picture of w

Re: I want join squid-dev mailing list

2007-01-08 Thread Henrik Nordstrom
mån 2007-01-08 klockan 11:43 +0700 skrev Fajri Kurniawan: > My name is Fajri Kurniawan, I am from indonesia. > I'm an undergraduate student. I join this mailing list because I want to > know about developing plugin in Squid. Welcome! > I have no experience using Squid. But I have some experience

Re: information request

2007-01-08 Thread Henrik Nordstrom
mån 2007-01-08 klockan 11:57 -0800 skrev foomail123: > Question: > I see: > 10223345 Jan 8 11:07 src/squid > on x86, Linux 2.x. File size is no good indication of memory footprint. Use the size command. sbin/squid includes not only code+data but also debug information. You can remove the debug

Re: Debug

2007-01-08 Thread Henrik Nordstrom
mån 2007-01-08 klockan 17:27 +1300 skrev Amos Jeffries: > The problem I am tracking is a DNS timeout when a TCP_MISS:DIRECT begins > but can't figure out how to get any action-by-action or > function-by-function record of what calls are being made in the area. Well. it is not so easy. Squid is

Re: squid3-ipv6 squid3/doc squid.8,1.1,1.1.30.1

2007-01-08 Thread Henrik Nordstrom
mån 2007-01-08 klockan 03:08 +1300 skrev Amos Jeffries: > I didn't change that! What gives??? someone fix a configure tool > somewhere? It's a generated file.. not meant to be CVS controlled. The original is squid.8.in rm doc/squid.8 cvs delete doc/squid.8 and you get rid of it from the bran

Re: squid3-ipv6 squid3/include util.h,1.10.8.6,1.10.8.7

2007-01-06 Thread Henrik Nordstrom
sön 2007-01-07 klockan 03:46 + skrev Amos Jeffries: > > + #if INET6 > + #include > + #endif > + Isn't the above an contradiction? > > typedef struct IN_ADDR SIA; > + /* FIXME INET6 warning(error): 'struct in_addr' declared inside parameter > list */ > SQUIDCEXTERN int safe_inet_a

Re: cvsmerge help

2007-01-05 Thread Henrik Nordstrom
fre 2007-01-05 klockan 17:03 +0100 skrev Henrik Nordstrom: > fre 2007-01-05 klockan 15:58 +0100 skrev Henrik Nordstrom: > > lör 2007-01-06 klockan 03:27 +1300 skrev Amos Jeffries: > > > Um, > > > I seem to have a bit of a problem, or at least a worry I can't

Re: squid3-ipv6

2007-01-03 Thread Henrik Nordstrom
tor 2007-01-04 klockan 18:47 +1300 skrev Amos Jeffries: > I have signed up at sourceforge using the account name amosjeffries for > cvs access to the project branch. Access granted. > A bit about me for the record: > > I am CTO and NOC of a small hosting and development company based in Ne

Re: squid3-ipv6

2007-01-03 Thread Henrik Nordstrom
tor 2007-01-04 klockan 00:45 +1300 skrev Amos Jeffries: > Before I sign up at sourceforge and ask to join in the development I thought > it would be good to contact you developers and find out what the current > state actually is. Current state of Squid3-ipv6 is that there is no maintainer work

Re: proposal: change installed default squid.conf to fit best practice.

2006-12-30 Thread Henrik Nordstrom
lör 2006-12-30 klockan 16:19 +1100 skrev Robert Collins: > As we all recommend that users have a minimal config - just the actually > set settings, why dont we install that by default ? agreed. Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel

Re: unsigned/64bit counters?

2006-12-28 Thread Henrik Nordstrom
tor 2006-12-28 klockan 09:33 -0300 skrev Gonzalo Arana: > Having negative values for a counter does not seem right to me. None of the counters is negative in SNMP. All exposed as Counter32 which is unsigned 0 -> 2^32-1 where it wraps around. > > I'm fine with making the counter a long internally

Re: unsigned/64bit counters?

2006-12-27 Thread Henrik Nordstrom
ons 2006-12-27 klockan 16:20 -0300 skrev Gonzalo Arana: > I've come across select_loop counter wrap (currently it is an 'int' variable). which for most things isn't a problem.. counters do wrap. It's a problem when gauges wraps, but not really a problem when counters wrap unless something reads t

Re: Discontinuing the HTML FAQ?

2006-12-23 Thread Henrik Nordstrom
tor 2006-12-14 klockan 00:50 +0100 skrev Henrik Nordstrom: > ons 2006-12-13 klockan 20:57 +0100 skrev Guido Serassio: > > Hi, > > > > At 19.32 13/12/2006, Adrian Chadd wrote: > > >On Wed, Dec 13, 2006, Kinkie wrote: > > > > from users; I believe it

Re: [squid-users] Intercepting HTTPS with WCCPv2

2006-12-21 Thread Henrik Nordstrom
tor 2006-12-21 klockan 15:45 +0100 skrev Henrik Nordstrom: > Certificates can be signed with any name, but the browsers will complain > if the certificate does not contain the exact requested hostname or a > matching wildcard either in the DN or in a specific attribute for the > purp

Re: [squid-users] Intercepting HTTPS with WCCPv2

2006-12-21 Thread Henrik Nordstrom
tor 2006-12-21 klockan 10:09 +0800 skrev Adrian Chadd: > I could've sworn I've seen certificates signed with the IP address of the > server in the past, rather than the current practice of signing w/ website > name. Certificates can be signed with any name, but the browsers will complain if the c

Re: [squid-users] Intercepting HTTPS with WCCPv2

2006-12-20 Thread Henrik Nordstrom
ons 2006-12-20 klockan 14:22 +0800 skrev Adrian Chadd: > The trouble is breaking the end-to-end-ness. I think it'd be fine > if you ran Squid in TPROXY mode and had all the SSL connections redirected > and spoofed accordingly. Then both ends think they're talking directly > to each other. Not sur

Re: oprofile, callgraphs

2006-12-20 Thread Henrik Nordstrom
tis 2006-12-19 klockan 13:38 +0800 skrev Adrian Chadd: > Has anyone managed to extract callgraphs out of oprofile? Yes, from what I remember it worked for me when I tried in the summer while pulling together the epoll stuff.. Regards Henrik signature.asc Description: Detta är en digitalt signer

Re: [PATCH] Squid3 virtual-host httpd-accelerator fix

2006-12-20 Thread Henrik Nordstrom
tis 2006-12-19 klockan 00:39 +0100 skrev Henrik Nordstrom: > > This afternoon I was testing Squid3 (needed the ICAP-client functionality) > > and > > it wouldn't start as a virtual-host httpd-accelerator (the -V option on the > > command-line), saying "F

RE: ICAP Parental Control Extension, patch to 2.5 STABLE 10

2006-12-19 Thread Henrik Nordstrom
tis 2006-12-19 klockan 18:24 +0200 skrev Moshe Beeri: > Hi Adrian, > > I have trying to do the same to squid 2.6 stable X, but it seems that > The ICAP patch is not working fine, configure do not response to > --enable-icap-support Have you run the bootstrap.sh script after applying the patch?

Re: [PATCH] Squid3 virtual-host httpd-accelerator fix

2006-12-18 Thread Henrik Nordstrom
fre 2006-12-15 klockan 22:43 +0100 skrev Sebastien Raveau: > This afternoon I was testing Squid3 (needed the ICAP-client functionality) > and > it wouldn't start as a virtual-host httpd-accelerator (the -V option on the > command-line), saying "FATAL: No http_port specified" even though it real

Re: Squid 3 HEAD - ICAP Modifications

2006-12-14 Thread Henrik Nordstrom
tor 2006-12-14 klockan 09:34 -0700 skrev Alex Rousskov: > Squid customized log format uses substitutions, right? Not really, it uses parsed formatting templates, i.e a list of elements making up a log line. The error pages uses substitutions. Regards Henrik signature.asc Description: Detta är

Re: Discontinuing the HTML FAQ?

2006-12-13 Thread Henrik Nordstrom
ons 2006-12-13 klockan 20:57 +0100 skrev Guido Serassio: > Hi, > > At 19.32 13/12/2006, Adrian Chadd wrote: > >On Wed, Dec 13, 2006, Kinkie wrote: > > > from users; I believe it's time to declare it obsolete and discontinue > > > it. > > > >I'm up for that. > > +1 > +1 Preferably with a genera

Re: Choose cache peer based on Content-Length HTTP header

2006-12-13 Thread Henrik Nordstrom
ons 2006-12-13 klockan 18:34 +1300 skrev Craig Appleton: > Re implimentation maybe sends a HEAD request via the fast link to > determine the content-length header then proceeds to choose link for > GET request based on that. > Something like that. Maybe could work, but it's a very dangerous thing

Re: TCP_DENIED logging as part of HTTP authentication

2006-12-13 Thread Henrik Nordstrom
ons 2006-12-13 klockan 12:22 +0800 skrev Adrian Chadd: > What would be nice is if we could log a bunch of different TCP_DENIEDs, > covering > for example: Yes, the status should be expanded in very many situations. Today very many conditions is lumped together in very few log codes.. authenticat

2.6.STABLE6

2006-12-09 Thread Henrik Nordstrom
The normal Bugzilla session has finished, and Squid-2 CVS is now a release candidate for 2.6.STABLE6 in terms of code. Please give it a try if you can. If there is anything you feel should get fixed before 2.6.STABLE6 please speak up now. You still have a few hours while release notes etc is prepa

Re: wccpv2 and multiple routers?

2006-12-02 Thread Henrik Nordstrom
sön 2006-12-03 klockan 02:15 +0800 skrev Adrian Chadd: > I've been staring at bug 1584 today to try and understand what the problem is. > Henrik, could you quickly explain what you remember from the bug and why > having one socket for each WCCPv2 router would fix things? What would be > different?

2.6.STABLE6 coming up

2006-11-29 Thread Henrik Nordstrom
starting to plan for a 2.6.STABLE6 release shortly, mainly due to Bug #1805, #1817 and some of the cosmetic cleanups.. so please be restrictive with changes for the next week or so if there there is the slightest doubt on the quality of the change. Regards Henrik signature.asc Description: Dett

Re: authentication and origin servers

2006-11-24 Thread Henrik Nordstrom
fre 2006-11-24 klockan 09:12 -0500 skrev Jeremy Hall: > If I have configured authentication for both ntlm and basic so that > legacy browsers that do not support ntlm may use my proxy, how then do I > allow these users to connect to a site that uses basic authentication > for their own purposes?

Re: mod_auth_kerb and Squid proxy

2006-11-13 Thread Henrik Nordstrom
mån 2006-11-13 klockan 09:26 +0100 skrev Daniel Kouril: > this your mail got too burried too deeply in my mailbox, sorry for not > responding earlier. If you're still interested in the SPNEGO/Basic (krb5 > passwords verification) support, I'd be happy to contribute a code for Squid. > However, I d

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Henrik Nordstrom
tor 2006-11-09 klockan 12:37 +0200 skrev Tsantilas Christos: > + if (icap->chunk_size < 0 ) > + icap->flags.reqmod_http_entity_eof = 1; Shouldn't that be <= 0 or maybe even == 0? Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Henrik Nordstrom
tor 2006-11-09 klockan 12:39 +0100 skrev Christophe Boyanique: > > eof in ICAP is that 0 chunk... so something is not right here in the > > ICAP patch. > > The problem is that this 0\r\n arrives after the first read of the 27 > first bytes. Which should not be a problem in therms of ICAP. It's

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Henrik Nordstrom
ons 2006-11-08 klockan 16:26 +0100 skrev Christophe Boyanique: > We have read enough data (27 bytes) to have all the body (as > content-length is 27), so we set the eof flag. > > if (!icap->flags.reqmod_http_entity_eof) > commSetSelect(fd, COMM_SELECT_READ, icapReqModReadHttpBody, >

Re: release checklist?

2006-11-06 Thread Henrik Nordstrom
mån 2006-11-06 klockan 12:29 +0800 skrev Adrian Chadd: > Ok, I'll roll the next squid-3 pre-release. > > Henrik, could you jot down what normally needs to happen for a release or > pre-release? 1. A feeling that the tree is in good shape. 2. ChangeLog and Release notes updated 3. Tagged and r

Re: [squid-users] Re: ncsa_auth.c:143: undefined reference to `crypt'

2006-11-05 Thread Henrik Nordstrom
sön 2006-11-05 klockan 10:36 +0100 skrev Guido Serassio: > Henrik: in the nt CVS branch there is already a > GPL version of encrypt.c used when building with > Visual Studio, if you agree, I can add it in the > lib directory and build when needed like strsep.c. I prefer keeping encryption of o

Re: Not getting squid-cvs messages

2006-11-03 Thread Henrik Nordstrom
tor 2006-11-02 klockan 12:59 -0700 skrev Alex Rousskov: > Do you know what can be causing this? If not, who do you recommend to > ask? Figured it out. The SF devel messages is currently sent via the [EMAIL PROTECTED] mailing list. This changed 2006/05/20 probably due to some issues with the SF li

Re: cvs commit: squid/src stat.c tools.c

2006-11-01 Thread Henrik Nordstrom
ons 2006-11-01 klockan 13:58 -0700 skrev Duane Wessels: > struct kb_t uses squid_off_t, which might be signed. That means that > kb_t.kb could overflow and become negative in kb_incr(). If we detect > that it is negative, add increasing powers of two until the value becomes > positive ag

Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-30 Thread Henrik Nordstrom
mån 2006-10-30 klockan 20:41 +0800 skrev Adrian Chadd: > Kqueue makes it easier (in the traditional UNIX IO method). > It tells you how much data is available before you read/write. :) Yes, but the copy to/from userspace is still unavoidable which is the biggest difference. Actually knowing how m

Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-30 Thread Henrik Nordstrom
mån 2006-10-30 klockan 14:16 +0800 skrev Adrian Chadd: > (When this is done you'll be rather scared at how much of a boost > overlapped IO will give you. Its acually frightening to watch > a Win2k or win2k3 server decimate a Linux/FreeBSD machine due to > overlapped IO. Ouch.) Yes, the overlapped

Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-30 Thread Henrik Nordstrom
mån 2006-10-30 klockan 16:07 +1100 skrev Robert Collins: > On Sat, 2006-10-28 at 02:51 +0200, Henrik Nordstrom wrote: > > WSAAsyncSelect() > ... > > probably better to go straight to overlapped io, which is pretty nice. It is, but not a good fit for 2.6 buffer management.. WS

Squid-2.6 comm_select_simple.c added

2006-10-29 Thread Henrik Nordstrom
Based on the experiences from rewriting comm_select_win32.c and reading SUSv3/IEEE1003.1 2004 edition I now "wrote" yet another select implementation for 2.6: comm_select_simple. This should work on any system implementing select() per the current POSIX specs, including Windows and a number of othe

Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-28 Thread Henrik Nordstrom
lör 2006-10-28 klockan 18:53 +0200 skrev Guido Serassio: > With this change, things seems to go better: > -for (fd = 0; fd < Biggest_FD; fd++) { > +for (fd = 0; fd <= Biggest_FD; fd++) { Looks good. Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel

Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-28 Thread Henrik Nordstrom
lör 2006-10-28 klockan 12:41 +0200 skrev Guido Serassio: > Great !!! :-) > > Basically it seems to work. > But it give to me a strange feeling when loading some complex page > with many embedded objects, like images, style sheets or .js objects: > The browser doesn't complete the page load for m

Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-27 Thread Henrik Nordstrom
tis 2006-10-24 klockan 08:24 +0200 skrev Guido Serassio: > Sure, but some oddity comes directly from Microsoft "features" :-) > Windows select() is only similar to the Unix one Sorted out the differences and whipped up a new comm_select_win32.c file (untested). Please check if it works.

RE: 2.6.STABLE5 approaching, help needed to test patches

2006-10-23 Thread Henrik Nordstrom
tis 2006-10-24 klockan 08:04 +0800 skrev Steven Wilton: > I'll commit it, as there's no reason I can give for the second crash unless > something else was changed. If you see improvements in your tests, and that you are confident it won't break other configurations using hash assignment then it's

Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

2006-10-23 Thread Henrik Nordstrom
Hi Guido, I think it's about time comm_select_win32.c is rewritten to use the new commloop framework like the other I/O loops. Probably best to start from scratch using current comm_select.c as basis (only about 100 lines of code in total, about 70 unique for select, quite a bit down from the prev

Re: 2.6.STABLE5 approaching, help needed to test patches

2006-10-23 Thread Henrik Nordstrom
mån 2006-10-23 klockan 00:00 +0200 skrev Henrik Nordstrom: > 2.6.STABLE5 is approaching. Estimated release date next weekend. > > Part of this I'd like some help to verify the patch for Bug #1779 (aka > the commloops-2_6 branch) before that. This patch attempts to fix de

2.6.STABLE5 approaching, help needed to test patches

2006-10-22 Thread Henrik Nordstrom
2.6.STABLE5 is approaching. Estimated release date next weekend. Part of this I'd like some help to verify the patch for Bug #1779 (aka the commloops-2_6 branch) before that. This patch attempts to fix delay pools again, providing fairness between multiple connections fighting for bandwidth. This

That reference counting again.. aborted PUT/POST broken.

2006-10-22 Thread Henrik Nordstrom
Been digging a bit to try to understand the BodyReader and abort conditions, but it's scary. Bug #1806 (and it's merged spinoff 1807). Something about this design smells broken, apart from it not working proper (currently either stalling or asserting depending on the conditions). Who should real

Re: Large files with Squid 2.5S14 and IE6

2006-10-18 Thread Henrik Nordstrom
ons 2006-10-18 klockan 18:32 +0200 skrev Tsachi: > Is there a problem to download large file ( > 2 GB) from IE 6 while > the traffic is being intercepted by squid ? > > I know squid 2.5 was enhanced to support large files some time ago. Yes.. 2.5.STABLE9 I think. or maybe it was STABLE10. > Whe

Re: hi, nice to meet you

2006-10-16 Thread Henrik Nordstrom
mån 2006-10-16 klockan 13:00 +0800 skrev 树新 郑: > I've been studying the squid codes for about six moths. Oh, yes, this is also > my job to use squid for accelerating the web site. I'm now completing the > "Transfer-Encoding" of HTTP1.1 which is used to help supporting HTTP-ZIP > transfering(the bac

Re: When you'll finish the Squid Programmers Guide?

2006-10-12 Thread Henrik Nordstrom
ons 2006-10-11 klockan 13:14 +0400 skrev Волков Александр: > When you'll finish some chapters of the Squid Programmers Guide? > http://www.squid-cache.org/Doc/Prog-Guide/ Whenever someone feels an urge to write those chapters. Don't hold your breath waiting. Regards Henrik signature.asc Descri

Re: accuracy of access.log fields

2006-10-06 Thread Henrik Nordstrom
fre 2006-10-06 klockan 17:03 +0400 skrev Волков Александр: > I'm a post-graduate student investigating web traffic. > I need to know, which moment of time does field "duration" > means. > In documentation I've found next: > "duration It's the time from where Squid have read the request headers, t

Re: proposal to remove port 563 from default ACLs

2006-10-03 Thread Henrik Nordstrom
tis 2006-10-03 klockan 00:35 +0200 skrev Henrik Nordstrom: > I have actually used it in in real life. Was a some vendor support forum > NNTP server requiring authentication and encryption to protect the > passwords. But I have no problem with removing the port from the > sugge

Re: proposal to remove port 563 from default ACLs

2006-10-02 Thread Henrik Nordstrom
fre 2006-09-29 klockan 16:07 -0600 skrev Duane Wessels: > Our default ACL configuration allows CONNECT requests to port 563, > which is for NNTP over SSL. Assuming that nobody really uses NNTP > over SSL, especially through an HTTP proxy, I suggest that we > remove it from the defaults. I have ac

Re: Squid-3 roadmap change

2006-10-01 Thread Henrik Nordstrom
ons 2006-09-27 klockan 17:44 +0800 skrev Adrian Chadd: > I think its worth putting it and only it into Squid-3. Can you come up with > a diff or two implementing the required changes for review? Ok. Lets do this in two phases 1. Make our server side HTTP/1.1. This is the simpler of the two, requ

Re: squid-2.5 filtering?

2006-09-29 Thread Henrik Nordstrom
fre 2006-09-29 klockan 22:48 +0800 skrev Adrian Chadd: > Has anyone looked at this? > > http://sites.inka.de/~bigred/devel/squid-filter.html > > Its some code to support inline content modification for 2.4 and 2.5.. I looked at it some many years ago, but don't remember much. It's linked from de

Re: Squid-3 roadmap change

2006-09-27 Thread Henrik Nordstrom
>> 1. Add minimal HTTP/1.1 support as a requirement for 3.0.STABLE. It's >> seriously starting to be a bigh hinderance for Squid being HTTP/1.0. >> At minimum we need chunked encoding and expect 100. > I dont agree - at the moment noone is developing or focusing this, and > we dont know how big an

Squid-3 roadmap change

2006-09-26 Thread Henrik Nordstrom
I propose the following change in the Squid-3 roadmap 1. Add minimal HTTP/1.1 support as a requirement for 3.0.STABLE. It's seriously starting to be a bigh hinderance for Squid being HTTP/1.0. At minimum we need chunked encoding and expect 100. 2. Maybe kick the connection pinning (and dependent

RE: one more squid-2.6 rel?

2006-09-21 Thread Henrik Nordstrom
tor 2006-09-21 klockan 07:57 +0800 skrev Steven Wilton: > OK, here it is. It compiles cleanly now, and worked fine before I had to > merge it with the weight support patch that was applied 3 days ago. I'm > going to upgrade our caches to the latest 2.6 snapshot + this patch and test > with both

Re: one more squid-2.6 rel?

2006-09-20 Thread Henrik Nordstrom
ons 2006-09-20 klockan 20:36 +0200 skrev Guido Serassio: > > I like to add one more thing before: Windows overlapped I/O support for COSS. > I'm starting with tests, so if all is good, I should merge it in the > incoming weekend. Any changes outside Windows? If so send them for review first. R

Re: COSS problem

2006-09-20 Thread Henrik Nordstrom
ons 2006-09-20 klockan 21:24 +0200 skrev Guido Serassio: > I think that it could be better to specify only the path of the > directory containing the stripe, and squid should be add > automatically the "/stripe" (as example) suffix to the path for the > stripe file if the configured path is a f

Re: one more squid-2.6 rel?

2006-09-20 Thread Henrik Nordstrom
ons 2006-09-20 klockan 09:02 +0800 skrev Adrian Chadd: > What do you all think about another squid-2.6 release? A few bugfixes > have gone into Squid-2.6. It'd also be good to say "this stable release > has stable COSS support." Yes, there will be one or two more 2.6 releases when sufficient amou

RE: one more squid-2.6 rel?

2006-09-20 Thread Henrik Nordstrom
ons 2006-09-20 klockan 09:13 +0800 skrev Steven Wilton: > I'm about to get MASK assignment working in wccp2. I'd like to see that in > the next release if possible. Cool. If it's in the next, or the release after that depends on when you finish and how complex the change is to review.. But it wi

Re: more profiling

2006-09-19 Thread Henrik Nordstrom
tis 2006-09-19 klockan 21:10 +0300 skrev Andres Kroonmaa: > Because gprof call graph is determinate, but profile > information is statistical approximation. For vast > majority of cases its good enough. For eg. in this > case it seems that gprof wasn't that much off afterall > as Adrian found a bu

Re: squid-3 comm reworking, pass 1

2006-09-18 Thread Henrik Nordstrom
On Mon, 2006-09-18 at 15:18 +0800, Adrian Chadd wrote: > * I'm going to sit down with Robert and think up a replacement > method for doing the deferred reads. I don't believe the > deferred reads logic belongs anywhere near the comm layer. > I believe it should be something done at the Store

Re: nt squid/src/fs/coss aio_win32.c,1.1.2.3,1.1.2.4 store_dir_coss.c,1.26.8.15,1.26.8.16 store_io_coss.c,1.15.8.15,1.15.8.16

2006-09-17 Thread Henrik Nordstrom
sön 2006-09-17 klockan 19:47 +0800 skrev Adrian Chadd: > > My goal is to test if it works fine, and after commit into 2.6, > > before STABLE 4. > > Ok. Henrik, is this going to be ok? COSS and the Windows port is both considered experimental and not frozen. The rest is feature frozen, and cha

Re: 3.0 branding - release plans - etc

2006-09-15 Thread Henrik Nordstrom
fre 2006-09-15 klockan 20:37 +1000 skrev Robert Collins: > I think what we have right now is feature complete. So I think we are > both happy with this right now. Ok. So we do accept there is feature regression compared to 2.6 then. Good. > Well, I dont know where the line should be drawn. But w

Re: 3.0 branding - release plans - etc

2006-09-15 Thread Henrik Nordstrom
sön 2006-09-10 klockan 21:52 +1000 skrev Robert Collins: > I think 3.0 STABLE1 when release should be: > * more functional than 2.6 STABLEX - there should be no regressions in > functionality. I disagree. It's more important that we get 3.0.STABLE out bugfree than feature complete. In my view

Re: more profiling

2006-09-15 Thread Henrik Nordstrom
fre 2006-09-15 klockan 16:25 +0800 skrev Adrian Chadd: > I've done some more profiling. Same test setup, current squid3 source. > > perfmon output: > > > Samples Self % Total % Function > >18915 26.09% 2

Re: 3.0 branding - release plans - etc

2006-09-14 Thread Henrik Nordstrom
ons 2006-09-13 klockan 19:43 +1000 skrev Robert Collins: > Hmm, IOW, how does the list membership feel about delegating 'get us a > good wiki theme using the undeployed artwork' to me ? (I'm not asking > for carte blanch, just to minimise round-trips). Sure. If you want opinions please ask, other

Re: bug 1592

2006-09-07 Thread Henrik Nordstrom
tor 2006-09-07 klockan 23:01 +0800 skrev Adrian Chadd: > > What my stuff does is to forcibly call the abort handlers - which will > > unwind them top down. It kills the ftpstate, then it kills the forward > > state through the abort handler. This seems to DTRT in the error case. > > .. it does t

<    8   9   10   11   12   13   14   15   16   17   >