new website issues

2007-02-04 Thread Adrian Chadd
(for those of you who haven't seen it, the new website is taking shape @ http://new.squid-cache.org/ . The source for the website is in Squid CVS under www2 in case anyone feels like submitting me diffs.) The issue some people have seen with the splash image sitting on top of the text has to do

Re: COMM_SELECT_WRITE or not

2007-02-05 Thread Adrian Chadd
On Mon, Feb 05, 2007, Alex Rousskov wrote: Hi there, While applying the BodyPipe changes to ftp.cc and http.cc, I would like to move lots of common code into ServerStateData, the class that both FTP and HTTP servers already share. One of the differences I noticed is how FTP and HTTP

Re: new website issues

2007-02-08 Thread Adrian Chadd
On Thu, Feb 08, 2007, Amos Jeffries wrote: All right. I was hoping you would be fine with this by yourself ;-) Hell no. I'm not a web developer. I cringe at the concept of non-determinstic behaviour between platforms. Aiee. Just gave it a quick once-over. It looks good enough that its safe to

[EMAIL PROTECTED]: [squid-users] quota support available]

2007-02-08 Thread Adrian Chadd
- Forwarded message from Robert Chan [EMAIL PROTECTED] - To: squid-users@squid-cache.org From: Robert Chan [EMAIL PROTECTED] Date: Fri, 9 Feb 2007 01:19:17 +0900 X-Mailer: Apple Mail (2.752.3) Subject: [squid-users] quota support available Hi folks, I recently contemplated the idea of

storework branch work

2007-02-11 Thread Adrian Chadd
I've created a SF branch called 'storework'. I've started ripping out the swapin/swapout related code. This'll make it much easier to seperate the reply body and headers/status in the memory store. I'll start working on the data separation in the next week or so. We can then start working on

more website work

2007-02-12 Thread Adrian Chadd
I've just modified Duane's html generating scripts (which are in ~adrian/pages-db for now) to spit out stuff into the new website directory. http://new.squid-cache.org/ now has working support, related software/writings and logfile script pages. Adrian

Re: vary stuff

2007-02-12 Thread Adrian Chadd
On Mon, Feb 12, 2007, Henrik Nordstrom wrote: Would you mind if the Vary support was culled out of the storage work branch until I've tidied up the storage manager layer somewhat? No problem. It's not really that tricky thing to support. The tricky part was getting it into Squid-2 without

httpProcessReplyHeader question

2007-02-13 Thread Adrian Chadd
There's this in httpProcessReplyHeader: hdr_size = headersEnd(httpState-reply_hdr.buf, hdr_len); if (hdr_size) hdr_len = hdr_size; if (hdr_len Config.maxReplyHeaderSize) { debug(11, 1) (httpProcessReplyHeader: Too large reply header\n); /*

Re: Squid3 BodyReader changes

2007-02-14 Thread Adrian Chadd
On Wed, Feb 14, 2007, Alex Rousskov wrote: Hi there, I have committed the BodyPipe changes described below (with a few modifications) to the squid3-icap branch. Using the new BodyPipe class, I was able to eliminate many ICAP-related classes and code complexities, not to mention a few

storework changes

2007-02-14 Thread Adrian Chadd
I've committed the beginnings of the removal of reply status/headers from the store memory data. It passes the works for me and datacomm-1 polygraph test but there's bound to be a whole lot of stuff I've missed in this pass, like all of the non-HTTP clients at the moment. I'll work on tidying up

Re: more storework changes

