Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74209 invoked from network); 28 Nov 2011 21:45:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2011 21:45:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:46530] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/34-50663-6E004DE4 for ; Mon, 28 Nov 2011 16:45:12 -0500 Received: by yenq5 with SMTP id q5so2049031yen.29 for ; Mon, 28 Nov 2011 13:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=LdP3JmSbokSX6gjQwIq8stSzyaX452duOO2WXBJVW/Q=; b=LvrnuqOKq8uHw2AuINS4IsoiL85z747GD5XCCPTVqmPkbOBxRmFaxfuPyV8sUmABok acRqQlE1RGuIQ05HLuIJjHpn1psQ5HMhALDaInTWxsKC1lONcxljFFMNudLfv7Fi6SVW dKsSW9Sa/3FIDFNPaeVIdEurmWFLq7ddP/6E0= Received: by 10.236.192.233 with SMTP id i69mr66966515yhn.60.1322516708258; Mon, 28 Nov 2011 13:45:08 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.100.127.18 with HTTP; Mon, 28 Nov 2011 13:44:27 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Nov 2011 06:44:27 +0900 X-Google-Sender-Auth: jUoOfTkiHofiI5-fX_5i0U-6NxM Message-ID: To: Karoly Negyesi Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] session.cache_limiter empty string? From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Karoly, 2011/10/12 Karoly Negyesi : > Setting session.cache_limiter to an empty string doesn't send headers. > Is this just an artefact of if (!strcasecmp(lim->name, > PS(cache_limiter))) not matching the empty string or does if > (PS(cache_limiter)[0] == '\0') return 0; deliberately stop it? > > Ie. what should I add to the documentation for people who don't want > PHP to send anything? If I remember correctly, old doc was referred as "none". Any invalid cache limiter name will be ignored, though. It may be good idea to raise notice error for invalid limiter name and introduce "none" limiter. Any comments? -- Yasuo Ohgaki yohgaki@ohgaki.net