From dev-return-68652-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Fri Jun 04 22:52:00 2010 Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 82702 invoked from network); 4 Jun 2010 22:51:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Jun 2010 22:51:59 -0000 Received: (qmail 12709 invoked by uid 500); 4 Jun 2010 22:51:58 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 12626 invoked by uid 500); 4 Jun 2010 22:51:58 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 12617 invoked by uid 99); 4 Jun 2010 22:51:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jun 2010 22:51:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of i.galic@brainsware.org designates 188.40.115.121 as permitted sender) Received: from [188.40.115.121] (HELO mail.brainsware.org) (188.40.115.121) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jun 2010 22:51:50 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.brainsware.org (Postfix) with ESMTP id A9A061DE2F1 for ; Fri, 4 Jun 2010 22:51:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at brainsware.org Received: from mail.brainsware.org ([127.0.0.1]) by localhost (mail.brainsware.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wivAN0G6Neq6 for ; Fri, 4 Jun 2010 22:51:26 +0000 (UTC) Received: from mail.brainsware.org (mail.brainsware.org [188.40.115.121]) by mail.brainsware.org (Postfix) with ESMTP id 829061DE2ED for ; Fri, 4 Jun 2010 22:51:26 +0000 (UTC) Date: Fri, 4 Jun 2010 22:51:26 +0000 (UTC) From: =?utf-8?Q?Igor_Gali=C4=87?= To: dev@httpd.apache.org Message-ID: <296964325.1085.1275691886434.JavaMail.root@iris> In-Reply-To: Subject: Re: C as config MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.72.132.1] X-Mailer: Zimbra 6.0.5_GA_2213.DEBIAN5_64 (ZimbraWebClient - FF3.0 ([unknown])/6.0.5_GA_2213.DEBIAN5_64) X-Virus-Checked: Checked by ClamAV on apache.org > All of you folks who have to answer user questions, go ahead and ready > your > hate mail :) This is not a hate-mail (: > I've been playing some with Varnish (long story) and lots of people > seem to > like it. The config "language" (VCL) is just a thin wrapper on top of > C. > Heck, you can just write C inline. I know and love varnish. And sadly, the only reason I don't use it right no= w, is because it's oblivious of SSL. > So, we thought about "wouldn't it just be cool if Apache had VCL."=20 > Then I > thought, I already know C, why do I need to learn a meta-language that > just > writes C??? "Won't someone think of the users!" I could here all of > the > #httpd folks saying. >=20 > Not a terribly interesting read, but we are seriously considering just > using > straight C with some helper functions and macros as the "config" for > one of > our projects. >=20 > And, for the record I was wrong in the past - yes, async is the > answer... I've been a longtime critic, though I haven't taken it to the list, of the httpd Configuration Language. For other reasons than performance though -- mostly sane defaults, but that's an entirely different topic. BUT: I did my share of support on nginx - even though I don't know it well enough and nginx, like varnish, uses a C-like syntax for the configs. I for one, would welcome such a possibility. --=20 Igor Gali=C4=87 Tel: +43 (0) 699 122 96 338 Fax: +43(0) 1 91 333 41 Mail: i.galic@brainsware.org URL: http://brainsware.org/