2007-02-16 Thread Adrian Chadd
than later. (Not that tidying up the client-side code isn't a -bad- thing..) .. obviously meaning not that is a bad thing.. Adrian

cache logic ripped!

2007-02-20 Thread Adrian Chadd
I've started tearing out the caching logic in storework-cutaway in SF. I'm pretty certain as it stands objects are cached in memory but now never actually used again by subsequent requests. The code path that gets from the redirector/ACL checking logic through to clientCacheHit() and

Re: cache logic ripped!

2007-02-20 Thread Adrian Chadd
On Tue, Feb 20, 2007, Adrian Chadd wrote: I won't be able to work on this for very long (university starts up again next week) so could someone please give me a hand? I've just ripped out clientCacheHit() and the Internal/Special object path. The code in storework-cutaway now compiles

storework progression

2007-02-23 Thread Adrian Chadd
Storework is now missing pretty much all of the HTTP related caching code. I'm noticing some weird browsing issues where requests get 'lost' and never complete for some reason, which I'm not suprised at at all. Is anyone up for testing it out and helping me sort out whatever bugs are in 'ere?

Re: locked out by partial cvsmerge

2007-02-23 Thread Adrian Chadd
On Fri, Feb 23, 2007, Alex Rousskov wrote: Do we have command-line access to SourceForge CVS so that the lock file can be manually removed? What should I do to unlock myself? Shell.sourceforge.net is currently busted for some reason. I wonder whats going on. adrian

storework/website updates

2007-02-25 Thread Adrian Chadd
storework: * I've committed the first reasonably big API change, splitting off the HttpReply from the reply body data. I've started changing over client_side to use it but its going to take some time to be sure its done right. I definitely think this API is cleaner than how it was in the

Re: Improving headersEnd call

2007-02-25 Thread Adrian Chadd
On Sun, Feb 25, 2007, Francisco Gimeno wrote: Hello again, as I have seen with oprofile (thanks to Adrian), the most time-consuming function is headersEnd. I did a little debug on that, and I have found that it's called a lot of times. Yeah its horrible. Try comparing squid-2-HEAD's CPU

Re: Improving headersEnd call

2007-02-25 Thread Adrian Chadd
HEnrik might need to add you in as a squid sourceforget project member. Or, you could try checkout -r (read only checkout) - or, if really stuck, use the sourceforge CVS pserver setup. Adrian On Mon, Feb 26, 2007, Francisco Gimeno wrote: How can I get the storework branch? I have tried with

[EMAIL PROTECTED]: Re: [squid-users] proxy auth user name in custom error messages]

2007-02-26 Thread Adrian Chadd
/20061207) To: Adrian Chadd [EMAIL PROTECTED] Subject: Re: [squid-users] proxy auth user name in custom error messages Adrian Chadd said the following on 26/02/2007 6:35 PM: On Mon, Feb 26, 2007, Derek Evans wrote: Probably been forgotten - most of us work on Squid in our spare time and we haven't

Re: squid3 comments

2007-02-27 Thread Adrian Chadd
On Tue, Feb 27, 2007, Tsantilas Christos wrote: Hi all, I was looking in squid3 code last days. I read again Adrian's mails in which he complained about squid3 speed, and cpu usage. Looking in the code there are a number of code-pieces which can improved. An example is the call of

Re: squid3 comments

2007-02-27 Thread Adrian Chadd
On Tue, Feb 27, 2007, Tsantilas Christos wrote: Ok Adrian, I am watching the mailing list and I know what you want to do. I believe too that some parts of squid needs redesign, if the project wants to survive. Squid is an old and huge project. And you must continue your work because you

Re: squid3 comments

2007-02-27 Thread Adrian Chadd
On Tue, Feb 27, 2007, Jeremy Hall wrote: Let me second this. When you start asking questions about squid3 and its stability, you get anything from it's stable to not for prime time and when you ask questions about using it in a production environment, most shy away from that. * noone's

Re: squid3 comments

2007-02-27 Thread Adrian Chadd
On Tue, Feb 27, 2007, Jeremy Hall wrote: I think we are on the same page for end-term goals, but what would you recommend I do for today? Squid-3 is still a moving target. So are you saying those of us that need icap need to just wait? There's two parts. One: Alex is working on improvements

Re: squid3 comments

2007-02-27 Thread Adrian Chadd
Perhaps the storework branch will become a reference implementation to speedup Squid3 when the time comes :-). I would prefer that folks spent more energy on Squid 3.0 to make it stable faster (and only then optimize Squid 3.1), but I am not going to call every project that is not helping me

Re: squid3 comments

2007-02-27 Thread Adrian Chadd
On Tue, Feb 27, 2007, Alex Rousskov wrote: On Tue, 2007-02-27 at 22:25 +0800, Adrian Chadd wrote: On Tue, Feb 27, 2007, Jeremy Hall wrote: Let me second this. When you start asking questions about squid3 and its stability, you get anything from it's stable to not for prime time

Re: locked out by partial cvsmerge

