Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 107248
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: MITHALDU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: please document bug about slow first connect call on windows
The source here is this: http://rt.openssl.org/Ticket/Display.html?id=2100#txn-48262 Due to that issue, on Windows, with ssl enabled, the first connect call will take an amount of time that is proportional to the heap size/complexity of the perl program, reaching 30 seconds and more in bad cases. Workarounds for this are: - Do your connect call as early as possible, before any other Perl code is loaded. - Disable SSL via set PGSSLMODE=disable in the shell (doesn't work in Perl itself), or ;sslmode=disable in the DSN.
On 2015-09-22 13:09:10, MITHALDU wrote: Show quoted text
Is there a public, non-login URL?
This OpenSSL problem under Windows, to avoid this, you need to connect earlier as possible, when your process has most smallest size. On Tue Sep 22 16:03:51 2015, MITHALDU wrote: Show quoted text
> Oh wow, google's url has a login embedded: > > http://rt.openssl.org/Ticket/Display.html?id=2100&user=guest&pass=guest#txn- > 48262
Subject: Please document bug about slow first connect call on windows
Closing - looks as though this was fixed upstream some time ago.