-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Labels
Description
Version
5.0.7
Context
In io.vertx.pgclient.spi.PgDriver, the createConnectionFactory method implementation ignores the transportOptions argument. This means any NetClientOptions passed during pool creation or factory initialization are not applied to the underlying PgConnectionFactory.
Code Snippet
@Override
public ConnectionFactory<PgConnectOptions> createConnectionFactory(Vertx vertx, NetClientOptions transportOptions) {
// transportOptions is ignored here!
return new PgConnectionFactory((VertxInternal) vertx);
}Steps to reproduce
- Create a
PgPoolwith specificNetClientOptions(e.g., socks5 proxy). - The
PgDriverwill instantiatePgConnectionFactoryusing only theVertxinstance. - The custom
NetClientOptionsare discarded.
Do you have a reproducer?
No response
Reactions are currently unavailable