2007-02-27 Thread Adrian Chadd
On Tue, Feb 27, 2007, Alex Rousskov wrote: On Sat, 2007-02-24 at 08:43 +0100, Henrik Nordstrom wrote: These locks gets cleared automatically after a while and the lock is now gone. Thanks for the explanation and snipped details. Unfortunately, it looks like the problem is back and has

Re: squid3 comments

2007-02-28 Thread Adrian Chadd
On Thu, Mar 01, 2007, Robert Collins wrote: On Wed, 2007-02-28 at 17:54 -0700, Alex Rousskov wrote: I think we should start from stating the goal of these changes in Squid 3.0. If they are for performance improvement, I would suggest waiting until v3.1 or until performance tests

default Methods?

2007-02-28 Thread Adrian Chadd
Hi, I've again been bitten by the by default Squid doesn't support methods for application X where X is almost always Subversion. What do people think about: * adding in the Subversion methods in by default? * as a more long-term goal, adding in an option that allows Squid to handle any

knowledge base stuff

2007-02-28 Thread Adrian Chadd
Something I've been meaning to do for a while is assemble a knowledge base of common specific problems. Kind of like the FAQ, but less how do I do this? and more It broke like X, how do I fix it? The first article: http://wiki.squid-cache.org/KnowledgeBase/NoNTLMGroupAuth It might get merged

Re: knowledge base stuff

2007-03-01 Thread Adrian Chadd
On Thu, Mar 01, 2007, kinkie wrote: Something I've been meaning to do for a while is assemble a knowledge base of common specific problems. Kind of like the FAQ, but less how do I do this? and more It broke like X, how do I fix it? The first article:

Re: knowledge base stuff

2007-03-01 Thread Adrian Chadd
On Thu, Mar 01, 2007, kinkie wrote: Not that I know of; that would reqire a full-blown CMS engine. I'll do some research, but I'm skeptic. It's probably also overkill: the current policy (write-access requires easily-given approval), together with the wiki's versioning capabilities (to

Squid Cafepress store

2007-03-01 Thread Adrian Chadd
Just a sneak preview of the cafepress store: http://www.cafepress.com/squidproxy There's a golf shirt in there at the moment. Let me know if you'd like any of the other Cafepress items to be Squided. Adrian

Re: default Methods?

2007-03-01 Thread Adrian Chadd
On Thu, Mar 01, 2007, Henrik Nordstrom wrote: * adding in the Subversion methods in by default? Yes. Do it now and I'll get it shipped in 2.6.STABLE10. It probably won't happen until late weekend. The university semester has started up again and I'm possibly hacking squid on borrowed time

Re: new website issues

2007-03-05 Thread Adrian Chadd
On Mon, Mar 05, 2007, [EMAIL PROTECTED] wrote: Good morning and I hope you had a good weekend. Ta :) I have the first of my standards-compliance diffs for you. It's online at http://www.treenet.co.nz/test/squid3/www2/standards.diff This one covers the introduction, documentation, and some

Re: Squid-2.6.STABLE11 in the pipeline

2007-03-12 Thread Adrian Chadd
On Tue, Mar 13, 2007, Henrik Nordstrom wrote: - kqueue under load Thats easy to test. What you need: * a freebsd box to run squid * a random UNIX box to run 'ab' (apachebench) To replicate the errors I saw in earlier versions, which led to the discussion about the weird kqueue behaviour in

Re: A few patches

