On Wed, 21 May 2008, Hanno Hecker wrote:

On Tue, 20 May 2008 17:18:50 -0400
Matt Sergeant <[EMAIL PROTECTED]> wrote:

On 20-May-08, at 12:33 PM, Nighthawk wrote:

Hi,
I am trying to write plugin that does DB lookup and want to use the
same db connection in more than 1 plugins.
Somwhere I read that we can save DB connection in qp->config(). But
it is not working in my case.

Store it in $qp->connection->notes() in the same way you've done -
>config.
Two small notes:
- if you use the tls plugin, all connection notes are lost after the
 TLS setup is complete

Why? Isn't that a bug in the tls plugin? When TLS is negotiated, the transaction notes should be cleared (then TLS status added), but the connection notes should still be valid - it's the same connection still.

Reply via email to