Return-Path: X-Original-To: apmail-trafficserver-dev-archive@www.apache.org Delivered-To: apmail-trafficserver-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 994FE10C88 for ; Tue, 31 Dec 2013 00:22:39 +0000 (UTC) Received: (qmail 47072 invoked by uid 500); 31 Dec 2013 00:22:39 -0000 Delivered-To: apmail-trafficserver-dev-archive@trafficserver.apache.org Received: (qmail 46777 invoked by uid 500); 31 Dec 2013 00:22:38 -0000 Mailing-List: contact dev-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@trafficserver.apache.org Delivered-To: mailing list dev@trafficserver.apache.org Received: (qmail 46769 invoked by uid 99); 31 Dec 2013 00:22:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Dec 2013 00:22:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [71.6.165.248] (HELO kramer.ogre.com) (71.6.165.248) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Dec 2013 00:22:32 +0000 Received: from [10.156.71.207] (mobile-166-137-184-038.mycingular.net [166.137.184.38]) (authenticated bits=0) by kramer.ogre.com (8.14.5/8.14.5) with ESMTP id rBV0M8uv005857 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 30 Dec 2013 16:22:10 -0800 References: <6869FCD8-7221-4A67-887D-EA4DBECB999C@toolazydogs.com> <198B66E6-97A5-472B-8DFD-75D71325BF68@apache.org> <525D86F5-D619-4A2A-8915-AE8464649FCF@apache.org> Mime-Version: 1.0 (1.0) In-Reply-To: <525D86F5-D619-4A2A-8915-AE8464649FCF@apache.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: "dev@trafficserver.apache.org" X-Mailer: iPhone Mail (11B554a) From: Leif Hedstrom Subject: Re: TSPluginInit() only being called once Date: Mon, 30 Dec 2013 17:22:05 -0700 To: "dev@trafficserver.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org On Dec 30, 2013, at 2:01 AM, Nick Kew wrote: >=20 >=20 >> On 29 Dec 2013, at 16:56, Leif Hedstrom wrote: >>=20 >>> On Dec 29, 2013, at 7:37 AM, Alan D. Cabrera wrote= : >>>=20 >>> Can I count on TSPluginInit() being called only once in the lifetime of a= plugin? >>=20 >>=20 >> Currently, yes. >>=20 >> There has been a number of discussions on the topic of making it possible= to reload plugins on a "live" system. >=20 > Isn't that a separate issue? A plugin can register an alternative-init > function that works as a reload-init with TSMgmtUpdateRegister, > just subject to TS-2036. Sort of, but it doesn't reload the plugin code itself. A lot if people want t= o be able to reload an updated .so on a live system. The reason I brought th= is up is because a future version if ATS that supports this presumably need t= o call the init function again. So semantics might change :). Cheers -- Leif=20 >=20 > --=20 > Nick Kew