2007-03-12 Thread Adrian Chadd
On Tue, Mar 13, 2007, Steven wrote: /* Parse the request line */ ret = httpMsgParseRequestLine(hmsg); -if (ret == -1) - return parseHttpRequestAbort(conn, error:invalid-request); +if (ret == -1) { + /* If this is a transparent request that has been natted, try

Re: A few patches

2007-03-13 Thread Adrian Chadd
On Tue, Mar 13, 2007, Steven Wilton wrote: Good point. The only problem is that (under Linux at least) we can't find out the original destination port (ie if traffic destined for port 80 is redirected to port 3128). Would you suggest this as a configuration option on a per-port basis? (ie

Re: [squid-users] Another HTTP 1.1 Question

2007-03-14 Thread Adrian Chadd
On Wed, Mar 14, 2007, Henrik Nordstrom wrote: tis 2007-03-13 klockan 11:57 +0800 skrev Adrian Chadd: Are ECN/Window Scaling options which can be fiddled via syscalls per socket FD? Probably not for ECN, but it looks like the window scaling can be influenced by the TCP_WINDOW_CLAMP

Re: Squid Development Team

2007-03-16 Thread Adrian Chadd
On Wed, Mar 14, 2007, Suman Mukherjee wrote: Hi I, Suman Mukherjee, want to join squid development team. After completing my masters from IISc I have worked for last 8 yrs. in IT industry on different domains. At present I am working on web filtering using squid, icap and other staff.

Re: knowledge base stuff

2007-03-16 Thread Adrian Chadd
On Thu, Mar 08, 2007, [EMAIL PROTECTED] wrote: I occurs to me that any kind of KB needs real-life problems and solution, must be user-driven, and have some form of unique problem identification. It seems to me that we already have a form of this in the squid-users mailing list. But that one

Requests, replies, HTTP messages.

2007-03-17 Thread Adrian Chadd
http://wiki.squid-cache.org/RequestQueues Just thinking about how to handle processing HTTP requests, replies and HTTP messages after my initial storework modifications. This stuff would lead itself to look like clientstreams but with all the messages abstracted out. It'd make it much easier to

Re: Requests, replies, HTTP messages.

2007-03-19 Thread Adrian Chadd
On Mon, Mar 19, 2007, Alex Rousskov wrote: On Sat, 2007-03-17 at 19:33 +0800, Adrian Chadd wrote: http://wiki.squid-cache.org/RequestQueues Just thinking about how to handle processing HTTP requests, replies and HTTP messages after my initial storework modifications. This stuff would

importing logfiles into MySQL

2007-03-21 Thread Adrian Chadd
There's tens of ways of importing Squid logfiles into MySQL (mostly as part of a web utility to analyse/browse/report on Squid use.) I'm writing one for a client and I figure the best thing we can do is include a Squid format MySQL database schema and logfile parser which others can then write

Re: Authentication: Time and Monetary contributions

2007-04-02 Thread Adrian Chadd
On Sat, Mar 31, 2007, Stefan Adams wrote: Hello squid developers! I have been devoting a lot of time to authentication within the proxy. However, every solution I provide to my customers is unacceptable. They simply get prompted too often or something doesn't work at all. Erk! Hey, someone

some help with the website please

2007-04-04 Thread Adrian Chadd
I hate to ask for help when I said I'd do it, but I'm running very short on spare time at the moment and I'd appreciate some help in finishing off the new.squid-cache.org website so its ready to be made live. Someone with server access: help, please? Adrian

Re: some help with the website please

2007-04-04 Thread Adrian Chadd
On Wed, Apr 04, 2007, Amos Jeffries wrote: Adrian Chadd wrote: I hate to ask for help when I said I'd do it, but I'm running very short on spare time at the moment and I'd appreciate some help in finishing off the new.squid-cache.org website so its ready to be made live. Someone with server

Re: IPv6 developments for HEAD

2007-04-10 Thread Adrian Chadd
On Wed, Apr 11, 2007, [EMAIL PROTECTED] wrote: On Sat, 2007-04-07 at 17:24 +1200, Amos Jeffries wrote: Attached are two patches which constitute part of the core developments for protocol-independent handling of IP addresses in squid3. In your opinion, should these be committed to Squid

Re: IPv6 developments for HEAD

2007-04-10 Thread Adrian Chadd
On Wed, Apr 11, 2007, [EMAIL PROTECTED] wrote: Trouble is: squid-3 should've been released a long, long time ago and users should've been moved over to it. People kept commiting stuff to Squid-3 in the hopes of tidying stuff up and people (somewhat) forgot that fixing the bugs and

Re: IPv6 developments for HEAD

2007-04-10 Thread Adrian Chadd
On Tue, Apr 10, 2007, Alex Rousskov wrote: The update to rfc1035 is a reversal of previous changes which is again stabilising that area a little more. This is not my area. Any objections from others to committing the rfc1035 part of the patch? None from me. (My vote is always go ahead

Re: IPv6 developments for HEAD

2007-04-10 Thread Adrian Chadd
On Sun, Apr 08, 2007, Amos Jeffries wrote: Sigh. For some weird reason my test machine built squid with the previous patches despite a missing #include. Here is an updated patch set, tested on two machines. Just re-read the diff to see what you touched. A few things: * when doing the

Re: some help with the website please

2007-04-12 Thread Adrian Chadd
On Thu, Apr 12, 2007, Duane Wessels wrote: you can coordinate with me directly and I'll get it done. All thats left is to fixup the snapshot scripts in 2, 2.6 and 3 CVS to take a distribution path (defaulting to what it is now) and then change Henrik's nightly snapshot-building scripts to use

Re: Style of commit messages

2007-04-16 Thread Adrian Chadd
On Mon, Apr 16, 2007, Henrik Nordstrom wrote: Please follow the following style in your commit messages First if the primary author of the patch isn't you then have a line indicating the autor of the change Author: Name email Next a short summary of the change. Approximately one line.

Re: Interested in subscribing

2007-04-17 Thread Adrian Chadd
On Tue, Apr 17, 2007, Anand Lakshminath wrote: Hi All, I am new to the SQUID world and am interested in learning and contributing. I have over 10 years experience developing systems software. For the immediate near term, I am planning to either configure SQUID if it is possible to rate

Re: debug statements to debugs statements

2007-04-18 Thread Adrian Chadd
On Wed, Apr 18, 2007, Tsantilas Christos wrote: Hi all, Here is a perl script which can be used to convert debug statements to new debugs statements :-) . It mostly works or just do standard errors. It does not formats the output. I think the astyle can do the rest work. Does not convert

Re: debug statements to debugs statements

2007-04-22 Thread Adrian Chadd
On Sun, Apr 22, 2007, Tsantilas Christos wrote: Adrian Chadd wrote: There's now an implied \n (ie, eol) in the debug path; your patch has \n's in there. Oops! I really did not see it (@#$%^[EMAIL PROTECTED]@#)! I will try to remove it.. But I think

Re: Debug-Sections for Release

2007-04-22 Thread Adrian Chadd
On Sun, Apr 22, 2007, Amos Jeffries wrote: Amos Jeffries wrote: This is a cleanup of the published Debug Sections in Squid 3.0. Source files are only altered in the commented DEBUG: areas. All changes are to better prepare these sections for automatic processing. Some are to bring code

Re: OS builds

2007-05-01 Thread Adrian Chadd
On Wed, May 02, 2007, Robert Collins wrote: On Wed, 2007-05-02 at 14:05 +1200, [EMAIL PROTECTED] wrote: Without knowing a lot about the sourceforge compile farm it seems to me we could possible leverage that. Has anyone looked at it before? Not anymore: As of 2007-02-08,

Technical contact at Packeteer?

2007-05-05 Thread Adrian Chadd
G'day, Does anyone here have a technical contact inside Packeteer, or the remnants of Tacit Networks? Thanks, Adrian

Re: new.squid-cache.org updated

2007-05-06 Thread Adrian Chadd
On Sun, May 06, 2007, Amos Jeffries wrote: Ah, you have changed the apache magic needed to display the site. Could you send me the new apache config needed please? For now all I can do is this patch which gets the main template back to xhtml standard compliance. Check out

Re: string replacement upgrade

2007-05-07 Thread Adrian Chadd
On Tue, May 08, 2007, Amos Jeffries wrote: To allow for easy future updates to the string handling within squid we adopt the std::string API as the basis for string operations. Cool! Thanks for doing this. I wonder what the benchmarks will look like. Adrian

squid-2.6.stable12 and NTLM errors?

2007-05-08 Thread Adrian Chadd
Hiya, Here's a squid-2.6.stable12 speaking to a slightly old samba 3 install, during peaks loads this is happening: May 8 13:06:08 prowler squid[2880]: [ID 702911 daemon.notice] authenticateNTLMHandleReply: Error validating user via

squidproxy.wordpress.com

2007-05-10 Thread Adrian Chadd
I've created a Wordpress blog - http://squidproxy.wordpress.com/. If you'd like an account to post then just create a wordpress account and let me know the account email address. I'll link to this blog off the new website. We can then put in various developments and whatnot in it. Adrian

cf.data.pre changes

2007-05-14 Thread Adrian Chadd
I think it'd be a good idea to include a one-line summary for each configuration option; so the option summary can appear in the index/contents for Henrik and my HTML-ised output. http://www.squid-cache.org/Versions/v2/HEAD/cfgman/ I also think it might be a good idea to include a default file

squid3_logdaemon work (round 1) complete

2007-05-16 Thread Adrian Chadd
I've completed the first round logfile code shifting. * use stdio for logfile writing; isn't going to be worse than how it was done before (still sync) * write LogFile class with basic interfaces * convert code to use LogFile methods * break out syslog and blocking into LogFileSyslog and

TPROXY - fully transparent proxying - documentation

2007-05-16 Thread Adrian Chadd
I've begun assembling all the notes I've got lying about for the TPROXY stuff. http://wiki.squid-cache.org/ConfigExamples/FullyTransparentWIthTPROXY (note the typo. I was in a rush.) Now, this is just a bunch of assembled notes from some emails to/from Steven Wilton and someone testing TPROXY.

Re: squid3_logdaemon work (round 1) complete, again!

2007-05-18 Thread Adrian Chadd
On Fri, May 18, 2007, Adrian Chadd wrote: I've mostly copied over the older buffering thats in squid-2.6 and squid-3 logfile.c(c). Please review and provide feedback. I'm not going to try and improve the logfile writing in LogFileBlocking; I just want it to mimic what the current codebase

squid-3 and FreeBSD ipfw interception

2007-05-19 Thread Adrian Chadd
Someone stripped out the default method of transparent interception which I think was to trust getsockname(). IPFW will substitute the original endpoint for getsockname(), so it works fine. I've re-added the code and added --enable-ipfw-transparent as a build option.

Re: squid3_logdaemon work (round 1) complete, again!

2007-05-19 Thread Adrian Chadd
On Sat, May 19, 2007, Guido Serassio wrote: Just run a build test on Windows, and is seems to build fine. Please verify if my change for the build error when using --enable-icmp is fine. Thanks for that! It looks fine. Adrian

/dev/poll support for squid-2

2007-05-20 Thread Adrian Chadd
I've written some initial /dev/poll support for squid-2: http://www.creative.net.au/diffs/2007-05-20-squid2-devpoll.diff The notable change to the rest of the codebase is exposing commOpen() and commClose() functions. commOpen() to initialise the per-fd state, the commClose() to be a bit more

Re: /dev/poll support for squid-2

2007-05-21 Thread Adrian Chadd
On Mon, May 21, 2007, Henrik Nordstrom wrote: What's left to make it a full /dev/poll support? Just testing, or is something missing? Testing. Well, the stuff I first committed was an attempt to be friendly and bunch up event updates a-la kqueue - but delete entries when the FD closes so we

Re: squid3_logdaemon work (round 1) complete, again!

2007-05-21 Thread Adrian Chadd
On Mon, May 21, 2007, Alex Rousskov wrote: You have not mentioned any bugs that this change fixes. From the discussion on this list, it looks like the change is far from trivial and is more complex than you originally thought. UDP logging, the primary factor for doing this changes (as far as

Re: /dev/poll support for squid-2

2007-05-22 Thread Adrian Chadd
On Tue, May 22, 2007, Michael Pye wrote: Adrian Chadd wrote: On Mon, May 21, 2007, Henrik Nordstrom wrote: What's left to make it a full /dev/poll support? Just testing, or is something missing? Testing. I will test this on a ~200 request per second solaris 10 box in the next day or two

Re: cvs commit: squid/lib rfc1738.c

2007-05-23 Thread Adrian Chadd
On Wed, May 23, 2007, Henrik Nordstrom wrote: hno 2007/05/23 16:00:02 MDT Modified files: lib rfc1738.c Log: MFC: URI-escape using the recommended upper case Ta for doing this; the only reason I didn't touch it when I saw the discrepancy between the

squid-3 profiling

2007-05-24 Thread Adrian Chadd
Doing my usual run of squid checking: 471 0.9703 squidxxfree 486 1.0012 squidHttpHeader::clean() 795 1.6377 squidACLChecklist::fastCheck() 1250 2.5750 squidxmalloc 1392 2.8676

Re: squid-3 profiling

2007-05-24 Thread Adrian Chadd
.. hm, the global info: CPU: P4 / Xeon, speed

Re: SqString

2007-05-24 Thread Adrian Chadd
On Thu, May 24, 2007, Alex Rousskov wrote: I still think SqString API changes should not be in 3.0, but I do not have a strong opinion and do not want to be the one backing them out. We could adopt a middle-ground solution. The changes limited to renaming String methods to match std::string

Re: squid-3 profiling

2007-05-24 Thread Adrian Chadd
On Thu, May 24, 2007, Adrian Chadd wrote: .. hm, the global info: .. and just now, after fixing some local connectivity issues at home which prevented the hammering actually .. hammering. I've also removed the kernel profiling time just so the user space percentages are very visible. CPU: P4

Re: Creating a Custom Authenticator

2007-05-24 Thread Adrian Chadd
On Wed, May 23, 2007, Mahesh Govindappa wrote: i wrote a simple program just for checking purpose. #include stdio.h #include string.h int main() { char buf[8192]; fgets(buf, 256, stdin); FILE *fp; fp=fopen(/etc/test.txt, w); fprintf(fp,%s, buf); fclose(fp); printf(OK\n); }

Re: SqString

2007-05-25 Thread Adrian Chadd
Is there any reason for: -if (stringHasWhitespace(host)) { +if (strpbrk(host, w_space) != NULL) { Can't you fix stringHasWhitespace, which is more explicit? Adrian

Re: Creating a Custom Authenticator

2007-05-27 Thread Adrian Chadd
On Sun, May 27, 2007, Mahesh Govindappa wrote: hi Adrian Chadd Thanks for your reply when i execute file from terminal ./first its working perfect when i am executing from the Squid its writing nothing into a txt file i am attaching squid.conf file for your reference. waiting for your

squid-3 + SqString

2007-05-28 Thread Adrian Chadd
Hi guys, Could we please make a decision about SqString? I'm leaning towards backing it out for now, releasing Squid-3, and then doing a phased introduction post squid-3 - starting with just accessor method changes.. Adrian

Re: squid-3 + SqString

2007-05-28 Thread Adrian Chadd
On Tue, May 29, 2007, Amos Jeffries wrote: I was waiting on Alex (or anyones) response to my last email, before going either way. well, count this as a reply to your last email. :) partial backout: proposal (no responses) full backout: 3 for, 2 wavering with doubts, 1 abstention.

Re: Introduction

2007-05-30 Thread Adrian Chadd
On Wed, May 30, 2007, Mark Nottingham wrote: Hi, I've been bugging Henrik and Adrian enough that it'd be useful to be on this list. I'm interested in helping with documentation, asking stupid questions and filing bugs. I believe you're now subscribed. Welcome! Adrian

Re: logfile helper

2007-06-02 Thread Adrian Chadd
On Sat, Jun 02, 2007, Henrik Nordstrom wrote: fre 2007-06-01 klockan 22:29 +0100 skrev Robin Bowes: I need something like this for squid-2.6.STABLE2 (built from the FC6 SRPM) Has anyone applied this to squid-2.6? Are there any other log-to-pipe solutions ? There is the Using an

Re: logfile helper

2007-06-02 Thread Adrian Chadd
On Sat, Jun 02, 2007, Robin Bowes wrote: Adrian, I'm happy to attempt to port the Logfile IO stuff to 2.6 if I can get some sort of overview of how it works. Do you have any docs describing how your logfile stuff works? Its pretty simple. the s26_logfile_daemon code abstracts out the logfile

Re: logfile helper

2007-06-02 Thread Adrian Chadd
On Sat, Jun 02, 2007, Robin Bowes wrote: It should be straightforward if you look at logfile.c and the logfile struct layout. Its slightly different from how the codebase worked before (where flush seemed to be the end of line and sync call) so don't try to look at the current squid-2 or

Re: Status of squid3-ipv6

2007-06-15 Thread Adrian Chadd
On Fri, Jun 15, 2007, Amos Jeffries wrote: I have had my build here running for several days now with no branch-specific bugs. Just a few from 3.0-HEAD and some of those are fixed by patches now included in the branch. As such, I am moving the branch status from Alpha-testing to Beta

transparent https interception

2007-06-19 Thread Adrian Chadd
Gah, I got another email about transparent https interception. I guess this means I'll just have to bloody write it. My main question is which ACL types people would like to support. Initially it'd be easy to support source and destination IP, logging the transaction time and TX/RX bytes.

Re: transparent https interception

2007-06-19 Thread Adrian Chadd
On Tue, Jun 19, 2007, Henrik Nordstrom wrote: tis 2007-06-19 klockan 17:37 +0800 skrev Adrian Chadd: Gah, I got another email about transparent https interception. Heh.. I guess this means I'll just have to bloody write it. My main question is which ACL types people would like

/dev/poll support is in squid-2.6

2007-06-22 Thread Adrian Chadd
I've just merged in the Solaris/irix support into squid-2.6. I'm running a quick polygraph test on an old sun (E250) running Solaris 10 to see if there are any issues. Adrian

Re: /dev/poll support is in squid-2.6

2007-06-24 Thread Adrian Chadd
On Sun, Jun 24, 2007, Henrik Nordstrom wrote: fre 2007-06-22 klockan 20:47 +0800 skrev Adrian Chadd: I've just merged in the Solaris/irix support into squid-2.6. You only merged part of it to 2.6.. merged the rest yesterday.. http://www.squid-cache.org/Versions/v2/2.6/changesets/11487

Re: COSS in Squid-3.0

2007-06-25 Thread Adrian Chadd
On Mon, Jun 25, 2007, Henrik Nordstrom wrote: Since COSS in Squid-3 is quite behind and in serious need of updates I propose dropping COSS from 3.0.STABLE, keeping it in Squid-3. I'm quite happy to drop COSS support in Squid-3 stable; the disk code needs a serious tidying up 3.0.STABLE.

Re: /dev/poll support is in squid-2.6

2007-07-02 Thread Adrian Chadd
On Sat, Jun 30, 2007, Serassio Guido wrote: If you like, I can give to you the full access to my machine, this is a test only old O2 box. Its mostly a question of free time, which I don't predictably have. It takes me about 5 minutes to fire up the Octane I have here; so when I find a spare

Re: Squid and SIGPIPE

2007-07-05 Thread Adrian Chadd
On Thu, Jul 05, 2007, Amos Jeffries wrote: I have been overlooking these for a while on the assumption that it was gdb catching something when it should have left it. I have just started wondering if this was in fact bad unexpected behaviour for the squid signals. Should I be looking into

Re: Squid and SIGPIPE

2007-07-08 Thread Adrian Chadd
On Sun, Jul 08, 2007, Amos Jeffries wrote: Adrian Chadd wrote: On Thu, Jul 05, 2007, Amos Jeffries wrote: I have been overlooking these for a while on the assumption that it was gdb catching something when it should have left it. I have just started wondering if this was in fact bad

Re: about cf.data.pre and squid compiling

2007-07-08 Thread Adrian Chadd
On Sun, Jul 08, 2007, Arthur Tumanyan wrote: Then I just do ./configure --enable-shaga ;make;make install.After installation I found in squid.conf the following lines : # TAG: enable_shaga_engine on|off # Note: This option is only available if Squid is rebuilt with the #

exposing ACL denies in cache.log?

2007-07-12 Thread Adrian Chadd
Is there something nice in the logfile format for exposing the custom error page in access.log. I'd like to expose the custom errors chosen through the use of external_acl's so reporting scripts can extract info out of them later. Any ideas? Adrian

Re: exposing ACL denies in cache.log?

2007-07-13 Thread Adrian Chadd
On Fri, Jul 13, 2007, Henrik Nordstrom wrote: No, but it's something I'd like to see.. and also the full ERR_... names on errors. That, and identifying auth denied and authentication processes, rather than just TCP_DENIED across the board. Maybe I'll do it when a client asks.. Adrian

Re: dnsserver

2007-07-18 Thread Adrian Chadd
On Thu, Jul 19, 2007, Amos Jeffries wrote: Hmm, just handling these dnsserver typos I had. Can anyone give one good reason for the dnsserver external DNS helper now that squid has non-blocking event-driven internal DNS? Support different name lookup methods which are supported via the

Re: cvs commit: squid3/src EventLoop.cc

2007-07-24 Thread Adrian Chadd
On Tue, Jul 24, 2007, Henrik Nordstrom wrote: It's a bug. For 3.0.STABLE1 lets patch over the bug by never stopping the event loop for an significant amount of time, but should be fixed. We can and should fix all that, but hopefully we can leave with 10msec default for now. A

<    1   2   3   4   5   6   7   8   9   >